Dzvents timer events not triggered  [Solved]

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

Moderator: leecollings

Post Reply
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Dzvents timer events not triggered

Post by greenwitch »

Hi,

Any idea why timer events are not triggered.
Domoticz version:

Code: Select all

Version: 2020.2
Build Hash: b63341bc0
Compile Date: 2020-04-26 13:47:55
dzVents Version: 3.0.2
It is simple script to turn of lights after some time when there is no movement. The same script is working flawlessly in my parents house.

Code: Select all

local glownalampa = 'Włącznik światła lazienka salon glowna lampa'
local nadlustrem = 'Włącznik światła lazienka salon nad lustrem'
local wentylator = 'Włącznik światła lazienka salon wentylator_auto'
local cz1 = 'Czujka ruchu lazienka salon 1'
local cz2 = 'Czujka ruchu lazienka salon 2'
return {
	on = {
		timer = {'every minute', 'at 20:00', 'at 20:01'},
	   devices = {cz1,cz2},
    },
	execute = function(domoticz, timer)

		--domoticz.log('Timer event was triggered by ' .. timer.trigger, domoticz.LOG_INFO)
		print('przed ifem')
		if ((domoticz.devices(glownalampa).state == 'On' or domoticz.devices(nadlustrem).state == 'On' or domoticz.devices(wentylator).state == 'On') and domoticz.devices(cz1).state == 'Off' and domoticz.devices(cz2).state == 'Off' and domoticz.devices(cz1).lastUpdate.secondsAgo >120 and domoticz.devices(cz2).lastUpdate.secondsAgo >120)
		then
		    print ('wylaczam swiatlo w lazience salon')
		    domoticz.devices(glownalampa).switchOff()
		   domoticz.devices(nadlustrem).switchOff()
		    domoticz.devices(wentylator).switchOff()
	    end
    end
}
Whats more strange script is perfectly triggered by device (I have added it to troubleshoot).
I have configured location, added 127.0.0.1 to allowed list and all eventsystems and dzvents are enabled.

Any ideas, please help :-)

Adam
Last edited by greenwitch on Thursday 27 August 2020 0:35, edited 1 time in total.
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered

Post by greenwitch »

During start of domoticz I have such log:

Code: Select all

 2020-08-26 20:31:34.355 Status: dzVents: Debug: Constructed timed-command: On
2020-08-26 20:31:34.357 Status: dzVents: Debug: Constructed timed-command: On
2020-08-26 20:31:34.360 Status: dzVents: Debug: Constructed timed-command: Off
2020-08-26 20:31:34.360 Status: dzVents: Debug: Constructed timed-command: Off AFTER 90 SECONDS
2020-08-26 20:31:34.362 Status: dzVents: Debug: Constructed timed-command: Off
2020-08-26 20:31:34.362 Status: dzVents: Debug: Constructed timed-command: Off AFTER 120 SECONDS
2020-08-26 20:31:34.364 Status: dzVents: Debug: Constructed timed-command: Off
2020-08-26 20:31:34.365 Status: dzVents: Debug: Constructed timed-command: Off AFTER 120 SECONDS
2020-08-26 20:31:34.367 Status: dzVents: Debug: Constructed timed-command: Off
2020-08-26 20:31:34.367 Status: dzVents: Debug: Constructed timed-command: Off AFTER 120 SECONDS 
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dzvents timer events not triggered

Post by waaren »

greenwitch wrote: Wednesday 26 August 2020 20:33 During start of domoticz I have such log:
What are your settings for eventlogging and dzVents loggng?
Can you set them like below ( (setup], [Settings][other] )
log.png
log.png (20.83 KiB) Viewed 1835 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered

Post by greenwitch »

Hi,

I have it like you suggest. In fact I had it before like this. unfortunately it does not change anything.
Yesterday evening I have installed clear new stable release domoticz and copied only generated scripts + plugins + database + cert file and problem was not solved.
Do you know any mistakes in scripts which can block timer triggering?

Adam
Attachments
Nowy obraz mapy bitowej.jpg
Nowy obraz mapy bitowej.jpg (51.9 KiB) Viewed 1810 times
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered

Post by greenwitch »

The main difference I see between different domoticz instances in that on which I have issue I am using timer plans.
I have created timer plan on domoticz on which timer triggers works fine and it is still working fine - so this is not the root cause.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dzvents timer events not triggered

Post by waaren »

greenwitch wrote: Thursday 27 August 2020 15:57 The main difference I see between different domoticz instances in that on which I have issue I am using timer plans.
I have created timer plan on domoticz on which timer triggers works fine and it is still working fine - so this is not the root cause.
A timer plan should not have any influence on dzVents scripts.

Is the script created in the internal editor or external and saved in <domoticz dir>/scripts/dzVents/scripts/ ?
What do you see in the log when you start domoticz from the command line?

Code: Select all

cd <domoticz dir>
sudo service domoticz stop
sudo  ./domoticz
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered

Post by greenwitch »

Hi,



yes they are created:
there are two scripts:

Code: Select all

2020-08-27 21:43:32.499  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/test.lua
2020-08-27 21:43:32.499  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Script #1.lua
full startup log.

Code: Select all

