Page 1 of 1
XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 23 May 2018 21:57
by remko2000
I`ve this camera and I tried to apply the Fang Hack for integration in Domoticz. I downgrade my camerafirmware to 660 and after that I tried to run the hack from my sdcard (
https://www.domoticz.com/wiki/Xiaomi_Camera). All I get back is this page when go to this page:
http://IP-CAMERA/cgi-bin/hello.cgi
I get back in my browser CGI output:
snx_autorun.sh
bootstrap
time_lapse
record
log_286C077B2825_s.txt
System Volume Information
log_34CE00DB6B5D_s.txt
What does this mean?
Do I've to format the SDcard in a special format? (now: mac journaled format)
How do I solve this?
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 23 May 2018 22:49
by gijsje
You need to got to IPCAM/cgi-bin/status
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 24 May 2018 8:31
by remko2000
When I go to IPCAM/cgi-bin/status I get a 404error in my browser.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 24 May 2018 19:47
by Geitje
Have you flashed the whole image, not just copied the files? If you flash the whole image, the SDcard format does not matter, as the image overwrites the whole card and creates a new format.
I do not know what software can be used for this on Mac, maybe Apple-Pi baker? On Windows I use Win32DiskImager.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 24 May 2018 20:07
by remko2000
I've used etcher and also applepi maker. Same results.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 24 May 2018 21:17
by Geitje
OK.
For me the installation did not go well everytime either. Maybe you should retry all steps?
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 24 May 2018 22:20
by remko2000
I tried several times. Some wiki’s says that I have to upgrade and not to downgrade before running the hack. Who can help me? Now I run firmware 3.0.3.56
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Friday 25 May 2018 10:39
by remko2000
I am finally out. When I put the fanghackfile on my sd card via a command in the terminal (mac),
http://192.168.0.13/cgi-bin/status does work. I first downgraded to version v3.0.3.56 and then put the fanghack.img via the commands on my SD:
Code: Select all
sudo dd if=/Users/remko/Downloads/fanghacks_v0.2.0.img of=/dev/rdisk2 bs=1m
Another problem, however, is that I do not have a picture in Domoticz. Do I have to do some addiotionale setting in
http://192.168.0.13/cgi-bin/status?
Or in domoticz besides to ad a camera with the right IP on port 80? Do I have to do something with portforwarding?
If I open a RTSP stream in VLC with link rtsp://camIP:554/unicast I see the videastream of my Xiaomicam so I think it is a problem in Domoticz?
I will create a new topic for this problem.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Sunday 25 November 2018 21:28
by Geitje
I can easily answer that (no new topic necessary). Domoticz does not RTSP streams. You can only use jpg-streams. The Xiaofang hack does not support JPG-streams unfortunately. But there is a French guy who made an edited version of the hack with a JPG stream as output. See:
http://domo-attitude.fr/camera-xiaomi-x ... cz-jeedom/. It works, I have used it in the past. Too bad for you you have to flash again... Remember domoticz does not support motion detection and the like. And on the Xiaofang cams you cannot run both a RTSP and a JPG stream at the same time.
remko2000 wrote: ↑Friday 25 May 2018 10:39
I
Another problem, however, is that I do not have a picture in Domoticz. Do I have to do some addiotionale setting in
http://192.168.0.13/cgi-bin/status?
Or in domoticz besides to ad a camera with the right IP on port 80? Do I have to do something with portforwarding?
If I open a RTSP stream in VLC with link rtsp://camIP:554/unicast I see the videastream of my Xiaomicam so I think it is a problem in Domoticz?
I will create a new topic for this problem.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Monday 21 January 2019 9:00
by tong007x
I've used etcher and also applepi maker. Same results.
หวย-ออนไลน์
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Monday 21 January 2019 10:37
by Geitje
Do you have the newest firmware? You should probably downgrade firmware of your Xiaofang, as the newest firmware does not support the flashing process. Please check Github the issue list for instructions how to downgrade and flash.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 21 August 2019 1:48
by Derik
Dear..
Hope some help here
I do have a old version xiaomi
working with:
https://github.com/samtap/fang-hacks
I have:

- ScreenShot094.jpg (51.74 KiB) Viewed 7382 times
And:

- ScreenShot095.jpg (71.87 KiB) Viewed 7382 times
Only when i do:

- ScreenShot096.jpg (38.08 KiB) Viewed 7382 times
I see no camera...
Is there perhaps someone that has the same problem?
And the ip is correct..
And when i set in vlc a stream to work i see the camera
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 21 August 2019 14:17
by Geitje
Domoticz does not support RTSPstream. The hack you use only has an RTSP output. Someone else made another version of the hack, which has a JPEG stream as output, that one works with Domoticz.
Check here:
http://domo-attitude.fr/camera-xiaomi-x ... cz-jeedom/ for the hack, flashing the cam works the same way.
Good luck!
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 28 August 2019 9:10
by Derik
Geitje wrote: ↑Wednesday 21 August 2019 14:17
Domoticz does not support RTSPstream. The hack you use only has an RTSP output. Someone else made another version of the hack, which has a JPEG stream as output, that one works with Domoticz.
Check here:
http://domo-attitude.fr/camera-xiaomi-x ... cz-jeedom/ for the hack, flashing the cam works the same way.
Good luck!
Thanks working!!!!
Ony this is working for the older cams..
Is there also a new image for the newer?
And perhaps do you know how to flip the flip the camera image?
xxx
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Wednesday 28 August 2019 9:53
by Prutsium
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 29 August 2019 19:21
by Derik
thanks
I have my 3 camera's working...
Is there perhaps a option to use the talkfuncions?
Or custom sounds?
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 29 August 2019 20:21
by Geitje
I think those functions only work in de Xiaomi cloud environment, not with custom firmware.
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Thursday 29 August 2019 20:30
by Derik
Geitje wrote: ↑Thursday 29 August 2019 20:21
I think those functions only work in de Xiaomi cloud environment, not with custom firmware.
When i go into the webui in to the new fanghacks i can play sirene and a dog etc..
Re: XIAOMI 1080p XIAOFANG-CAMERA
Posted: Sunday 26 December 2021 18:07
by therealman
Ciao! I have 2 xiaofang and flashed the last hack from gitub. From browser i see the video very well but no in domoticz. I try http and https protocol, with url:"cgi-bin/correntpic.cgi" but always black screen. What can I do? sorry from my english!