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
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|Status=Infra
|Status=Infra
|Hostname=dafang.dhcp.nurd.space
|Hostname=dafang.dhcp.nurd.space
|Location=Keuken
|Location=With the rest of the printers
|Picture=dafang_keuken.jpg
|Picture=dafang_keuken.jpg
|Tool=No
|Tool=No
Line 20: Line 20:
* 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 33: Line 34:


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

Revision as of 00:34, 23 February 2020

Dafang
Dafang keuken.jpg
Owner Space
Status Infra
Hostname dafang.dhcp.nurd.space
Location With the rest of the printers
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. With the rest of the printers

We have submitted to the Chinese overlords and now have our own small piece of Chinese Surveillance in Nurdspace!

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 ismart123).


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