Fix formatting & images in integrations
@@ -37,7 +37,9 @@ After install, you can use this [android application](https://play.google.com/ap
|
|||||||
|
|
||||||
## Integration in Home Automation Systems:
|
## Integration in Home Automation Systems:
|
||||||
[Domoticz](/integration/domoticz/domoticz.md)
|
[Domoticz](/integration/domoticz/domoticz.md)
|
||||||
|
|
||||||
[Home Assistant](/integration/homeassistant/homeassistant.md)
|
[Home Assistant](/integration/homeassistant/homeassistant.md)
|
||||||
|
|
||||||
[Zoneminder](/integration/zoneminder/zoneminder.md)
|
[Zoneminder](/integration/zoneminder/zoneminder.md)
|
||||||
|
|
||||||
## Contributions:
|
## Contributions:
|
||||||
|
@@ -5,8 +5,11 @@ Set a off delay at 1 sec
|
|||||||
And as http:// script:
|
And as http:// script:
|
||||||
|
|
||||||
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_right
|
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_right
|
||||||
|
|
||||||
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_left
|
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_left
|
||||||
|
|
||||||
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_top
|
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_top
|
||||||
|
|
||||||
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_bottom
|
http://[ip_of_camera]/cgi-bin/action.cgi?cmd=motor_bottom
|
||||||
|
|
||||||
For more information please see the [original source](https://gadget-freakz.com/2018/03/xiaomi-1080p-xiaofang-camera-review/).
|
For more information please see the [original source](https://gadget-freakz.com/2018/03/xiaomi-1080p-xiaofang-camera-review/).
|
||||||
|
BIN
integration/zoneminder/Screenshot 2018-04-30 11.50.15.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 11.52.42.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 11.58.31.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 11.59.42.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 12.00.13.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 12.00.44.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
integration/zoneminder/Screenshot 2018-04-30 12.02.19.png
Normal file
After Width: | Height: | Size: 46 KiB |
@@ -6,55 +6,75 @@ Click "Add a Monitor"
|
|||||||
### General Tab
|
### General Tab
|
||||||
|
|
||||||
Name your camera
|
Name your camera
|
||||||
|
|
||||||
Select Source Type of "FFmpeg"
|
Select Source Type of "FFmpeg"
|
||||||
|
|
||||||
Function (this depends on you, I picked modect)
|
Function (this depends on you, I picked modect)
|
||||||
|
|
||||||
Left all other settings as-is on this tab
|
Left all other settings as-is on this tab
|
||||||

|

|
||||||
|
|
||||||
### Source Tab
|
### Source Tab
|
||||||
|
|
||||||
Source Path: rtsp://XX.XX.XX.XX:8554/unicast (Where XX.XX.XX.XX is the IP of your camera)
|
Source Path: rtsp://XX.XX.XX.XX:8554/unicast (Where XX.XX.XX.XX is the IP of your camera)
|
||||||
|
|
||||||
Remote Method: UDP (This was the first I tired and it worked, not saying it's the only way.
|
Remote Method: UDP (This was the first I tired and it worked, not saying it's the only way.
|
||||||
|
|
||||||
Target colorspace: 32 bit colour
|
Target colorspace: 32 bit colour
|
||||||
|
|
||||||
Capture Width: 1920
|
Capture Width: 1920
|
||||||
|
|
||||||
Capture Height: 1080
|
Capture Height: 1080
|
||||||
The rest as-is 
|
|
||||||
|
The rest as-is 
|
||||||
BEFORE you can configure the Control tab
|
BEFORE you can configure the Control tab
|
||||||
|
|
||||||
If you don't see this make sure you enabled OPT_CONTROL in the ZM options
|
If you don't see this make sure you enabled OPT_CONTROL in the ZM options.
|
||||||
Copy the gist into a file named Xiaomi.pm in /usr/share/perl5/ZoneMinder/Control/ (May be different for your distro, make sure it has the same permissions as the other controls)
|
Copy the gist into a file named Xiaomi.pm in /usr/share/perl5/ZoneMinder/Control/ (May be different for your distro, make sure it has the same permissions as the other controls)
|
||||||
|
|
||||||
Navigate to the control tab for your camera
|
Navigate to the control tab for your camera
|
||||||
|
|
||||||
Click on the "Edit" next to "Control Type"
|
Click on the "Edit" next to "Control Type"
|
||||||
|
|
||||||
Click "Add New Control" at the bottom of the popup
|
Click "Add New Control" at the bottom of the popup
|
||||||
|
|
||||||
Name: "Xiaomi Dafang"
|
Name: "Xiaomi Dafang"
|
||||||
|
|
||||||
Type: "Fffmpeg"
|
Type: "Fffmpeg"
|
||||||
|
|
||||||
Protocol: "Xiaomi" (it has to match the .pm file from above)
|
Protocol: "Xiaomi" (it has to match the .pm file from above)
|
||||||
|
|
||||||
Can Reset: Yes
|
Can Reset: Yes
|
||||||
Pic: 
|
|
||||||
|

|
||||||
|
|
||||||
### Move Tab
|
### Move Tab
|
||||||
|
|
||||||
Can move: yes
|
Can move: yes
|
||||||
|
|
||||||
Can move relative: yes
|
Can move relative: yes
|
||||||
|
|
||||||
Pic: 
|

|
||||||
|
|
||||||
### Pan Tab
|
### Pan Tab
|
||||||
|
|
||||||
Can pan: yes
|
Can pan: yes
|
||||||

|

|
||||||
|
|
||||||
### Tilt Tab
|
### Tilt Tab
|
||||||
|
|
||||||
Can tilt: yes
|
Can tilt: yes
|
||||||

|

|
||||||
|
|
||||||
That's it, now save your new control type and head back to the control tab
|
That's it, now save your new control type and head back to the control tab
|
||||||
|
|
||||||
### Control Tab
|
### Control Tab
|
||||||
|
|
||||||
Select "Controllable"
|
Select "Controllable"
|
||||||
|
|
||||||
Control Type "Xiaomi Dafang"
|
Control Type "Xiaomi Dafang"
|
||||||
|
|
||||||
Control Device: leave this empty
|
Control Device: leave this empty
|
||||||
|
|
||||||
Control Address: root:ismart12@XX.XX.XX.XX (Where XX.XX.XX.XX is the IP of your camera)
|
Control Address: root:ismart12@XX.XX.XX.XX (Where XX.XX.XX.XX is the IP of your camera)
|
||||||

|

|
||||||
|