XIAOMI 1080p XIAOFANG-CAMERA

Post Reply
remko2000
Posts: 47
Joined: Thursday 28 December 2017 15:38
Target OS: Raspberry Pi
Domoticz version:
Location: Broek op Langedijk
Contact:

XIAOMI 1080p XIAOFANG-CAMERA

Post by remko2000 » Wednesday 23 May 2018 21:57

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?

User avatar
gijsje
Posts: 160
Joined: Saturday 19 August 2017 14:28
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: Berkel Enschot, NL
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by gijsje » Wednesday 23 May 2018 22:49

You need to got to IPCAM/cgi-bin/status
Synology DS218+ - RFXtrx433 - Aeotec Z-Stick Gen5 - Toon Thermostat - Neo CoolCam plug - Neo CoolCam PIR - FIBARO PIR - Heiman Smart Smoke Senso - Neo CoolCam Leakage Detector - BeNext Tag Reader - P1 and S0 USB - many Mi-Light lights - KAKU switches

remko2000
Posts: 47
Joined: Thursday 28 December 2017 15:38
Target OS: Raspberry Pi
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by remko2000 » Thursday 24 May 2018 8:31

When I go to IPCAM/cgi-bin/status I get a 404error in my browser.

Geitje
Posts: 7
Joined: Monday 22 January 2018 22:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by Geitje » Thursday 24 May 2018 19:47

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.
Domoticz latest beta, on Raspberry Pi

remko2000
Posts: 47
Joined: Thursday 28 December 2017 15:38
Target OS: Raspberry Pi
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by remko2000 » Thursday 24 May 2018 20:07

I've used etcher and also applepi maker. Same results.

Geitje
Posts: 7
Joined: Monday 22 January 2018 22:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by Geitje » Thursday 24 May 2018 21:17

OK.

For me the installation did not go well everytime either. Maybe you should retry all steps?
Domoticz latest beta, on Raspberry Pi

remko2000
Posts: 47
Joined: Thursday 28 December 2017 15:38
Target OS: Raspberry Pi
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by remko2000 » Thursday 24 May 2018 22:20

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

remko2000
Posts: 47
Joined: Thursday 28 December 2017 15:38
Target OS: Raspberry Pi
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: XIAOMI 1080p XIAOFANG-CAMERA

Post by remko2000 » Friday 25 May 2018 10:39

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

diskutil list

Code: Select all

diskutil unmountDisk /dev/disk2

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest