Wierd "ghost script"

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Wierd "ghost script"

Post 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??
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Wierd "ghost script"

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: Wierd "ghost script"

Post 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
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest