Xiaomi Dafang camera view problem

Moderator: leecollings

Post Reply
satanasinc
Posts: 41
Joined: Monday 19 October 2015 12:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Spain
Contact:

Xiaomi Dafang camera view problem

Post by satanasinc »

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?

Image
Image
Image

Thanks in advance for your help.

Regards.
satanasinc
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

Post by satanasinc »

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.

Image

Regards
mozo78
Posts: 22
Joined: Friday 09 June 2017 6:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by mozo78 »

Thank you! It worked for me as well!
Ouate
Posts: 36
Joined: Thursday 03 August 2017 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by Ouate »

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?
Ouate
Posts: 36
Joined: Thursday 03 August 2017 15:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by Ouate »

Ouate wrote: Monday 04 March 2019 16:20 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?
nobody ? :|
Shirley54
Posts: 1
Joined: Saturday 16 February 2019 5:33
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by Shirley54 »

I think I am also facing this issue. Did you get any proper solution?
Eravinera
Posts: 4
Joined: Tuesday 26 March 2019 17:02
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by Eravinera »

I have a similar problem, but the proposed option does not help
qerryp
Posts: 1
Joined: Thursday 25 April 2019 12:55
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Dafang camera view problem

Post by qerryp »

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.
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 view problem

Post by Derik »

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
ScreenShot067.jpg
ScreenShot067.jpg (32.68 KiB) Viewed 2336 times
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest