Easy to use, 100% Lua-based event scripting framework.
Moderator: leecollings
hestia
Posts: 361 Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:
Post
by hestia » Thursday 23 April 2020 22:35
Follow-up with new testing after installing 2020.1
Same issue withe the same devices and another one (perhaps I didn't show it was ok previously):
When I use the switchOn() method, there is no effect on the light!
Still working with json in dzVents
Version: 2020.1 (build 11970)
Build Hash: 2da8b25ad
Compile Date: 2020-04-23 14:56:59
dzVents Version: 3.0.2
hestia
Posts: 361 Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:
Post
by hestia » Sunday 26 April 2020 21:19
Tested again with the last "stable" 2020.2
I had the same issue for 2 devices. I've clicked "Refresh Node" and there were OK.
But a "Qubino (Goap) ZMNHSDx Din Dimmer+" has still this issue.
I've clicked "Refresh Node" and nothing change.
I've also excluded and included the node w/o any success.
By the way the node works fine with the GUI, with the switch in the wall and the state is well updated in Domoticz and also the Watt in real time.
I could also switch on and off the device with a json in dzVents, but not with .switchOn()
waaren
Posts: 6028 Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:
Post
by waaren » Sunday 26 April 2020 21:38
hestia wrote: Sunday 26 April 2020 21:19
But a "Qubino (Goap) ZMNHSDx Din Dimmer+" has still this issue.
I've clicked "Refresh Node" and nothing change.
Out of options here as dzVents sends the right commands. If the devices do not react to these commands there is nothing dzVents can do different to make them work.
What might help in identifying what''s happening is to tutn on dzVents and domoticz debug logging and trace what is send to these devices with the commands you use.
The domoticz logfile location and other settings are defined in /etc/init.d/domoticz.sh
the relevant settings are in set to the DAEMON_ARGS var.
with an editor of choice
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log" # or any other OS file
#DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error, debug" # debug disabled for now
DAEMON_ARGS="$DAEMON_ARGS -loglevel normal,status,error" # these loglevels will make it to the logfile
#DAEMON_ARGS="$DAEMON_ARGS -debuglevel normal,hardware,received,webserver,eventsystem,python,thread_id"
Code: Select all
sudo systemctl daemon-reload
sudo service domoticz stop
sudo service domoticz start
sudo tail -f /var/log/domoticz.log
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>>
dzVents wiki
hestia
Posts: 361 Joined: Monday 25 December 2017 23:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Paris
Contact:
Post
by hestia » Sunday 26 April 2020 23:32
Thanks for your reply
the log
Spoiler: show 2020-04-26 23:16:24.037 Status: User: admhestia initiated a switch command (202/test detecteur 202/On)
2020-04-26 23:16:24.047 (Dummy1) Light/Switch (test detecteur 202)
2020-04-26 23:16:24.246 Status: dzVents: !Info: SwitchToggle: 1 Device test inter 204 (204) Off to ON
2020-04-26 23:16:24.247 Status: dzVents: !Info: SwitchToggle: 2 Device Couloir (1109) Off to ON
2020-04-26 23:16:24.249 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2020-04-26 23:16:25.271 (Dummy1) Light/Switch (test inter 204)
2020-04-26 23:16:25.780 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1, Index: 0
2020-04-26 23:16:25.781 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Step Size, Instance: 1, Index: 6
2020-04-26 23:16:25.781 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Inc, Instance: 1, Index: 7
2020-04-26 23:16:25.781 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Dec, Instance: 1, Index: 8
2020-04-26 23:16:25.781 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Level, Instance: 1, Index: 0
2020-04-26 23:16:25.781 Status: SendSwitchIfNotExists: Device '11.instance.1.index.0.commandClasses.38' (Level) with DeviceID '00000B01' matches '11.instance.1.index.0.commandClasses.37' (Switch). Domoticz will use the Dimmer (and hide the Switch).
2020-04-26 23:16:25.781 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Bright, Instance: 1, Index: 1
2020-04-26 23:16:25.782 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Dim, Instance: 1, Index: 2
2020-04-26 23:16:26.036 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: SENSOR MULTILEVEL, Label: Power, Instance: 1, Index: 4
2020-04-26 23:16:26.037 (Z-Wave Plus Z-Stick Gen5) Usage (Haut escalier Watt)
2020-04-26 23:16:26.051 (Z-Wave Plus Z-Stick Gen5) Usage (Haut escalier Power Meter)
2020-04-26 23:16:26.074 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: METER, Label: Electric - kWh, Instance: 1, Index: 0
2020-04-26 23:16:26.074 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: METER, Label: Electric - W, Instance: 1, Index: 2
2020-04-26 23:16:26.074 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: METER, Label: Exporting, Instance: 1, Index: 256
2020-04-26 23:16:26.228 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2020-04-26 23:16:26.229 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: ALARM, Label: Heat, Instance: 1, Index: 4
2020-04-26 23:16:26.267 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: ALARM, Label: Power Management, Instance: 1, Index: 8
2020-04-26 23:16:26.307 OpenZWave: Value_Added: Node: 61 (0x3d), CommandClass: ALARM, Label: System, Instance: 1, Index: 9
2020-04-26 23:16:26.783 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: SENSOR MULTILEVEL, Label: Power, Instance: 1, Index: 4
2020-04-26 23:16:26.785 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:16:26.815 (Z-Wave Plus Z-Stick Gen5) Usage (Power Meter)
2020-04-26 23:16:26.823 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: METER, Label: Electric - kWh, Instance: 1, Index: 0
2020-04-26 23:16:26.823 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: METER, Label: Electric - W, Instance: 1, Index: 2
2020-04-26 23:16:26.823 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: METER, Label: Exporting, Instance: 1, Index: 256
2020-04-26 23:16:26.978 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2020-04-26 23:16:26.979 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: ALARM, Label: Heat, Instance: 1, Index: 4
2020-04-26 23:16:27.017 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: ALARM, Label: Power Management, Instance: 1, Index: 8
2020-04-26 23:16:27.055 OpenZWave: Value_Added: Node: 62 (0x3e), CommandClass: ALARM, Label: System, Instance: 1, Index: 9
2020-04-26 23:16:27.526 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: SENSOR MULTILEVEL, Label: Power, Instance: 1, Index: 4
2020-04-26 23:16:27.527 (Z-Wave Plus Z-Stick Gen5) Usage (Watt)
2020-04-26 23:16:27.540 (Z-Wave Plus Z-Stick Gen5) Usage (Power Meter)
2020-04-26 23:16:27.564 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: METER, Label: Electric - kWh, Instance: 1, Index: 0
2020-04-26 23:16:27.564 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: METER, Label: Electric - W, Instance: 1, Index: 2
2020-04-26 23:16:27.564 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: METER, Label: Exporting, Instance: 1, Index: 256
2020-04-26 23:16:27.717 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: ALARM, Label: Previous Event Cleared, Instance: 1, Index: 256
2020-04-26 23:16:27.717 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: ALARM, Label: Heat, Instance: 1, Index: 4
2020-04-26 23:16:27.756 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: ALARM, Label: Power Management, Instance: 1, Index: 8
2020-04-26 23:16:27.795 OpenZWave: Value_Added: Node: 76 (0x4c), CommandClass: ALARM, Label: System, Instance: 1, Index: 9
2020-04-26 23:16:28.646 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR MULTILEVEL, Label: Air Temperature, Instance: 1, Index: 1
2020-04-26 23:16:28.836 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: METER, Label: Electric - kWh, Instance: 1, Index: 0
2020-04-26 23:16:28.836 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: METER, Label: Electric - W, Instance: 1, Index: 2
2020-04-26 23:16:28.836 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: METER, Label: Exporting, Instance: 1, Index: 256
2020-04-26 23:16:34.926 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 53 (0x35)
2020-04-26 23:16:37.928 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 53 (0x35)
2020-04-26 23:16:38.221 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Chambre Pilot Radiateur Sensor2)
2020-04-26 23:16:38.644 (Z-Wave Plus Z-Stick Gen5) Color Switch (Unknown)
2020-04-26 23:16:39.995 (Z-Wave Plus Z-Stick Gen5) Usage (LED Table Watt)
2020-04-26 23:16:40.035 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:40.204 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:40.444 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:16:40.459 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:41.268 (Z-Wave Plus Z-Stick Gen5) Color Switch (Unknown)
2020-04-26 23:16:43.660 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:44.134 (Z-Wave Plus Z-Stick Gen5) Usage (Watt)
2020-04-26 23:16:44.164 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:44.599 Status: OpenZWave: Alarm received (Power Management: Clear), NodeID: 17 (0x11)
2020-04-26 23:16:44.601 (Z-Wave Plus Z-Stick Gen5) General/Alarm (Alarm Type: Power Management 8 (0x08))
2020-04-26 23:16:44.619 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Power Management)
2020-04-26 23:16:46.439 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Pilote radiateur SdB Sensor)
2020-04-26 23:16:46.783 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Pilote radiateur SdB Sensor)
2020-04-26 23:16:46.985 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Pilote radiateur SdB Sensor)
2020-04-26 23:16:48.738 OpenZWave: Value_Added: Node: 47 (0x2f), CommandClass: SENSOR MULTILEVEL, Label: Air Temperature, Instance: 1, Index: 1
2020-04-26 23:16:48.743 (Z-Wave Plus Z-Stick Gen5) Temp (Temperature)
2020-04-26 23:16:49.286 (Z-Wave Plus Z-Stick Gen5) General/kWh (Allée kWh Meter)
2020-04-26 23:16:49.364 (Z-Wave Plus Z-Stick Gen5) Usage (Allée Watt)
2020-04-26 23:16:49.377 (Z-Wave Plus Z-Stick Gen5) General/kWh (Allée kWh Meter)
2020-04-26 23:16:49.429 Status: OpenZWave: Alarm received (Power Management: Clear), NodeID: 59 (0x3b)
2020-04-26 23:16:49.429 (Z-Wave Plus Z-Stick Gen5) General/Alarm (Allée Alarm Type: Power Management 8 (0x08))
2020-04-26 23:16:49.444 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Allée Power Management)
2020-04-26 23:16:50.143 Status: User: admhestia initiated a switch command (202/test detecteur 202/Off)
2020-04-26 23:16:50.148 (Dummy1) Light/Switch (test detecteur 202)
2020-04-26 23:16:50.253 Status: dzVents: !Info: SwitchToggle: 1 Device test inter 204 (204) On to OFF
2020-04-26 23:16:50.255 Status: dzVents: !Info: SwitchToggle: 2 Device Couloir (1109) Off to OFF
2020-04-26 23:16:50.257 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2020-04-26 23:16:50.307 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:50.519 (Z-Wave Plus Z-Stick Gen5) Usage (Entrée Watt)
2020-04-26 23:16:50.536 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:16:51.266 (Dummy1) Light/Switch (test inter 204)
2020-04-26 23:16:55.199 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 80 (0x50)
2020-04-26 23:16:55.345 (Z-Wave Plus Z-Stick Gen5) Lux (Lux Terrasse)
2020-04-26 23:16:58.201 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 80 (0x50)
2020-04-26 23:16:58.355 (Z-Wave Plus Z-Stick Gen5) Lux (Lux Terrasse)
2020-04-26 23:17:00.953 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:01.198 (Z-Wave Plus Z-Stick Gen5) Usage (Salon Studio Watt)
2020-04-26 23:17:01.231 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:04.192 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 86 (0x56)
2020-04-26 23:17:04.403 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:04.417 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:04.674 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:04.944 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:04.973 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:07.364 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:07.644 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:07.674 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:07.932 Status: OpenZWave: Alarm received (Power Management: Clear), NodeID: 87 (0x57)
2020-04-26 23:17:07.933 (Z-Wave Plus Z-Stick Gen5) General/Alarm (Alarm Type: Power Management 8 (0x08))
2020-04-26 23:17:07.947 (Z-Wave Plus Z-Stick Gen5) Light/Switch (Power Management)
2020-04-26 23:17:12.590 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 94 (0x5e)
2020-04-26 23:17:12.762 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:12.792 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:13.022 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:13.289 (Z-Wave Plus Z-Stick Gen5) Usage (SdB 2 Studio Watt)
2020-04-26 23:17:13.306 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:13.552 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:13.829 (Z-Wave Plus Z-Stick Gen5) Usage (SdB 2 Studio Watt)
2020-04-26 23:17:13.862 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:19.932 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 99 (0x63)
2020-04-26 23:17:20.057 (Z-Wave Plus Z-Stick Gen5) Lux (Lux Portillon)
2020-04-26 23:17:20.586 (Z-Wave Plus Z-Stick Gen5) Usage (Entrée Watt)
2020-04-26 23:17:20.620 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:22.933 Status: OpenZWave: Received timeout notification from HomeID: 3795207774, NodeID: 99 (0x63)
2020-04-26 23:17:23.076 (Z-Wave Plus Z-Stick Gen5) Lux (Lux Portillon)
2020-04-26 23:17:24.722 (Z-Wave Plus Z-Stick Gen5) Usage (Haut escalier Watt)
2020-04-26 23:17:24.736 (Z-Wave Plus Z-Stick Gen5) General/kWh (Haut escalier kWh Meter)
2020-04-26 23:17:24.761 (Z-Wave Plus Z-Stick Gen5) General/kWh (Haut escalier kWh Meter)
2020-04-26 23:17:24.800 (Z-Wave Plus Z-Stick Gen5) Usage (Haut escalier Watt2)
2020-04-26 23:17:24.814 (Z-Wave Plus Z-Stick Gen5) General/kWh (Haut escalier kWh Meter)
2020-04-26 23:17:25.064 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:25.097 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:25.140 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:25.164 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:25.178 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:25.403 (Z-Wave Plus Z-Stick Gen5) Usage (Watt)
2020-04-26 23:17:25.418 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:25.442 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
2020-04-26 23:17:25.481 (Z-Wave Plus Z-Stick Gen5) Usage (Unknown)
2020-04-26 23:17:25.495 (Z-Wave Plus Z-Stick Gen5) General/kWh (kWh Meter)
In the script, there is 2 devices: 204 is a dummy to check that the script works and 1109 which is the device with the issue
Users browsing this forum: No registered users and 1 guest