Hi!
First of all excuse my bad english.
I added my Xiaomi Dafang Camera with DafangHack firmware to my domoticz and it worked for a couple of months.
Now can´t see the camera in the domoticcz windows but the connection test apears to be fine and displays the camera.
Someone knows what can be happen?
Thanks in advance for your help.
Regards.
Xiaomi Dafang camera view problem
Moderator: leecollings
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Xiaomi Dafang camera view problem
Hi!
Resolved.
Edit and coment o remove these lines in /system/sdcard/config/lighttpd.conf
$HTTP["scheme"] == "http" {
# capture vhost name with regex conditiona -> %0 in redirect pattern
# must be the most inner block to the redirect rule
$HTTP["host"] =~ ".*" {
url.redirect = (".*" => "https://%0$0")
}
}
This disable the https redirection.
Regards
Resolved.
Edit and coment o remove these lines in /system/sdcard/config/lighttpd.conf
$HTTP["scheme"] == "http" {
# capture vhost name with regex conditiona -> %0 in redirect pattern
# must be the most inner block to the redirect rule
$HTTP["host"] =~ ".*" {
url.redirect = (".*" => "https://%0$0")
}
}
This disable the https redirection.
Regards
-
- Posts: 22
- Joined: Friday 09 June 2017 6:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Dafang camera view problem
Thank you! It worked for me as well!
-
- Posts: 36
- Joined: Thursday 03 August 2017 15:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Xiaomi Dafang camera view problem
Hi,
I have the same problem (preview of camera is working but nothing when I click the photo button).
How to edit the file lighttpd.conf (as described above) ? in SSH ?
Does someone can help me please?
I have the same problem (preview of camera is working but nothing when I click the photo button).
How to edit the file lighttpd.conf (as described above) ? in SSH ?
Does someone can help me please?
-
- Posts: 1
- Joined: Saturday 16 February 2019 5:33
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Xiaomi Dafang camera view problem
I think I am also facing this issue. Did you get any proper solution?
-
- Posts: 4
- Joined: Tuesday 26 March 2019 17:02
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Xiaomi Dafang camera view problem
I have a similar problem, but the proposed option does not help
Re: Xiaomi Dafang camera view problem
I had the same issue with my Samsung galaxy S10 which I had to troubleshoot from https://uaetechnician.ae/samsung-service-centre and in case of xiaomi go to the xda developer where they release the update on weekly basis.
-
- 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 view problem
some solutions.
My dafang are stil dark to..
When i follw thew ikie should be simple.
Ony no camera in Domoticz
https://www.domoticz.com/wiki/Xiaomi_Camera
My dafang are stil dark to..
When i follw thew ikie should be simple.
Ony no camera in Domoticz
https://www.domoticz.com/wiki/Xiaomi_Camera
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
Who is online
Users browsing this forum: Amazon [Bot] and 0 guests