Page 1 of 1

Wierd "ghost script"

Posted: Thursday 06 September 2018 8:10
by Gianni
got a hotelswitch between 2 sonoff T1's
Everything works well as you can see in the log.
Spoiler: show
2018-09-05 20:19:14.573 Status: EventSystem: Script event triggered: /home/gianni/domoticz/dzVents/runtime/dzVents.lua
2018-09-05 20:19:15.723 Status: dzVents: Info: Handling events for: "Schakelaar Living", value: "On"
2018-09-05 20:19:15.723 Status: dzVents: Info: ------ Start internal script: HotelSchakeling: Device: "Schakelaar Living (Schakelaars Beneden)", Index: 43
2018-09-05 20:19:15.725 Status: dzVents: Info: ------ Finished HotelSchakeling
2018-09-05 20:19:15.817 Status: EventSystem: Script event triggered: /home/gianni/domoticz/dzVents/runtime/dzVents.lua
2018-09-05 20:19:16.855 Status: dzVents: Info: Handling events for: "Schakelaar Living", value: "Off"
2018-09-05 20:19:16.855 Status: dzVents: Info: ------ Start internal script: HotelSchakeling: Device: "Schakelaar Living (Schakelaars Beneden)", Index: 43
2018-09-05 20:19:16.856 Status: dzVents: Info: ------ Finished HotelSchakeling
2018-09-05 20:19:16.948 Status: EventSystem: Script event triggered: /home/gianni/domoticz/dzVents/runtime/dzVents.lua
2018-09-05 20:34:59.598 Status: dzVents: Info: Handling events for: "Schakelaar Living", value: "On"
2018-09-05 20:34:59.598 Status: dzVents: Info: ------ Start internal script: HotelSchakeling: Device: "Schakelaar Living (Schakelaars Beneden)", Index: 43
2018-09-05 20:34:59.600 Status: dzVents: Info: ------ Finished HotelSchakeling
but now if a stay up this morning my lights where on??????????
if i look at the log is see something bizarre
Spoiler: show
2018-09-06 03:15:30.564 Status: dzVents: Info: Handling events for: "Schakelaar Living", value: "On"
2018-09-06 03:15:30.564 Status: dzVents: Info: ------ Start internal script: HotelSchakeling: Device: "Schakelaar Living (Schakelaars Beneden)", Index: 43
2018-09-06 03:15:30.565 Status: dzVents: Info: ------ Finished HotelSchakeling
2018-09-06 03:15:30.657 Status: EventSystem: Script event triggered: /home/gianni/domoticz/dzVents/runtime/dzVents.lua
2018-09-06 03:24:27.034 Status: dzVents: Info: Handling events for: "Schakelaar Living", value: "On"
2018-09-06 03:24:27.034 Status: dzVents: Info: ------ Start internal script: HotelSchakeling: Device: "Schakelaar Living (Schakelaars Beneden)", Index: 43
2018-09-06 03:24:27.036 Status: dzVents: Info: ------ Finished HotelSchakeling
is see at 3 Am a ON event and no off and 7 min later again a ON event?
Nobody is awake this time,only my dog :-p
no motion sensors enabled

any idea som1??

Re: Wierd "ghost script"

Posted: Monday 10 September 2018 20:18
by waaren
Gianni wrote: Thursday 06 September 2018 8:10 got a hotelswitch between 2 sonoff T1's
Everything works well as you can see in the log.

is see at 3 Am a ON event and no off and 7 min later again a ON event?
Nobody is awake this time,only my dog :-p
no motion sensors enabled

any idea som1??
domoticz receive an "On" command and that is triggering the event.

If you see this every day at the same time it could be triggered by another script or a device from your neighbor with the same code. If you see this at random times it could be a faulty switch.

I have seen both but I only experienced the faulty switch with an open/close switch.

Re: Wierd "ghost script"

Posted: Tuesday 11 September 2018 11:14
by Gianni
Hey Waaren

I reset everything and reinstalled my domoticz and now never see this "ghost" again :-)
I think it was still a motion sensor that must be online and may be triggerd a On command