pi@raspberrypi:~/domoticz$ ./domoticz
2020-08-27 21:43:30.300  Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2020-08-27 21:43:30.300  Status: Build Hash: b63341bc0, Date: 2020-04-26 13:47:5                                                                                                  5
2020-08-27 21:43:30.300  Status: Startup Path: /home/pi/domoticz/
2020-08-27 21:43:30.322  Sunrise: 05:40:00 SunSet: 19:35:00
2020-08-27 21:43:30.322  Day length: 13:55:00 Sun at south: 12:37:00
2020-08-27 21:43:30.322  Civil twilight start: 05:04:00 Civil twilight end: 20:1                                                                                                  1:00
2020-08-27 21:43:30.322  Nautical twilight start: 04:19:00 Nautical twilight end                                                                                                  : 20:56:00
2020-08-27 21:43:30.322  Astronomical twilight start: 03:28:00 Astronomical twil                                                                                                  ight end: 21:47:00
2020-08-27 21:43:30.444  Status: PluginSystem: Started, Python version '3.7.3'.
2020-08-27 21:43:30.452  Active notification Subsystems: clickatell, email, kodi                                                                                                   (3/13)
2020-08-27 21:43:30.454  Status: WebServer(HTTP) started on address: :: with por                                                                                                  t 8080
2020-08-27 21:43:30.460  Error: [web:443] missing SSL DH parameters from file ./                                                                                                  server_cert.pem
2020-08-27 21:43:30.469  Error: [web:443] missing SSL DH parameters from file ./                                                                                                  server_cert.pem
2020-08-27 21:43:30.472  Error: [web:443] missing SSL DH parameters from file ./                                                                                                  server_cert.pem
2020-08-27 21:43:30.473  Error: WebServer(SSL) startup failed on address 0.0.0.0                                                                                                   with port: 443: bind: Permission denied
2020-08-27 21:43:30.473  Error: WebServer(SSL) check privileges for opening port                                                                                                  s below 1024
2020-08-27 21:43:30.475  Status: Camera: settings (re)loaded
2020-08-27 21:43:30.476  Starting shared server on: :::6144
2020-08-27 21:43:30.476  Status: TCPServer: shared server started...
2020-08-27 21:43:30.477  Status: RxQueue: queue worker started...
2020-08-27 21:43:32.478  Status: YeeLight Worker started...
2020-08-27 21:43:32.478  Status: (airly) Started.
2020-08-27 21:43:32.479  Status: WOL: Started
2020-08-27 21:43:32.480  Status: (Deconz zigbee) Started.
2020-08-27 21:43:32.480  Status: (Balkon) Started.
2020-08-27 21:43:32.480  Status: (Odkurzacz) Started.
2020-08-27 21:43:32.480  Status: (żarówka gabinet) Started.
2020-08-27 21:43:32.480  Status: NotificationSystem: thread started...
2020-08-27 21:43:32.481  Status: OnkyoAVTCP: connected to: 192.168.54.52:60128
2020-08-27 21:43:32.481  OnkyoAVTCP: Send NRIQSTN
2020-08-27 21:43:32.481  Status: EventSystem: reset all events...
2020-08-27 21:43:32.487  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Czujka ruchu salon opóźnienie.lua
2020-08-27 21:43:32.488  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Czujka ruchu gabinet opóźnienie.lua
2020-08-27 21:43:32.489  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Czujka ruchu kuchnia opóźnienie.lua
2020-08-27 21:43:32.489  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/termostat_SYPIALNIA.lua
2020-08-27 21:43:32.490  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/restart rpi.lua
2020-08-27 21:43:32.490  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/salon_grzanie_dzvents_test.lua
2020-08-27 21:43:32.490  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/sypialnia_grzanie_dzvents_test.lua
2020-08-27 21:43:32.491  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/gabinet_grzanie_dzvents_test.lua
2020-08-27 21:43:32.492  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/low battery.lua
2020-08-27 21:43:32.492  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/ekran zarządzanie.lua
2020-08-27 21:43:32.492  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/akwarium przycisk.lua
2020-08-27 21:43:32.493  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/kuchnia_powietrze.lua
2020-08-27 21:43:32.493  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/lampki choinkowe przycisk.lua
2020-08-27 21:43:32.493  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/wzmacniacz_PS3_PC.lua
2020-08-27 21:43:32.494  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/temp_sypialnia.lua
2020-08-27 21:43:32.494  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Alarmy.lua
2020-08-27 21:43:32.495  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/czujki_drzwi_sypialnia.lua
2020-08-27 21:43:32.495  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/czujnik_pm25_balkon.lua
2020-08-27 21:43:32.495  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/wylacz swiatla.lua
2020-08-27 21:43:32.496  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/test variable.lua
2020-08-27 21:43:32.496  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/test variable2.lua
2020-08-27 21:43:32.497  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Czujka ruchu lazienka salon dzvents opóźnienie.lua
2020-08-27 21:43:32.497  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/srednia temp sypialnia.lua
2020-08-27 21:43:32.498  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/podlewanie balkon.lua
2020-08-27 21:43:32.498  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/pobranie danych o deszczu.lua
2020-08-27 21:43:32.499  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/test.lua
2020-08-27 21:43:32.499  Status: dzVents: Write file: /home/pi/domoticz/scripts/                                                                                                  dzVents/generated_scripts/Script #1.lua
2020-08-27 21:43:32.500  Status: EventSystem: reset all device statuses...
2020-08-27 21:43:32.606  OnkyoAVTCP: Send SLIQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send PWRQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send MVLQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send SLZQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send ZPWQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send ZVLQSTN
2020-08-27 21:43:32.606  OnkyoAVTCP: Send HDOQSTN
2020-08-27 21:43:32.651  OnkyoAVTCP: Packet received: 6 SLI03
2020-08-27 21:43:32.679  Status: RFLink: Using serial port: /dev/ttyACM0
2020-08-27 21:43:32.700  OnkyoAVTCP: Packet received: 6 PWR01
2020-08-27 21:43:32.701  OnkyoAVTCP: Packet received: 6 MVL3C
2020-08-27 21:43:32.708  OnkyoAVTCP: Packet received: 6 SLZ80
2020-08-27 21:43:32.720  OnkyoAVTCP: Packet received: 6 ZPW00
2020-08-27 21:43:32.733  OnkyoAVTCP: Packet received: 7 ZVLN/A
2020-08-27 21:43:32.749  OnkyoAVTCP: Packet received: 6 HDO01
2020-08-27 21:43:32.829  Status: PluginSystem: Entering work loop.
2020-08-27 21:43:32.978  Status: OpenZWave: using config in: /home/pi/domoticz/C                                                                                                  onfig/
Could Not Open OZW Log File.
2020-08-27 21:43:32.981 Always, OpenZwave Version 1.6-1080-g5db357e3-dirty Start                                                                                                  ing Up
2020-08-27 21:43:33.006 Always, Using Language Localization
2020-08-27 21:43:33.032  Status: OpenZWave: Starting...
2020-08-27 21:43:33.032  Status: OpenZWave: Version: 1.6-1080-g5db357e3-dirty
2020-08-27 21:43:33.151  (Onkyo) Light/Switch (Onkyo wlacznik)
2020-08-27 21:43:33.154  (Onkyo) Light/Switch (Zone 2 power)
2020-08-27 21:43:33.489  Status: (airly) Entering work loop.
2020-08-27 21:43:33.490  Status: (airly) Initialized version 0.3.0, author 'fish                                                                                                  er'
2020-08-27 21:43:33.604  Status: RFLink: Controller Initialized!...
2020-08-27 21:43:33.683  Status: RFLink Detected, Version: 1.1 Revision: 48 Buil                                                                                                  d: 4
2020-08-27 21:43:35.836  Status: OpenZWave: User Alert - Manufacturer_specific.x                                                                                                  ml out of Date
2020-08-27 21:43:35.836  Status: OpenZWave: ManufacturerSpecificDB Ready
2020-08-27 21:43:36.081  (RF-LINK) Wind (Wiatr balkon)
2020-08-27 21:43:36.094  Status: (Deconz zigbee) Entering work loop.
2020-08-27 21:43:36.094  Status: (Deconz zigbee) Initialized version 1.0.11, aut                                                                                                  hor 'Smanar'
2020-08-27 21:43:36.107  Status: OpenZWave: Driver Ready
2020-08-27 21:43:36.108  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   SENSOR MULTILEVEL, Label: Air Temperature, Instance: 1, Index: 1
2020-08-27 21:43:36.108  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   THERMOSTAT MODE, Label: Mode, Instance: 1, Index: 0
2020-08-27 21:43:36.108  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   THERMOSTAT SETPOINT, Label: Heating 1, Instance: 1, Index: 1
2020-08-27 21:43:36.108  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   THERMOSTAT SETPOINT, Label: Cooling 1, Instance: 1, Index: 2
2020-08-27 21:43:36.108  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   THERMOSTAT SETPOINT, Label: Unused 4, Instance: 1, Index: 4
2020-08-27 21:43:36.109  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   THERMOSTAT FAN MODE, Label: Fan Mode, Instance: 1, Index: 0
2020-08-27 21:43:36.109  OpenZWave: Value_Added: Node: 36 (0x24), CommandClass:                                                                                                   BATTERY, Label: Battery Level, Instance: 1, Index: 0
2020-08-27 21:43:36.111  OpenZWave: Value_Added: Node: 39 (0x27), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Level, Instance: 1, Index: 0
2020-08-27 21:43:36.112  OpenZWave: Value_Added: Node: 39 (0x27), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: On, Instance: 1, Index: 1
2020-08-27 21:43:36.112  OpenZWave: Value_Added: Node: 39 (0x27), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Off, Instance: 1, Index: 2
2020-08-27 21:43:36.112  OpenZWave: Value_Added: Node: 39 (0x27), CommandClass:                                                                                                   SCENE ACTIVATION, Label: Scene, Instance: 1, Index: 0
2020-08-27 21:43:36.112  OpenZWave: Value_Added: Node: 39 (0x27), CommandClass:                                                                                                   SCENE ACTIVATION, Label: Duration, Instance: 1, Index: 1
2020-08-27 21:43:36.114  OpenZWave: Value_Added: Node: 40 (0x28), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Level, Instance: 1, Index: 0
2020-08-27 21:43:36.115  OpenZWave: Value_Added: Node: 40 (0x28), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: On, Instance: 1, Index: 1
2020-08-27 21:43:36.115  OpenZWave: Value_Added: Node: 40 (0x28), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Off, Instance: 1, Index: 2
2020-08-27 21:43:36.115  (Z wave) General/Thermostat Mode (Klimatyzacja tryb pra                                                                                                  cy)
2020-08-27 21:43:36.115  OpenZWave: Value_Added: Node: 40 (0x28), CommandClass:                                                                                                   SCENE ACTIVATION, Label: Scene, Instance: 1, Index: 0
2020-08-27 21:43:36.115  OpenZWave: Value_Added: Node: 40 (0x28), CommandClass:                                                                                                   SCENE ACTIVATION, Label: Duration, Instance: 1, Index: 1
ciach
2020-08-27 21:43:36.136  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: Level, Instance: 1, Index: 0
2020-08-27 21:43:36.137  Status: SendSwitchIfNotExists: Device '46.instance.1.in                                                                                                  dex.0.commandClasses.38' (Instance 1: Level) with DeviceID '00002E01' matches '4                                                                                                  6.instance.1.index.0.commandClasses.37' (Instance 1: Switch). Domoticz will use                                                                                                   the Dimmer (and hide the Switch).
2020-08-27 21:43:36.137  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: Level, Instance: 2, Index: 0
2020-08-27 21:43:36.137  Status: SendSwitchIfNotExists: Device '46.instance.2.in                                                                                                  dex.0.commandClasses.38' (Instance 2: Level) with DeviceID '00002E02' matches '4                                                                                                  6.instance.2.index.0.commandClasses.37' (Instance 2: Switch). Domoticz will use                                                                                                   the Dimmer (and hide the Switch).
2020-08-27 21:43:36.137  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: On, Instance: 1, Index: 1
2020-08-27 21:43:36.137  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: On, Instance: 2, Index: 1
2020-08-27 21:43:36.137  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: Off, Instance: 1, Index: 2
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: Off, Instance: 2, Index: 2
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: Step Size, Instance: 1, Index: 6
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: Step Size, Instance: 2, Index: 6
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: Inc, Instance: 1, Index: 7
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: Inc, Instance: 2, Index: 7
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 1: Dec, Instance: 1, Index: 8
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   SWITCH MULTILEVEL, Label: Instance 2: Dec, Instance: 2, Index: 8
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 1: Electric - kWh, Instance: 1, Index: 0
2020-08-27 21:43:36.138  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 2: Electric - kWh, Instance: 2, Index: 0
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 1: Electric - W, Instance: 1, Index: 2
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 2: Electric - W, Instance: 2, Index: 2
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 1: Exporting, Instance: 1, Index: 256
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   METER, Label: Instance 2: Exporting, Instance: 2, Index: 256
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   CENTRAL SCENE, Label: Scene 1, Instance: 1, Index: 1
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   CENTRAL SCENE, Label: Scene 2, Instance: 1, Index: 2
2020-08-27 21:43:36.139  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   CENTRAL SCENE, Label: Scene Count, Instance: 1, Index: 256
2020-08-27 21:43:36.140  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   ALARM, Label: Heat, Instance: 1, Index: 4
2020-08-27 21:43:36.141  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   ALARM, Label: Power Management, Instance: 1, Index: 8
2020-08-27 21:43:36.141  OpenZWave: Value_Added: Node: 46 (0x2e), CommandClass:                                                                                                   ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2020-08-27 21:43:36.142  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 1: Switch, Instance: 1, Index: 0
2020-08-27 21:43:36.143  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 2: Switch, Instance: 2, Index: 0
2020-08-27 21:43:36.143  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 3: Switch, Instance: 3, Index: 0
2020-08-27 21:43:36.143  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 1: Electric - kWh, Instance: 1, Index: 0
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 2: Electric - kWh, Instance: 2, Index: 0
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 3: Electric - kWh, Instance: 3, Index: 0
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 1: Electric - W, Instance: 1, Index: 2
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 2: Electric - W, Instance: 2, Index: 2
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 3: Electric - W, Instance: 3, Index: 2
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 1: Exporting, Instance: 1, Index: 256
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 2: Exporting, Instance: 2, Index: 256
2020-08-27 21:43:36.144  OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass:                                                                                                   METER, Label: Instance 3: Exporting, Instance: 3, Index: 256
2020-08-27 21:43:36.146  OpenZWave: Value_Added: Node: 48 (0x30), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 1: Switch, Instance: 1, Index: 0
2020-08-27 21:43:36.146  OpenZWave: Value_Added: Node: 48 (0x30), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 2: Switch, Instance: 2, Index: 0
2020-08-27 21:43:36.147  OpenZWave: Value_Added: Node: 48 (0x30), CommandClass:                                                                                                   SWITCH BINARY, Label: Instance 3: Switch, Instance: 3, Index: 0
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   THERMOSTAT SETPOINT, Label: Heating 1, Instance: 1, Index: 1
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Monday, Instance: 1, Index: 1
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Tuesday, Instance: 1, Index: 2
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Wednesday, Instance: 1, Index: 3
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Thursday, Instance: 1, Index: 4
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Friday, Instance: 1, Index: 5
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Saturday, Instance: 1, Index: 6
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Sunday, Instance: 1, Index: 7
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Override State, Instance: 1, Index: 8
2020-08-27 21:43:36.149  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLIMATE CONTROL SCHEDULE, Label: Override Setback, Instance: 1, Index: 9
2020-08-27 21:43:36.150  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   BATTERY, Label: Battery Level, Instance: 1, Index: 0
2020-08-27 21:43:36.150  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLOCK, Label: Day, Instance: 1, Index: 0
2020-08-27 21:43:36.150  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLOCK, Label: Hour, Instance: 1, Index: 1
2020-08-27 21:43:36.150  OpenZWave: Value_Added: Node: 49 (0x31), CommandClass:                                                                                                   CLOCK, Label: Minute, Instance: 1, Index: 2
2020-08-27 21:43:36.150  OpenZWave: NodeID: 49 (0x31), Thermostat Clock: Monday                                                                                                   05:47
2020-08-27 21:43:36.150  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 1 (0x01)
2020-08-27 21:43:36.151  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 2 (0x02)
2020-08-27 21:43:36.152  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 3 (0x03)
2020-08-27 21:43:36.152  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 4 (0x04)
2020-08-27 21:43:36.153  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 5 (0x05)
2020-08-27 21:43:36.153  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 6 (0x06)
2020-08-27 21:43:36.153  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 11 (0x0b)
2020-08-27 21:43:36.153  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 14 (0x0e)
2020-08-27 21:43:36.154  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 15 (0x0f)
2020-08-27 21:43:36.154  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 16 (0x10)
2020-08-27 21:43:36.155  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 17 (0x11)
2020-08-27 21:43:36.155  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 18 (0x12)
2020-08-27 21:43:36.155  (Z wave) Thermostat (Sypialnia glowica termostatyczna)
2020-08-27 21:43:36.155  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 19 (0x13)
2020-08-27 21:43:36.156  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 20 (0x14)
2020-08-27 21:43:36.156  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 22 (0x16)
2020-08-27 21:43:36.157  (Z wave) General/Thermostat Clock (Thermostat Clock)
2020-08-27 21:43:36.157  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 23 (0x17)
2020-08-27 21:43:36.157  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 24 (0x18)
2020-08-27 21:43:36.157  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 26 (0x1a)
2020-08-27 21:43:36.157  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 28 (0x1c)
2020-08-27 21:43:36.157  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 30 (0x1e)
2020-08-27 21:43:36.158  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 31 (0x1f)
2020-08-27 21:43:36.158  Status: OpenZWave: New Node added. HomeID: 3487760909,                                                                                                   NodeID: 32 (0x20)
2020-08-27 21:43:36.193  Status: Python EventSystem: Initalizing event module.
2020-08-27 21:43:36.194  Status: EventSystem: Queue thread started...
2020-08-27 21:43:36.194  Status: EventSystem: Started
2020-08-27 21:43:36.219  (RF-LINK) Wind (Wiatr balkon)
2020-08-27 21:43:36.324  Status: dzVents: Info: Handling events for: "Onkyo wlac                                                                                                  znik", value: "On"
2020-08-27 21:43:36.325  Status: dzVents: Info: ------ Start internal script: ek                                                                                                  ran zarządzanie: Device: "Onkyo wlacznik (Onkyo)", Index: 38
2020-08-27 21:43:36.327  Status: dzVents: Info: HDMI changed
2020-08-27 21:43:36.328  Status: dzVents: Info: level przed = 10
2020-08-27 21:43:36.328  Status: dzVents: Info: levelName = 10
2020-08-27 21:43:36.328  Status: dzVents: Info: ekran lewel przed = Closed
2020-08-27 21:43:36.328  Status: dzVents: Info: ekran stan przed = On
2020-08-27 21:43:36.328  Status: dzVents: Info: ------ Finished ekran zarządzani                                                                                                  e
2020-08-27 21:43:36.328  Status: dzVents: Info: ------ Start internal script: wz                                                                                                  macniacz_PS3_PC: Device: "Onkyo wlacznik (Onkyo)", Index: 38
2020-08-27 21:43:36.335  Status: dzVents: Info: wlaczam RTV bo nie urlop
2020-08-27 21:43:36.340  Status: dzVents: Info: wylaczam PC po 10 minutach od pr                                                                                                  zelaczenia na inne źródło niż PC
2020-08-27 21:43:36.342  Status: dzVents: Info: wylaczam PS3 po 10 minutach od p                                                                                                  rzelaczenia na inne źródło niż GAME
2020-08-27 21:43:36.344  Status: dzVents: Info: wylaczam PS4 po 10 minutach od p                                                                                                  rzelaczenia na inne źródło niż CBL/SAT
2020-08-27 21:43:36.344  Status: dzVents: Info: ------ Finished wzmacniacz_PS3_P                                                                                                  C
2020-08-27 21:43:36.362  Status: EventSystem: Script event triggered: /home/pi/d                                                                                                  omoticz/dzVents/runtime/dzVents.lua
2020-08-27 21:43:36.401  (RF-LINK) Wind (Wiatr balkon)
2020-08-27 21:43:36.408  (Przelacznik) Light/Switch (RTV)
2020-08-27 21:43:36.416  (Przelacznik) Light/Switch (Router_sypialnia)
2020-08-27 21:43:36.531  (RF-LINK) Wind (Wiatr balkon)
2020-08-27 21:43:36.707  (RF-LINK) Wind (Wiatr balkon)
2020-08-27 21:43:37.326  Status: (Balkon) Entering work loop.
2020-08-27 21:43:37.326  Status: (Balkon) Initialized version 0.1.1, author 'Deennoo'
2020-08-27 21:43:37.391  (RF-LINK) Rain (Deszcze balkon)
2020-08-27 21:43:37.514  Status: (Odkurzacz) Entering work loop.
2020-08-27 21:43:37.515  Status: (Odkurzacz) Initialized version 0.1.3, author 'mrin'
2020-08-27 21:43:37.726  Status: (żarówka gabinet) Entering work loop.
2020-08-27 21:43:37.726  Status: (żarówka gabinet) Initialized version 0.1.2, author 'Deennoo'
2020-08-27 21:43:37.731  (airly) Debug logging mask set to: NONE
2020-08-27 21:43:38.012  (airly) Starting device update
2020-08-27 21:43:38.013  (airly) Update unit=9; nValue=0; sValue=Domaniewska 52, Warsaw<br/>Station founder: Anonimowy
2020-08-27 21:43:38.315  (airly) Starting device update
2020-08-27 21:43:38.315  (airly) Update unit=2; nValue=0; sValue=Unfortunately sensor in this location has been probably disconnected from power.
2020-08-27 21:43:38.318  (airly) Update unit=9; nValue=0; sValue=Domaniewska 52, Warsaw<br/>Station founder: Anonimowy
2020-08-27 21:43:38.346  (Deconz zigbee) Domoticz and deCONZ are on same machine
2020-08-27 21:43:38.347  (Deconz zigbee) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE
2020-08-27 21:43:38.357  (Balkon) Debug logging mask set to: NONE
2020-08-27 21:43:38.365  (Odkurzacz) Debug logging mask set to: PYTHON PLUGIN QUEUE IMAGE DEVICE CONNECTION MESSAGE ALL
2020-08-27 21:43:38.365  (Odkurzacz) 'HardwareID':'22'
2020-08-27 21:43:38.365  (Odkurzacz) 'HomeFolder':'/home/pi/domoticz/plugins/xiaomi-mirobot/'
2020-08-27 21:43:38.365  (Odkurzacz) 'StartupFolder':'/home/pi/domoticz/'
2020-08-27 21:43:38.366  (Odkurzacz) 'UserDataFolder':'/home/pi/domoticz/'
2020-08-27 21:43:38.366  (Odkurzacz) 'Database':'/home/pi/domoticz/domoticz.db'
2020-08-27 21:43:38.366  (Odkurzacz) 'Language':'en'
2020-08-27 21:43:38.366  (Odkurzacz) 'Version':'0.1.3'
2020-08-27 21:43:38.366  (Odkurzacz) 'Author':'mrin'
2020-08-27 21:43:38.366  (Odkurzacz) 'Name':'Odkurzacz'
2020-08-27 21:43:38.366  (Odkurzacz) 'Port':'0'
2020-08-27 21:43:38.366  (Odkurzacz) 'Key':'xiaomi-mi-robot-vacuum'
2020-08-27 21:43:38.367  (Odkurzacz) 'Mode2':'15'
2020-08-27 21:43:38.367  (Odkurzacz) 'Mode4':'Debug'
2020-08-27 21:43:38.367  (Odkurzacz) 'Mode5':'selector'
2020-08-27 21:43:38.367  (Odkurzacz) 'Mode6':'127.0.0.1:22222'
2020-08-27 21:43:38.367  (Odkurzacz) 'DomoticzVersion':'2020.2'
2020-08-27 21:43:38.367  (Odkurzacz) 'DomoticzHash':'b63341bc0'
2020-08-27 21:43:38.367  (Odkurzacz) 'DomoticzBuildTime':'2020-04-26 13:47:55'
2020-08-27 21:43:38.367  (Odkurzacz) Device count: 9
2020-08-27 21:43:38.368  (Odkurzacz) Device:           1 - ID: 1810, Name: 'Odkurzacz - Status', nValue: 0, sValue: 'Charging'
2020-08-27 21:43:38.368  (Odkurzacz) Device ID:       '1810'
2020-08-27 21:43:38.368  (Odkurzacz) Device Name:     'Odkurzacz - Status'
2020-08-27 21:43:38.368  (Odkurzacz) Device nValue:    0
2020-08-27 21:43:38.368  (Odkurzacz) Device sValue:   'Charging'
2020-08-27 21:43:38.368  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.368  (Odkurzacz) Device:           2 - ID: 1811, Name: 'Odkurzacz - Sterowanie', nValue: 0, sValue: ''
2020-08-27 21:43:38.368  (Odkurzacz) Device ID:       '1811'
2020-08-27 21:43:38.368  (Odkurzacz) Device Name:     'Odkurzacz - Sterowanie'
2020-08-27 21:43:38.368  (Odkurzacz) Device nValue:    0
2020-08-27 21:43:38.368  (Odkurzacz) Device sValue:   ''
2020-08-27 21:43:38.369  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.369  (Odkurzacz) Device:           4 - ID: 1812, Name: 'Odkurzacz - Moc ssania', nValue: 1, sValue: '30'
2020-08-27 21:43:38.369  (Odkurzacz) Device ID:       '1812'
2020-08-27 21:43:38.369  (Odkurzacz) Device Name:     'Odkurzacz - Moc ssania'
2020-08-27 21:43:38.369  (Odkurzacz) Device nValue:    1
2020-08-27 21:43:38.369  (Odkurzacz) Device sValue:   '30'
2020-08-27 21:43:38.369  (Odkurzacz) Device LastLevel: 30
2020-08-27 21:43:38.369  (Odkurzacz) Device:           5 - ID: 1813, Name: 'Odkurzacz - Battery', nValue: 100, sValue: '100'
2020-08-27 21:43:38.369  (Odkurzacz) Device ID:       '1813'
2020-08-27 21:43:38.369  (Odkurzacz) Device Name:     'Odkurzacz - Battery'
2020-08-27 21:43:38.369  (Odkurzacz) Device nValue:    100
2020-08-27 21:43:38.369  (Odkurzacz) Device sValue:   '100'
2020-08-27 21:43:38.369  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.370  (Odkurzacz) Device:           6 - ID: 1814, Name: 'Odkurzacz - Care Main Brush', nValue: 11, sValue: '11'
2020-08-27 21:43:38.370  (Odkurzacz) Device ID:       '1814'
2020-08-27 21:43:38.370  (Odkurzacz) Device Name:     'Odkurzacz - Care Main Brush'
2020-08-27 21:43:38.370  (Odkurzacz) Device nValue:    11
2020-08-27 21:43:38.370  (Odkurzacz) Device sValue:   '11'
2020-08-27 21:43:38.370  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.370  (Odkurzacz) Device:           7 - ID: 1815, Name: 'Odkurzacz - Care Side Brush', nValue: -33, sValue: '-33'
2020-08-27 21:43:38.370  (Odkurzacz) Device ID:       '1815'
2020-08-27 21:43:38.370  (Odkurzacz) Device Name:     'Odkurzacz - Care Side Brush'
2020-08-27 21:43:38.370  (Odkurzacz) Device nValue:    -33
2020-08-27 21:43:38.370  (Odkurzacz) Device sValue:   '-33'
2020-08-27 21:43:38.370  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.371  (Odkurzacz) Device:           8 - ID: 1816, Name: 'Odkurzacz - Care Sensors ', nValue: -787, sValue: '-787'
2020-08-27 21:43:38.371  (Odkurzacz) Device ID:       '1816'
2020-08-27 21:43:38.371  (Odkurzacz) Device Name:     'Odkurzacz - Care Sensors '
2020-08-27 21:43:38.371  (Odkurzacz) Device nValue:    -787
2020-08-27 21:43:38.371  (Odkurzacz) Device sValue:   '-787'
2020-08-27 21:43:38.371  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.371  (Odkurzacz) Device:           9 - ID: 1817, Name: 'Odkurzacz - Care Filter', nValue: -77, sValue: '-77'
2020-08-27 21:43:38.371  (Odkurzacz) Device ID:       '1817'
2020-08-27 21:43:38.371  (Odkurzacz) Device Name:     'Odkurzacz - Care Filter'
2020-08-27 21:43:38.371  (Odkurzacz) Device nValue:    -77
2020-08-27 21:43:38.371  (Odkurzacz) Device sValue:   '-77'
2020-08-27 21:43:38.371  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.372  (Odkurzacz) Device:           10 - ID: 1818, Name: 'Odkurzacz - Care Reset Control', nValue: 0, sValue: ''
2020-08-27 21:43:38.372  (Odkurzacz) Device ID:       '1818'
2020-08-27 21:43:38.372  (Odkurzacz) Device Name:     'Odkurzacz - Care Reset Control'
2020-08-27 21:43:38.372  (Odkurzacz) Device nValue:    0
2020-08-27 21:43:38.372  (Odkurzacz) Device sValue:   ''
2020-08-27 21:43:38.372  (Odkurzacz) Device LastLevel: 0
2020-08-27 21:43:38.372  (Odkurzacz) Pushing 'ProtocolDirective' on to queue
2020-08-27 21:43:38.372  (Odkurzacz) Pushing 'PollIntervalDirective' on to queue
2020-08-27 21:43:38.378  (żarówka gabinet) onStart called
2020-08-27 21:43:38.378  (żarówka gabinet) Debug logging mask set to: NONE
2020-08-27 21:43:38.378  (żarówka gabinet) Device UNIT_SCENES with id 1 exist
2020-08-27 21:43:38.378  (żarówka gabinet) Device UNIT_CCCW with id 2 exist
Traceback (most recent call last):
  File "./MyBulb.py", line 11, in <module>
    import miio.philips_bulb
  File "/home/pi/.local/lib/python3.7/site-packages/miio/__init__.py", line 2, in <module>
    from miio.airconditioningcompanion import (
  File "/home/pi/.local/lib/python3.7/site-packages/miio/airconditioningcompanion.py", line 8, in <module>
    from .device import Device
  File "/home/pi/.local/lib/python3.7/site-packages/miio/device.py", line 8, in <module>
    from .miioprotocol import MiIOProtocol
  File "/home/pi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 16, in <module>
    from .protocol import Message
  File "/home/pi/.local/lib/python3.7/site-packages/miio/protocol.py", line 207, in <module>
    Const(0x2131, Int16ub),
  File "/home/pi/.local/lib/python3.7/site-packages/construct/core.py", line 1930, in __init__
    super(Const, self).__init__(subcon)
  File "/home/pi/.local/lib/python3.7/site-packages/construct/core.py", line 288, in __init__
    raise TypeError("subcon should be a Construct field")
TypeError: subcon should be a Construct field
2020-08-27 21:43:39.833  (żarówka gabinet) Get status failed: Command '['./MyBulb.py', '192.168.54.73', '608eca5ffa2b7f8099afad83638754ba']' returned non-zero exit status 1.
2020-08-27 21:43:39.834  (żarówka gabinet) Update status failed: 'BulbStatus' object has no attribute 'color_temperature'
2020-08-27 21:43:39.841  (żarówka gabinet) Problem with zarówka gabinet - CCCW
2020-08-27 21:43:39.843  (żarówka gabinet) Problem with żarówka gabinet - Scenes
2020-08-27 21:43:39.843  (żarówka gabinet) Starting device update
2020-08-27 21:43:39.843  (Odkurzacz) Processing 'ProtocolDirective' message
2020-08-27 21:43:39.843  (Odkurzacz) Protocol set to: 'None'.
2020-08-27 21:43:39.843  (Odkurzacz) Processing 'PollIntervalDirective' message
2020-08-27 21:43:39.843  (Odkurzacz) Heartbeat interval set to: 15.
2020-08-27 21:43:47.570 Error, Node044, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "NoOperation_Set (Node=44): 0x01, 0x09, 0x00, 0x13, 0x2c, 0x02, 0x00, 0x00, 0x25, 0x0d, 0xe3"
2020-08-27 21:43:47.572 Always,
2020-08-27 21:43:47.572 Always, Dumping queued log messages
2020-08-27 21:43:47.572 Always,
2020-08-27 21:43:47.572 Always,
2020-08-27 21:43:47.572 Always, End of queued log message dump
2020-08-27 21:43:47.572 Always,
2020-08-27 21:43:47.573  Status: OpenZWave: Received timeout notification from HomeID: 3487760909, NodeID: 44 (0x2c)
2020-08-27 21:43:49.345  (Odkurzacz) Pushing 'onHeartbeatCallback' on to queue
2020-08-27 21:43:49.345  (Deconz zigbee) Pushing 'onHeartbeatCallback' on to queue
2020-08-27 21:43:49.363  (Odkurzacz) Processing 'onHeartbeatCallback' message
2020-08-27 21:43:49.363  (Odkurzacz) Calling message handler 'onHeartbeat'.
2020-08-27 21:43:49.363  (Odkurzacz) Pushing 'ConnectDirective' on to queue
2020-08-27 21:43:49.363  (Odkurzacz) Trying connect to MIIOServer 127.0.0.1:22222
Traceback (most recent call last):
  File "./MyAir.py", line 11, in <module>
    import miio.airqualitymonitor
  File "/home/pi/.local/lib/python3.7/site-packages/miio/__init__.py", line 2, in <module>
    from miio.airconditioningcompanion import (
  File "/home/pi/.local/lib/python3.7/site-packages/miio/airconditioningcompanion.py", line 8, in <module>
    from .device import Device
  File "/home/pi/.local/lib/python3.7/site-packages/miio/device.py", line 8, in <module>
    from .miioprotocol import MiIOProtocol
  File "/home/pi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 16, in <module>
    from .protocol import Message
  File "/home/pi/.local/lib/python3.7/site-packages/miio/protocol.py", line 207, in <module>
    Const(0x2131, Int16ub),
  File "/home/pi/.local/lib/python3.7/site-packages/construct/core.py", line 1930, in __init__
    super(Const, self).__init__(subcon)
  File "/home/pi/.local/lib/python3.7/site-packages/construct/core.py", line 288, in __init__
    raise TypeError("subcon should be a Construct field")
TypeError: subcon should be a Construct field
2020-08-27 21:43:50.333  Error: (Balkon) Unrecognized error: Command '['bash', '-c', './MyAir.py 192.168.54.162 ciach']' returned non-zero exit status 1.
2020-08-27 21:43:50.333  (Deconz zigbee) Processing 'onHeartbeatCallback' message
2020-08-27 21:43:50.333  (Deconz zigbee) Calling message handler 'onHeartbeat'.
2020-08-27 21:43:50.333  (Deconz zigbee) onHeartbeat called
2020-08-27 21:43:50.333  (Deconz zigbee) ### Initialisation > config
2020-08-27 21:43:50.334  (Deconz zigbee) ### Request config
2020-08-27 21:43:50.334  (Deconz zigbee) Send Command /api/1845DDEC5A/config/ with None (0 in buffer)
ciach
2020-08-27 21:43:50.371  Status: (Deconz zigbee) Firmware version : 0x26350500
2020-08-27 21:43:50.371  Status: (Deconz zigbee) Websocketnotifyall : True
2020-08-27 21:43:50.371  (Deconz zigbee) Pushing 'ConnectDirective' on to queue
2020-08-27 21:43:50.371  (Deconz zigbee) ### Request lights
ciach
2020-08-27 21:43:50.491  (Odkurzacz) Processing 'ConnectDirective' message
2020-08-27 21:43:50.491  (Odkurzacz) Transport set to: 'TCP/IP', 127.0.0.1:22222.
2020-08-27 21:43:50.492  (Odkurzacz) Connect directive received, action initiated successfully.
2020-08-27 21:43:50.492  (Deconz zigbee) Processing 'ConnectDirective' message
2020-08-27 21:43:50.492  (Deconz zigbee) Protocol for 'deCONZ_WebSocket' not specified, 'None' assumed.
2020-08-27 21:43:50.492  (Deconz zigbee) Transport set to: 'TCP/IP', 127.0.0.1:443.
2020-08-27 21:43:50.494  (Deconz zigbee) Connect directive received, action initiated successfully.
2020-08-27 21:43:50.495  (Odkurzacz) Pushing 'onConnectCallback' on to queue
2020-08-27 21:43:50.495  (Deconz zigbee) Pushing 'onConnectCallback' on to queue
2020-08-27 21:43:50.544  (Odkurzacz) Processing 'onConnectCallback' message
2020-08-27 21:43:50.544  (Odkurzacz) Calling message handler 'onConnect'.
2020-08-27 21:43:50.544  (Odkurzacz) MIIOServer connection status is [0] [Success]
2020-08-27 21:43:50.544  (Deconz zigbee) Processing 'onConnectCallback' message
2020-08-27 21:43:50.545  (Deconz zigbee) Calling message handler 'onConnect'.
2020-08-27 21:43:50.545  (Deconz zigbee) onConnect called
2020-08-27 21:43:50.545  Status: (Deconz zigbee) Launching websocket on port 443
2020-08-27 21:43:50.545  (Deconz zigbee) Pushing 'WriteDirective' on to queue
2020-08-27 21:43:50.545  (Deconz zigbee) Processing 'WriteDirective' message
ciach
***Date: Thu, 27 Aug 2020 19:43:50 GMT/127.0.0.1aG9c=ndshake : HTTP/1.1 101 Switching Protocols
^C2020-08-27 21:43:52.486  Status: Closing application!...
2020-08-27 21:43:52.486  Status: Stopping worker...
2020-08-27 21:43:52.596  Status: RxQueue: queue worker stopped...
2020-08-27 21:43:53.097  Status: WebServer(HTTP) stopped
2020-08-27 21:43:53.098  Status: TCPServer: shared server stopped
2020-08-27 21:43:53.098  Status: Stopping all hardware...
2020-08-27 21:43:53.099  Status: OpenZWave: Closed
2020-08-27 21:43:53.099 Always, ***************************************************************************
2020-08-27 21:43:53.099 Always, *********************  Cumulative Network Statistics  *********************
2020-08-27 21:43:53.099 Always, *** General
2020-08-27 21:43:53.099 Always, Driver run time: . .  . 0 days, 0 hours, 0 minutes
2020-08-27 21:43:53.100 Always, Frames processed: . . . . . . . . . . . . . . . . . . . . 56
2020-08-27 21:43:53.100 Always, Total messages successfully received: . . . . . . . . . . 56
2020-08-27 21:43:53.100 Always, Total Messages successfully sent: . . . . . . . . . . . . 36
2020-08-27 21:43:53.100 Always, ACKs received from controller:  . . . . . . . . . . . . . 36
2020-08-27 21:43:53.100 Always, *** Errors
2020-08-27 21:43:53.100 Always, Unsolicited messages received while waiting for ACK:  . . 0
2020-08-27 21:43:53.100 Always, Reads aborted due to timeouts:  . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, Bad checksum errors:  . . . . . . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, CANs received from controller:  . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, NAKs received from controller:  . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, Out of frame data flow errors:  . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, Messages retransmitted: . . . . . . . . . . . . . . . . . 0
2020-08-27 21:43:53.100 Always, Messages dropped and not delivered: . . . . . . . . . . . 1
2020-08-27 21:43:53.100 Always, ***************************************************************************
2020-08-27 21:43:53.101 Error, Node015, ERROR: Dropping command, expected response not received after 1 attempt(s). Command: "NoOperation_Set (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x00, 0x00, 0x25, 0x1a, 0xd7"
2020-08-27 21:43:53.101 Always,
2020-08-27 21:43:53.101 Always, Dumping queued log messages
2020-08-27 21:43:53.101 Always,
2020-08-27 21:43:53.102 Always,
2020-08-27 21:43:53.102 Always, End of queued log message dump
2020-08-27 21:43:53.102 Always,
2020-08-27 21:43:53.259  Status: OnkyoAVTCP: TCP/IP Worker stopped...
2020-08-27 21:43:53.259  Status: YeeLight stopped
2020-08-27 21:43:53.263  Status: RFLink: Worker stopped...
2020-08-27 21:43:53.268  Status: (airly) Stop directive received.
2020-08-27 21:43:53.268  Status: (airly) Exiting work loop.
2020-08-27 21:43:53.302  (airly) onStop called
2020-08-27 21:43:53.303  (airly) Debug logging mask set to: NONE
2020-08-27 21:43:53.568  Status: (airly) Stopping threads.
2020-08-27 21:43:53.568  Status: (airly) Stopped.
2020-08-27 21:43:53.580  Status: (Deconz zigbee) Stop directive received.
2020-08-27 21:43:53.580  (Deconz zigbee) Pushing 'DisconnectDirective' on to queue
2020-08-27 21:43:53.580  Status: (Deconz zigbee) Exiting work loop.
2020-08-27 21:43:53.601  (Deconz zigbee) Processing 'DisconnectDirective' message
2020-08-27 21:43:53.601  (Deconz zigbee) Disconnect directive received for '127.0.0.1:443'.
2020-08-27 21:43:53.601  (Deconz zigbee) Handling TCP disconnect, socket (127.0.0.1:443) is connected
2020-08-27 21:43:53.602  (Deconz zigbee) Queued asynchronous read aborted (127.0.0.1:443), [125] Operation canceled.
2020-08-27 21:43:53.602  (Deconz zigbee) Pushing 'DisconnectedEvent' on to queue
2020-08-27 21:43:53.652  (Deconz zigbee) Processing 'DisconnectedEvent' message
2020-08-27 21:43:53.652  (Deconz zigbee) Disconnect event received for '127.0.0.1:443'.
2020-08-27 21:43:53.652  (Deconz zigbee) Pushing 'onDisconnectCallback' on to queue
2020-08-27 21:43:53.652  (Deconz zigbee) Pushing 'onStopCallback' on to queue
2020-08-27 21:43:53.652  (Deconz zigbee) Processing 'onDisconnectCallback' message
2020-08-27 21:43:53.652  (Deconz zigbee) Calling message handler 'onDisconnect'.
2020-08-27 21:43:53.652  Status: (Deconz zigbee) onDisconnect called for deCONZ_WebSocket
2020-08-27 21:43:53.652  (Deconz zigbee) Processing 'onStopCallback' message
2020-08-27 21:43:53.652  (Deconz zigbee) Calling message handler 'onStop'.
2020-08-27 21:43:53.652  (Deconz zigbee) onStop called
2020-08-27 21:43:53.652  Error: CConnection_disconnect, disconnection request from 'Deconz zigbee' ignored. Transport does not exist.
2020-08-27 21:43:53.994  Status: (Deconz zigbee) Stopping threads.
2020-08-27 21:43:53.994  Status: (Deconz zigbee) Stopped.
2020-08-27 21:43:53.994  Status: (Balkon) Stop directive received.
2020-08-27 21:43:53.994  Status: (Balkon) Exiting work loop.
2020-08-27 21:43:54.037  (Balkon) onStop called
2020-08-27 21:43:54.037  (Balkon) Debug logging mask set to: NONE
2020-08-27 21:43:54.294  Status: (Balkon) Stopping threads.
2020-08-27 21:43:54.294  Status: (Balkon) Stopped.
2020-08-27 21:43:54.295  Status: (Odkurzacz) Stop directive received.
2020-08-27 21:43:54.295  Status: (Odkurzacz) Exiting work loop.
2020-08-27 21:43:54.295  (Odkurzacz) Pushing 'DisconnectDirective' on to queue
2020-08-27 21:43:54.318  (Odkurzacz) Processing 'DisconnectDirective' message
2020-08-27 21:43:54.318  (Odkurzacz) Disconnect directive received for '127.0.0.1:22222'.
2020-08-27 21:43:54.318  (Odkurzacz) Handling TCP disconnect, socket (127.0.0.1:22222) is connected
2020-08-27 21:43:54.320  (Odkurzacz) Queued asynchronous read aborted (127.0.0.1:22222), [2] End of file.
2020-08-27 21:43:54.320  (Odkurzacz) Pushing 'DisconnectedEvent' on to queue
2020-08-27 21:43:54.370  (Odkurzacz) Processing 'DisconnectedEvent' message
2020-08-27 21:43:54.370  (Odkurzacz) Disconnect event received for '127.0.0.1:22222'.
2020-08-27 21:43:54.370  (Odkurzacz) Pushing 'onDisconnectCallback' on to queue
2020-08-27 21:43:54.370  (Odkurzacz) Pushing 'onStopCallback' on to queue
2020-08-27 21:43:54.370  (Odkurzacz) Processing 'onDisconnectCallback' message
2020-08-27 21:43:54.370  (Odkurzacz) Calling message handler 'onDisconnect'.
2020-08-27 21:43:54.370  (Odkurzacz) MIIOServer disconnected
2020-08-27 21:43:54.370  (Odkurzacz) Processing 'onStopCallback' message
2020-08-27 21:43:54.370  (Odkurzacz) Calling message handler 'onStop'.
2020-08-27 21:43:54.495  Status: (Odkurzacz) Stopping threads.
2020-08-27 21:43:54.495  Status: (Odkurzacz) Stopped.
2020-08-27 21:43:54.495  Status: (żarówka gabinet) Stop directive received.
2020-08-27 21:43:54.495  Status: (żarówka gabinet) Exiting work loop.
2020-08-27 21:43:54.525  (żarówka gabinet) onStop called
2020-08-27 21:43:54.525  (żarówka gabinet) Debug logging mask set to: NONE
2020-08-27 21:43:54.596  Status: (żarówka gabinet) Stopping threads.
2020-08-27 21:43:54.596  Status: (żarówka gabinet) Stopped.
2020-08-27 21:43:54.596  Status: Scheduler stopped...
2020-08-27 21:43:54.596  Status: EventSystem: Stopped...
2020-08-27 21:43:54.596  Status: EventSystem: Queue thread stopped...
2020-08-27 21:43:54.644  Status: EventSystem - Python stopped...
2020-08-27 21:43:54.645  Status: NotificationSystem: thread stopped...
2020-08-27 21:43:54.646  Status: PluginSystem: Exiting work loop.
2020-08-27 21:43:54.713  Status: PluginSystem: Stopped.
2020-08-27 21:43:54.713  Status: Mainworker Stopped...
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dzvents timer events not triggered

Post by waaren »

greenwitch wrote: Thursday 27 August 2020 22:05 full startup log.
I tested the scripts on my testsystem and they are triggered on the minute.
Can you try again starting manually and please make sure you wait until at least two minutes have passed ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered

Post by greenwitch »

Hi Warren,

I have sent you log in pm.
There are some tokens for xiaomi devices I dont want to make them public just in case.

Adam
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dzvents timer events not triggered

Post by waaren »

greenwitch wrote: Thursday 27 August 2020 22:48 I have sent you log in pm.
From the dzVents error message I see every minute on the minute, it looks like one of your scripts (probably not the one you posted as that one works) does have a malformed timer section, sending a string where a table is expected.

something like timer = 'every minute' where timer = { 'every minute' } is expected.

Can you please show the result of

Code: Select all

sudo grep -wrin -a5 timer /home/pi/domoticz/scripts/dzVents/
You can also insert

Code: Select all


						if type(event) ~= 'table' then
							utils.log(logScript .. module.name .. '.lua has a malformed timer-section. Check the documentation.', utils.LOG_ERROR)
							event = { event }
						end
between line 649 and line 650 in /home/pi/domoticz/dzVents/runtime/EventHelpers.lua
This will identify the script with the malformed timer-section.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
greenwitch
Posts: 24
Joined: Saturday 26 May 2018 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Contact:

Re: Dzvents timer events not triggered  [Solved]

Post by greenwitch »

Thanks a lot!
It is script I have implemented from the internet without really understanding what is happening in it long time ago and forgot about it:
2020-08-28 10:58:00.426 Error: dzVents: Error: (3.0.2) Internal script low battery.lua has a malformed timer-section. Check the documentation.

This is first class support. Thank you again!

Adam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest