Xiaomi Dafang camera

Moderator: leecollings

Post Reply
kattenbeld
Posts: 1
Joined: Saturday 01 September 2018 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Xiaomi Dafang camera

Post by kattenbeld »

Hello everybody,

today i received the Xiaomi Dafang camera and succesfully applied the hack,
The only problem i have now is that i cant use the camera in Domoticz.

I can add the camera with /cgi-bin/currentpic.cgi as imgURL and when i click the test connection button i can see the picture.
But then after i add the camera i have no picture in domoticz.

i tried the solution provided in this topic but that did not solve the problem for me:
viewtopic.php?f=35&t=23909&p=185375&hil ... ng#p185375

Can someone help me with this?

Thanks in advance
lazara007
Posts: 14
Joined: Monday 30 March 2015 14:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Dafang camera

Post by lazara007 »

Hello,

I have the same problem, test picture is OK, but the live is not.

But, I tried HTTPS, port 443, root/ismart12, using /cgi-bin/currentpic.cgi. Test picture is not ok, but the now i can see the picture in the camreas section. Strange but works.
zoraya
Posts: 1
Joined: Monday 18 April 2016 18:44
Target OS: Linux
Domoticz version:
Contact:

Re: Xiaomi Dafang camera

Post by zoraya »

Hi all!

I have the same problem, test picture is OK, but the live is not.

Regards,
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: Xiaomi Dafang camera

Post by Eddiever »

I have the camera working with these settings:
dafang.PNG
dafang.PNG (43.19 KiB) Viewed 5157 times
password is ismart12

Preview is not working but that's not an issue for me.
User avatar
amplituda
Posts: 24
Joined: Thursday 23 August 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Finland
Contact:

Re: Xiaomi Dafang camera

Post by amplituda »

Hello everyone, did you manage to make the camera rotate? This instruction does not work for me

https://github.com/EliasKotlyar/Xiaomi- ... omoticz.md
gropi
Posts: 13
Joined: Thursday 26 April 2018 20:03
Target OS: Linux
Domoticz version: 4.11786
Location: Germany
Contact:

Re: Xiaomi Dafang camera

Post by gropi »

I could not manage the rotation neither. (few weeks back).
Domoticz Version: 2023.1
Platform: Openmediavault 6; Docker; HP Microserver Gen8
Plugin/Hardware: MySensors Gateway; Philips HUE Bridge; OMG; ZigBee;
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Xiaomi Dafang camera

Post by niki_lauda »

amplituda wrote: Sunday 09 September 2018 7:40 Hello everyone, did you manage to make the camera rotate? This instruction does not work for me

https://github.com/EliasKotlyar/Xiaomi- ... omoticz.md
Try adding http://root:[email protected]/cgi-bin/action.cgi?cmd=motor_right
User avatar
amplituda
Posts: 24
Joined: Thursday 23 August 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Finland
Contact:

Re: Xiaomi Dafang camera

Post by amplituda »

niki_lauda wrote: Sunday 09 September 2018 10:02 Try adding http://root:[email protected]/cgi-bin/action.cgi?cmd=motor_right

httpS://root:[email protected]/cgi-bin/action.cgi?cmd=motor_right
Many thanks - now works!)
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Xiaomi Dafang camera

Post by Derik »

Does anyone now what type of xiaomi camera's are working...?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
amplituda
Posts: 24
Joined: Thursday 23 August 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Finland
Contact:

Re: Xiaomi Dafang camera

Post by amplituda »

Derik wrote: Sunday 09 September 2018 12:12 Does anyone now what type of xiaomi camera's are working...?
If I understand you correctly, then the list of supported Xiaomi cameras can be viewed here https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Xiaomi Dafang camera

Post by Derik »

amplituda wrote: Monday 10 September 2018 7:20
Derik wrote: Sunday 09 September 2018 12:12 Does anyone now what type of xiaomi camera's are working...?
If I understand you correctly, then the list of supported Xiaomi cameras can be viewed here https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks

Thanks...
Perhaps know or the rotating camera's works fine?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
amplituda
Posts: 24
Joined: Thursday 23 August 2018 14:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Finland
Contact:

Re: Xiaomi Dafang camera

Post by amplituda »

Derik wrote: Monday 10 September 2018 20:26 Thanks...
Perhaps know or the rotating camera's works fine?
I have a Dafang camera, this camera can be rotated through Domoticz, BUT it's not convenient. It is possible, but not convenient.
niki_lauda
Posts: 115
Joined: Saturday 31 August 2013 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Eindhoven (NL)
Contact:

Re: Xiaomi Dafang camera

Post by niki_lauda »

amplituda wrote: Monday 10 September 2018 22:17
Derik wrote: Monday 10 September 2018 20:26 Thanks...
Perhaps know or the rotating camera's works fine?
I have a Dafang camera, this camera can be rotated through Domoticz, BUT it's not convenient. It is possible, but not convenient.
Rotating works . I am trying to make a script that moves the camera to certain positions bij flipping a switch.
suzaanroshan
Posts: 1
Joined: Tuesday 25 September 2018 15:34
Target OS: OS X
Domoticz version:
Contact:

Re: Xiaomi Dafang camera

Post by suzaanroshan »

I have this camera
It is great
Very practical and portable
:D ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest