Dafang: Difference between revisions

From NURDspace
(Created page with "{{Inventory |Name=Dafang |Owner=Space |Status=Infra |Hostname=dafang.dhcp.nurd.space |Location=Keuken |Picture=dafang_keuken.jpg |Tool=No }} We have submitted to the Chinese o...")
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|Status=Infra
|Status=Infra
|Hostname=dafang.dhcp.nurd.space
|Hostname=dafang.dhcp.nurd.space
|Location=Keuken
|Location=Kitchenceiling
|Picture=dafang_keuken.jpg
|Picture=dafang_keuken.jpg
|Tool=No
|Tool=No
}}
}}
We have submitted to the Chinese overlords and now have our own small piece of Chinese Surveillance in Nurdspace!
 
<s>We have submitted to the Chinese overlords and now have our own small piece of Chinese Surveillance in Nurdspace!</s>
The camera has been replaced with a '''HiLook PTZ-N2404I-DE3'''
 
 
[[File:dafang-boe.jpg|400px]]


== What? ==
== What? ==
Line 20: Line 25:
* Microphone
* Microphone
* Loudspeaker
* Loudspeaker
* Night mode


However, we are running a custom firmware made by [https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks EliasKotlyar]
However, we are running a custom firmware made by [https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks EliasKotlyar]


Which now gives it support for MQTT, HomeAsssistant, and a few other things.
Which now gives it support for MQTT, HomeAsssistant, and lots of other things.




Line 29: Line 35:


The webinterface is accessible through [https://dafang.dhcp.nurd.space/ here] the login is root, there is no password.
The webinterface is accessible through [https://dafang.dhcp.nurd.space/ here] the login is root, there is no password.
You can access it's settings there, and also control the PTZ. SSH is available as well (Root password is ismart123).  
You can access it's settings there, and also control the PTZ. SSH is available as well (Root password is the usual).  




You can also access the Dafang using RTSP, this will give you a H264 and also includes audio. The url for this is <blockquote>rtsp://dafang.dhcp.nurd.space:8554/unicast</blockquote>
You can also access the Dafang using RTSP, this will give you a H264 and also includes audio. The url for this is <blockquote>rtsp://dafang.dhcp.nurd.space:8554/unicast</blockquote>
=== changes ===
The following things have been done to improve the Dafang:
* USB network card (Disables build-in wifi)
* uboot boot loader
* uEnv.txt, 1080p mod
* Optware installed (https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/issues/542)
* PTZ Calibration on boot (/system/sdcard/config/autostart/calibrate.shx)
* Sound server (https://github.com/Melanpan/Dafang-AudioServer)
* Proper mounting position
SD layout 4GB card:
part1: fat32, 1GB
part2: ext4, 3GB
== TODO ==
* Add a picture of it's new location
* Completely remove login from the website
* Make it do doorbell sounds

Latest revision as of 15:22, 17 June 2023

Dafang
Dafang keuken.jpg
Owner Space
Status Infra
Hostname dafang.dhcp.nurd.space
Location Kitchenceiling
Tool No
Tool category

Dafang

dafang_keuken.jpg {{{InventoryOwner}}}Property "Tool Owner" (as page type) with input value "{{{InventoryOwner}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Kitchenceiling

We have submitted to the Chinese overlords and now have our own small piece of Chinese Surveillance in Nurdspace! The camera has been replaced with a HiLook PTZ-N2404I-DE3


Dafang-boe.jpg

What?

The Xiaomi Dafang is a Linux based PTZ Camera with a few nice features and is being sold for about $30 from China.

A few of it's features are:

  • PTZ
  • 1080P
  • SD card
  • USB Port
  • Microphone
  • Loudspeaker
  • Night mode

However, we are running a custom firmware made by EliasKotlyar

Which now gives it support for MQTT, HomeAsssistant, and lots of other things.


Usage

The webinterface is accessible through here the login is root, there is no password. You can access it's settings there, and also control the PTZ. SSH is available as well (Root password is the usual).


You can also access the Dafang using RTSP, this will give you a H264 and also includes audio. The url for this is

rtsp://dafang.dhcp.nurd.space:8554/unicast

changes

The following things have been done to improve the Dafang:

SD layout 4GB card:

	part1: fat32, 1GB
	part2: ext4, 3GB

TODO

  • Add a picture of it's new location
  • Completely remove login from the website
  • Make it do doorbell sounds