Page 1 of 1
Dusk sensor sometimes fails
Posted: Saturday 02 January 2016 10:25
by rtna
I have a KAKU dusk sensor wich is functioning perfectly most of the time. Every now and then the sensor failes for some reason. I can not see why this is, the next day everything is back to normal again. Maybe it has something to do whith Domoticz not recieving the radio signal.
When the sensor fails the scripts depending on the sensor (all lights on when dark outside) also are failing. It works again the next day off course but is leaves me with a problem on the day the sensor does not work.
Can this be solved with a script of something wich triggers a user variable when it's sunset, so if the sensor failes this also triggers the scripts as fallback? I tried this in blockly but no success.
Re: Dusk sensor sometimes fails
Posted: Saturday 02 January 2016 11:02
by malarcy
I use a virtual switch - with two timers set
Switch called "IsDay" timer on set to 10 mins after sunrise and set to off 10 mins before sunset.
You can trigger a blockly from that on/off if you want - or any other kind of script - and you can adjust the timings to suit the difference between calculated sunrise/sunset and actual when its light enough / dark enough to trigger something.
I am not familiar with the sensor you are using - or how domoticz handles it - but you may be able to set similar timers on the switch directly - so a timer to turn it off (dark) at say sunset +30 mins - then when it does get dark, if the sensor works, then great, if it doesn't then the timer sill fire and force it to be dark within 30 mins of sunset (or whatever you set the timer to).
Hope this helps
Re: Dusk sensor sometimes fails
Posted: Saturday 05 March 2016 10:47
by thebeetleuk
malarcy wrote:I use a virtual switch - with two timers set
Switch called "IsDay" timer on set to 10 mins after sunrise and set to off 10 mins before sunset.
How did yo do this? did you just set manual timers or does this look at the sunrise/sunset setting I can see on the dashboard?
Re: Dusk sensor sometimes fails
Posted: Tuesday 15 March 2016 13:06
by thebeetleuk
thebeetleuk wrote:malarcy wrote:I use a virtual switch - with two timers set
Switch called "IsDay" timer on set to 10 mins after sunrise and set to off 10 mins before sunset.
How did yo do this? did you just set manual timers or does this look at the sunrise/sunset setting I can see on the dashboard?
forget that. I didn't realise the sunset and sunrise settings were available in blocky. all setup now. On to some testing.
Re: Dusk sensor sometimes fails
Posted: Tuesday 15 March 2016 13:47
by manjh
Keep in mind that all KAKU sensors are "dumb", meaning that they will start sending their signal when they want without checking anything.
If two sensors just happen to send at the same time, or if Domoticz issues a 433 command to another KAKU device, you may have "missing signals".
Re: Dusk sensor sometimes fails
Posted: Sunday 24 July 2016 22:13
by RemcoSmit
manjh wrote:Keep in mind that all KAKU sensors are "dumb", meaning that they will start sending their signal when they want without checking anything.
If two sensors just happen to send at the same time, or if Domoticz issues a 433 command to another KAKU device, you may have "missing signals".
I am in the process of a migration from HomeWizard to Domoticz and have both systems up and running. The HomeWizard is still powered on, but doesn't switch anything anymore.
I too experience missed switch moments from the KAKU dusk sensor. The HomeWizard however, never missed one. I need the Domoticz system to catch each and every switch moment: I have scenes and variables depending on it.
In my opinion, at the moment the dusk sensor sends a signal, there are no other conflicting signals in the air as the HomeWizard does catch the signal just fine.
I checked the log file and at the time of switching from dark-->light or vice versa, Domoticz did not send anything. And as mentioned before the HomeWizard does not send anything anymore.
Could there be something wrong with the Domoticz program code?