Page 2 of 2

Re: Cannot get dzVents to trigger

Posted: Monday 31 May 2021 11:17
by Sjoko
I turned on debug and logging to a file.

I see differences with respect to time after restart.
Shortly after restart the trigger fires as expected (within one second), look at 103/GeoIPThuis/On

Code: Select all

2021-05-30 22:56:11.402  Status: User: Admin (IP: 192.168.180.30) initiated a switch command (103/GeoIPThuis/On)
2021-05-30 22:56:11.403  Debug: MAIN SwitchLight idx:103 cmd:On lvl:-1
2021-05-30 22:56:11.405  Debug: MAIN SwitchLightInt : switchcmd:On level:-1 HWid:27  sd:27 000140B7 1 244 73 0
2021-05-30 22:56:11.406  Debug: MAIN SwitchLightInt : switchcmd=="On" || level < 0, new level:0
2021-05-30 22:56:11.414  Debug: SQLH HandleOnOffAction: OnAction:
2021-05-30 22:56:11.417  Debug: SQLH UpdateValueInt GeoIPThuis HwID:27  DevID:000140B7 Type:244  sType:73 nValue:1 sValue:0
2021-05-30 22:56:11.443  GeoIPThuis: Light/Switch (GeoIPThuis)
2021-05-30 22:56:12.238  Status: dzVents: Info: Handling events for: "GeoIPThuis", value: "On"
about 10 hours later, the trigger does not fire anymore,
the "Status: dzVents: Info: Handling events for: "GeoIPThuis"" is not appearing in the log anymore;

Code: Select all

2021-05-31 10:59:06.452  Debug: MAIN SwitchLight idx:103 cmd:Off lvl:-1
2021-05-31 10:59:06.454  Debug: MAIN SwitchLightInt : switchcmd:Off level:-1 HWid:27  sd:27 000140B7 1 244 73 0
2021-05-31 10:59:06.455  Debug: MAIN SwitchLightInt : switchcmd=="On" || level < 0, new level:0
2021-05-31 10:59:06.493  slimmeMeter: P1 Smart Meter (stroommeter)
2021-05-31 10:59:06.934  Debug: SQLH HandleOnOffAction: OffAction:
2021-05-31 10:59:06.982  Debug: SQLH UpdateValueInt GeoIPThuis HwID:27  DevID:000140B7 Type:244  sType:73 nValue:0 sValue:0
2021-05-31 10:59:07.036  GeoIPThuis: Light/Switch (GeoIPThuis)
2021-05-31 10:59:07.175  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:07.603  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:08.043  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:08.611  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:09.244  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:09.822  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:10.417  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
2021-05-31 10:59:10.857  Debug: SQLH UpdateValueInt stroommeter-pi-doeke HwID:4  DevID:1 Type:250  sType:1 nValue:0 sValue:4284707;3578397;0;0;88;0
2021-05-31 10:59:10.924  pi-doeke: P1 Smart Meter (stroommeter-pi-doeke)
2021-05-31 10:59:11.059  Debug: SQLH UpdateValueInt Badkamer Fan Sonoff-4 HwID:33  DevID:000140BE Type:244  sType:73 nValue:1 sValue:
I noticed that this failure starts quite soon after restart, I think about a couple of minutes already.
What else can I do to improve logging for diagnstics ?

best,

Re: Cannot get dzVents to trigger

Posted: Monday 31 May 2021 17:44
by waaren
Sjoko wrote: Monday 31 May 2021 11:17 What else can I do to improve logging for diagnostics ?
[Setup] [System] [Other]
dzVents Log Level .png
dzVents Log Level .png (24.14 KiB) Viewed 436 times
[

Re: Cannot get dzVents to trigger

Posted: Friday 25 June 2021 10:46
by Sjoko
I have enabled more debugging.
For me, the log does not show anything of importance.
I do notice, that with all the logging, the expected dzVent happens with much less time lag, which is strange.
I turned-off logging yesterday, and a dzVent came in about 5 hours later again....