OpenZWave / Zwave2Mqtt

Fully configurable Zwave to MQTT gateway and Control Panel using NodeJS and Vue
MIT License
356 stars 92 forks source link

Using openzwave 1.6 git build breaks nodes that are sleeping on startup #23

Closed sjorge closed 5 years ago

sjorge commented 5 years ago

At startup they show as DEAD again. startup

After the first checkin they show up correctly,... but the location and name get cleared. Node now shows as SLEEPING after wakeup

The received data from the node gets send to mqtt without the name/location so node-red (in my case) does no longer matches on the mqtt messages.

If I try to set the name and location again, the node ends up in the REMVOED state. (It does not show up again after another checkin, restarting zwave2mqtt brings it back) after update name/location

sjorge commented 5 years ago

2019-05-06T10:09:26.470Z z2m:Zwave ValueAdded: 2-49-1-1 Temperature
2019-05-06T10:09:26.470Z z2m:Zwave zwave node 2: changed: 49-1-1:Temperature:19.5 -> 19.5
2019-05-06T10:09:27.306Z z2m:Zwave ValueAdded: 2-49-1-5 Relative Humidity
2019-05-06T10:09:27.307Z z2m:Zwave zwave node 2: changed: 49-1-5:Relative Humidity:54 -> 54
2019-05-06T10:09:28.021Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-05-06T10:09:28.022Z z2m:Zwave ValueAdded: 2-114-1-0 Loaded Config Revision
2019-05-06T10:09:28.024Z z2m:Zwave ValueAdded: 2-114-1-1 Config File Revision
2019-05-06T10:09:28.025Z z2m:Zwave ValueAdded: 2-114-1-2 Latest Available Config File Revision
2019-05-06T10:09:28.026Z z2m:Zwave ValueAdded: 2-114-1-3 Device ID
2019-05-06T10:09:28.027Z z2m:Zwave ValueAdded: 2-114-1-4 Serial Number
2019-05-06T10:09:28.436Z z2m:Zwave zwave node 2: changed: 114-1-1:Config File Revision:0 -> 16
2019-05-06T10:09:28.438Z z2m:Zwave zwave node 2: changed: 114-1-0:Loaded Config Revision:0 -> 16
2019-05-06T10:09:28.441Z z2m:Zwave ValueAdded: 2-112-1-2 Wake up 10 minutes on Power On
2019-05-06T10:09:28.443Z z2m:Zwave ValueAdded: 2-112-1-3 On time
2019-05-06T10:09:28.444Z z2m:Zwave ValueAdded: 2-112-1-4 Enable Motion Sensor
2019-05-06T10:09:28.446Z z2m:Zwave ValueAdded: 2-112-1-5 Command Options
2019-05-06T10:09:28.447Z z2m:Zwave ValueAdded: 2-112-1-8 Awake timeout
2019-05-06T10:09:28.447Z z2m:Zwave ValueAdded: 2-112-1-9 Current power mode
2019-05-06T10:09:28.448Z z2m:Zwave ValueAdded: 2-112-1-39 Low Battery
2019-05-06T10:09:28.449Z z2m:Zwave ValueAdded: 2-112-1-40 Report Only On Thresholds
2019-05-06T10:09:28.449Z z2m:Zwave ValueAdded: 2-112-1-41 Temperature Reporting Threshold
2019-05-06T10:09:28.450Z z2m:Zwave ValueAdded: 2-112-1-42 Humidity Reporting Threshold
2019-05-06T10:09:28.451Z z2m:Zwave ValueAdded: 2-112-1-43 Luminance Reporting Threshold
2019-05-06T10:09:28.452Z z2m:Zwave ValueAdded: 2-112-1-44 Battery Reporting Threshold
2019-05-06T10:09:28.452Z z2m:Zwave ValueAdded: 2-112-1-45 UV Reporting Threshold
2019-05-06T10:09:28.453Z z2m:Zwave ValueAdded: 2-112-1-46 Low Temp Alarm
unsupported value type: 0xa
2019-05-06T10:09:28.454Z z2m:Zwave ValueAdded: 2-112-1-48 Enable/disable to send a report on Threshold
2019-05-06T10:09:28.454Z z2m:Zwave ValueAdded: 2-112-1-49 Set the upper limit value of temperature sensor
2019-05-06T10:09:28.455Z z2m:Zwave ValueAdded: 2-112-1-50 Set the lower limit value of temperature sensor
2019-05-06T10:09:28.456Z z2m:Zwave ValueAdded: 2-112-1-51 Set the upper limit value of humidity sensor
2019-05-06T10:09:28.457Z z2m:Zwave ValueAdded: 2-112-1-52 Set the lower limit value of humidity sensor
2019-05-06T10:09:28.457Z z2m:Zwave ValueAdded: 2-112-1-53 Set the upper limit value of Lighting sensor
2019-05-06T10:09:28.458Z z2m:Zwave ValueAdded: 2-112-1-54 Set the lower limit value of Lighting sensor
2019-05-06T10:09:28.459Z z2m:Zwave ValueAdded: 2-112-1-55 Set the upper limit value of ultraviolet sensor
2019-05-06T10:09:28.460Z z2m:Zwave ValueAdded: 2-112-1-56 Set the lower limit value of ultraviolet sensor
2019-05-06T10:09:28.460Z z2m:Zwave ValueAdded: 2-112-1-57 Set the recover limit value of temperature sensor
2019-05-06T10:09:28.461Z z2m:Zwave ValueAdded: 2-112-1-58 Set the recover limit value of humidity sensor
2019-05-06T10:09:28.462Z z2m:Zwave ValueAdded: 2-112-1-59 Set the recover limit value of Lighting sensor
2019-05-06T10:09:28.463Z z2m:Zwave ValueAdded: 2-112-1-60 Set the recover limit value of Ultraviolet sensor
2019-05-06T10:09:28.463Z z2m:Zwave ValueAdded: 2-112-1-61 Get the out-of-limit state of the Sensors
2019-05-06T10:09:28.464Z z2m:Zwave ValueAdded: 2-112-1-64 Temperature scale
2019-05-06T10:09:28.464Z z2m:Zwave ValueAdded: 2-112-1-81 LED blinking report
2019-05-06T10:09:28.465Z z2m:Zwave ValueAdded: 2-112-1-100 Reset Params 101-103 to Default
unsupported value type: 0xa
2019-05-06T10:09:28.468Z z2m:Zwave ValueAdded: 2-112-1-101 Group 1 Reports
2019-05-06T10:09:28.469Z z2m:Zwave ValueAdded: 2-112-1-102 Group 2 Reports
2019-05-06T10:09:28.469Z z2m:Zwave ValueAdded: 2-112-1-103 Group 3 Reports
2019-05-06T10:09:28.470Z z2m:Zwave ValueAdded: 2-112-1-110 Reset Params 111-113 to Default
2019-05-06T10:09:28.470Z z2m:Zwave ValueAdded: 2-112-1-111 Group 1 Interval
2019-05-06T10:09:28.471Z z2m:Zwave ValueAdded: 2-112-1-112 Group 2 Interval
2019-05-06T10:09:28.474Z z2m:Zwave ValueAdded: 2-112-1-113 Group 3 Interval
2019-05-06T10:09:28.474Z z2m:Zwave ValueAdded: 2-112-1-201 Temperature Calibration
2019-05-06T10:09:28.475Z z2m:Zwave ValueAdded: 2-112-1-202 Humidity Calibration
2019-05-06T10:09:28.476Z z2m:Zwave ValueAdded: 2-112-1-203 Luminance Calibration
2019-05-06T10:09:28.476Z z2m:Zwave ValueAdded: 2-112-1-204 Ultraviolet Calibration
2019-05-06T10:09:28.477Z z2m:Zwave ValueAdded: 2-112-1-252 Enable/disable Lock Configuration
2019-05-06T10:09:28.477Z z2m:Zwave ValueAdded: 2-112-1-255 Reset To Factory Defaults
2019-05-06T10:09:28.651Z z2m:Zwave ValueAdded: 2-94-1-0 ZWave+ Version
2019-05-06T10:09:28.652Z z2m:Zwave ValueAdded: 2-94-1-1 InstallerIcon
2019-05-06T10:09:28.652Z z2m:Zwave ValueAdded: 2-94-1-2 UserIcon
2019-05-06T10:09:28.653Z z2m:Zwave ValueAdded: 2-134-1-0 Library Version
2019-05-06T10:09:28.653Z z2m:Zwave ValueAdded: 2-134-1-1 Protocol Version
2019-05-06T10:09:28.654Z z2m:Zwave ValueAdded: 2-134-1-2 Application Version
2019-05-06T10:09:28.655Z z2m:Zwave ValueAdded: 2-115-1-0 Powerlevel
2019-05-06T10:09:28.655Z z2m:Zwave ValueAdded: 2-115-1-1 Timeout
2019-05-06T10:09:28.656Z z2m:Zwave ValueAdded: 2-115-1-2 Set Powerlevel
2019-05-06T10:09:28.659Z z2m:Zwave ValueAdded: 2-115-1-3 Test Node
2019-05-06T10:09:28.660Z z2m:Zwave ValueAdded: 2-115-1-4 Test Powerlevel
2019-05-06T10:09:28.661Z z2m:Zwave ValueAdded: 2-115-1-5 Frame Count
2019-05-06T10:09:28.661Z z2m:Zwave ValueAdded: 2-115-1-6 Test
2019-05-06T10:09:28.662Z z2m:Zwave ValueAdded: 2-115-1-7 Report
2019-05-06T10:09:28.663Z z2m:Zwave ValueAdded: 2-115-1-8 Test Status
2019-05-06T10:09:28.663Z z2m:Zwave ValueAdded: 2-115-1-9 Acked Frames
2019-05-06T10:09:28.665Z z2m:Zwave ValueAdded: 2-132-1-0 Wake-up Interval
2019-05-06T10:09:28.667Z z2m:Zwave ValueAdded: 2-128-1-0 Battery Level
2019-05-06T10:09:28.667Z z2m:Zwave ValueAdded: 2-48-1-0 Sensor
2019-05-06T10:09:28.862Z z2m:Zwave zwave node 2: changed: 94-1-0:ZWave+ Version:0 -> 1
2019-05-06T10:09:28.864Z z2m:Zwave zwave node 2: changed: 94-1-1:InstallerIcon:0 -> 3079
2019-05-06T10:09:28.865Z z2m:Zwave zwave node 2: changed: 94-1-2:UserIcon:0 -> 3079
2019-05-06T10:09:29.254Z z2m:Zwave zwave node 2: changed: 114-1-2:Latest Available Config File Revision:0 -> 15
2019-05-06T10:09:33.183Z z2m:Zwave ValueAdded: 2-49-1-3 Luminance
2019-05-06T10:09:33.184Z z2m:Zwave zwave node 2: changed: 49-1-3:Luminance:0 -> 0
2019-05-06T10:09:33.323Z z2m:Zwave ValueAdded: 2-49-1-27 Ultraviolet
2019-05-06T10:09:33.323Z z2m:Zwave zwave node 2: changed: 49-1-27:Ultraviolet:0 -> 0
2019-05-06T10:09:39.069Z z2m:Zwave Notification from node 2: Notification - TimeOut (1)
2019-05-06T10:09:39.420Z z2m:Zwave ValueAdded: 2-132-1-1 Minimum Wake-up Interval
2019-05-06T10:09:39.421Z z2m:Zwave ValueAdded: 2-132-1-2 Maximum Wake-up Interval
2019-05-06T10:09:39.422Z z2m:Zwave ValueAdded: 2-132-1-3 Default Wake-up Interval
2019-05-06T10:09:39.422Z z2m:Zwave ValueAdded: 2-132-1-4 Wake-up Interval Step
2019-05-06T10:09:39.423Z z2m:Zwave node 2 AVAILABLE: AEON Labs - ZW100 MultiSensor 6 (Home Security Sensor)
2019-05-06T10:09:39.424Z z2m:Zwave ValueAdded: 2-113-1-512 Alarm Type
2019-05-06T10:09:39.424Z z2m:Zwave ValueAdded: 2-113-1-513 Alarm Level
2019-05-06T10:09:39.425Z z2m:Zwave ValueAdded: 2-113-1-514 Automatically Clear Events
2019-05-06T10:09:39.842Z z2m:Zwave zwave node 2: changed: 94-1-0:ZWave+ Version:1 -> 1
2019-05-06T10:09:39.843Z z2m:Zwave zwave node 2: changed: 94-1-1:InstallerIcon:3079 -> 3079
2019-05-06T10:09:39.844Z z2m:Zwave zwave node 2: changed: 94-1-2:UserIcon:3079 -> 3079
2019-05-06T10:09:40.060Z z2m:Zwave zwave node 2: changed: 114-1-4:Serial Number: -> 0c000100010108040900000708030300000000
2019-05-06T10:09:40.280Z z2m:Zwave zwave node 2: changed: 114-1-4:Serial Number:0c000100010108040900000708030300000000 -> 0c000100010108040900000708030300000000
2019-05-06T10:09:40.495Z z2m:Zwave zwave node 2: changed: 132-1-1:Minimum Wake-up Interval:0 -> 240
2019-05-06T10:09:40.497Z z2m:Zwave zwave node 2: changed: 132-1-2:Maximum Wake-up Interval:0 -> 3600
2019-05-06T10:09:40.497Z z2m:Zwave zwave node 2: changed: 132-1-3:Default Wake-up Interval:0 -> 3600
2019-05-06T10:09:40.498Z z2m:Zwave zwave node 2: changed: 132-1-4:Wake-up Interval Step:0 -> 60
2019-05-06T10:09:40.912Z z2m:Zwave zwave node 2: changed: 134-1-0:Library Version:Unknown -> 3
2019-05-06T10:09:40.913Z z2m:Zwave zwave node 2: changed: 134-1-1:Protocol Version:Unknown -> 4.54
2019-05-06T10:09:40.913Z z2m:Zwave zwave node 2: changed: 134-1-2:Application Version:Unknown -> 1.12
2019-05-06T10:09:41.330Z z2m:Zwave zwave node 2: changed: 115-1-0:Powerlevel:Normal -> Normal
2019-05-06T10:09:41.331Z z2m:Zwave zwave node 2: changed: 115-1-1:Timeout:0 -> 0
2019-05-06T10:09:41.541Z z2m:Zwave zwave node 2: changed: 132-1-0:Wake-up Interval:3600 -> 900
2019-05-06T10:09:41.749Z z2m:Zwave zwave node 2: changed: 48-1-0:Sensor:false -> false
2019-05-06T10:09:42.344Z z2m:Zwave zwave node 2: changed: 49-1-1:Temperature:19.5 -> 19.5
2019-05-06T10:09:42.444Z z2m:App New connection Np9_dinQ4kB0x4MoAAAD
2019-05-06T10:09:45.203Z z2m:Zwave zwave node 2: changed: 49-1-3:Luminance:0 -> 0
2019-05-06T10:09:45.943Z z2m:Zwave zwave node 2: changed: 49-1-5:Relative Humidity:54 -> 55
2019-05-06T10:09:48.903Z z2m:Zwave zwave node 2: changed: 49-1-27:Ultraviolet:0 -> 0
2019-05-06T10:09:50.425Z z2m:Zwave zwave node 2: changed: 128-1-0:Battery Level:100 -> 100
2019-05-06T10:09:50.432Z z2m:Zwave node 2 ready: AEON Labs - ZW100 MultiSensor 6 (Home Security Sensor)
2019-05-06T10:09:50.559Z z2m:Zwave Notification from node 2: Notification - Node Asleep (4)
2019-05-06T10:09:52.240Z z2m:App Zwave api call: setNodeName [ 2, 'multisensor' ]
2019-05-06T10:09:52.245Z z2m:Zwave Success zwave api call setNodeName
2019-05-06T10:09:52.246Z z2m:App Zwave api call: refreshNodeInfo [ 2 ]
2019-05-06T10:09:52.254Z z2m:Zwave Success zwave api call refreshNodeInfo
2019-05-06T10:09:52.255Z z2m:Zwave Node removed 2
2019-05-06T10:09:52.256Z z2m:Zwave Node added 2
2019-05-06T10:09:56.889Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-05-06T10:10:01.580Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-05-06T10:10:06.012Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-05-06T10:10:06.013Z z2m:Zwave Notification from node 2: Notification - Node Dead (5)```
sjorge commented 5 years ago

The log form checkin and sending the setNodeName command, screenshot above is after hitting the < arrow for updating tha name

sjorge commented 5 years ago

Going to revert to my previous openzwave build now, as a lot of stuff is broken I think. It probably has to do with the entire new config format.

robertsLando commented 5 years ago

@sjorge This is not a bug with Zwave2Mqtt right? I mean it is not a problem with the 1.1.0 version I released yesterday. If this is an Openzwave problem we can keep this issue open as a status tracker of Openzwave 1.6 compatibility.

It is not compatible for sure now at least not fully compatible until also node-openzwave-shared isn't updated with changes.

I think that once 1.6 is released we should create a project board on node-openzwave-shared with a todo list of the things that needs to be fixed.

sjorge commented 5 years ago

Yeah, this might be more of a openzwave-shared issue than a zwave2mqtt specific one.

robertsLando commented 5 years ago

Ok keep this open waiting for news about new release

GieBek commented 5 years ago

Hi, this is the fault of OpenZWave, I have exactly the same. All devices with batteries. Domoticz Updated: OpenZWave version 1.6.

Przechwytywanie

robertsLando commented 5 years ago

@Fishwaldo is this a known issue with 1.6?

Fishwaldo commented 5 years ago

https://github.com/domoticz/domoticz/issues/3213

Read towards the end...

robertsLando commented 5 years ago

@sjorge I have updated Zwave2MQTT to latest node-openzwave-shared version, does it works now?

sjorge commented 5 years ago

I tried this weekend, the node-openzwave-shared currently doesn’t compile anymore on SmartOS. I was a bit busy so I have not found a fix for that yet. I should have some time this weekend to look at it again.

robertsLando commented 5 years ago

@sjorge Ok thanks waiting for your feedback, I need to know if I can update docker openzwave to 1.6 safely

sjorge commented 5 years ago

PR for node-openzwave-shared opened, https://github.com/OpenZWave/node-openzwave-shared/pull/314

It builds again, will look at updating zwave2mqtt tomorrow

sjorge commented 5 years ago

Gah! I posted to the wrong issue!

That got merge and when running with node-openzwave-shared master I get zwave2mqtt to start. I let it settle for a bit and tried the switch I have (you know, the odd one that needs the verify stuff)...

  z2m:Store scenes.json not found +0ms
  z2m:App Application path:/opt/zwave2mqtt +0ms
Initialising OpenZWave 1.4.3448 binary addon for Node.JS.
        OpenZWave Security API is ENABLED
        ZWave device db    : /opt/local/etc/openzwave
        User settings path : /opt/zwave2mqtt/store
        Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey 0x58,0x50,0x3A,0x1C,0x0A,0xD7,0x66,0x6D,0x27,0x78,0x67,0x4C,0x1E,0xCB,0xC4,0x61
  z2m:Zwave Connecting to /dev/cua/0 +0ms
  z2m:App Listening on port 8091 +0ms
  z2m:Mqtt MQTT client connected +0ms
  z2m:Zwave Scanning network with homeid: 0xfc20d090 +1s
  z2m:Zwave Node added 1 +1ms
  z2m:Zwave node 1 AVAILABLE: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller) +1ms
  z2m:Zwave ValueAdded: 1-32-1-0 Basic +1ms
  z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision +3ms
  z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision +0ms
  z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision +0ms
  z2m:Zwave ValueAdded: 1-114-1-3 Device ID +1ms
  z2m:Zwave ValueAdded: 1-114-1-4 Serial Number +0ms
  z2m:Zwave Node added 4 +1ms
  z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW116 Nano Switch (On/Off Power Switch) +2ms
  z2m:Zwave ValueAdded: 4-37-1-0 Switch +0ms
  z2m:Zwave ValueAdded: 4-39-1-0 Switch All +1ms
  z2m:Zwave ValueAdded: 4-43-1-0 Scene +0ms
  z2m:Zwave ValueAdded: 4-43-1-1 Duration +1ms
  z2m:Zwave ValueAdded: 4-50-1-0 Energy +0ms
  z2m:Zwave ValueAdded: 4-50-1-1 Previous Reading +1ms
  z2m:Zwave ValueAdded: 4-50-1-2 Interval +0ms
  z2m:Zwave ValueAdded: 4-50-1-8 Power +0ms
  z2m:Zwave ValueAdded: 4-50-1-16 Voltage +1ms
  z2m:Zwave ValueAdded: 4-50-1-20 Current +0ms
  z2m:Zwave ValueAdded: 4-50-1-32 Exporting +1ms
  z2m:Zwave ValueAdded: 4-50-1-33 Reset +0ms
  z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version +1ms
  z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon +0ms
  z2m:Zwave ValueAdded: 4-94-1-2 UserIcon +0ms
  z2m:Zwave ValueAdded: 4-112-1-3 On time +1ms
  z2m:Zwave ValueAdded: 4-112-1-4 Enable Motion Sensor +0ms
  z2m:Zwave ValueAdded: 4-112-1-20 Status re-power on +1ms
  z2m:Zwave ValueAdded: 4-112-1-21 WallSwipe IR sensor +0ms
  z2m:Zwave ValueAdded: 4-112-1-64 Temperature scale +1ms
  z2m:Zwave ValueAdded: 4-112-1-65 WallSwipe LED Up gesture action +0ms
  z2m:Zwave ValueAdded: 4-112-1-66 WallSwipe LED Down gesture action +1ms
  z2m:Zwave ValueAdded: 4-112-1-67 WallSwipe LED Left gesture action +0ms
  z2m:Zwave ValueAdded: 4-112-1-68 WallSwipe LED Right gesture action +1ms
  z2m:Zwave ValueAdded: 4-112-1-69 WallSwipe Night light +0ms
  z2m:Zwave ValueAdded: 4-112-1-71 WallSwipe sensitivity +1ms
  z2m:Zwave ValueAdded: 4-112-1-80 Notification report association group 1 +0ms
  z2m:Zwave ValueAdded: 4-112-1-81 LED blinking report +1ms
  z2m:Zwave ValueAdded: 4-112-1-82 Notification report using the external switch 2 +0ms
  z2m:Zwave ValueAdded: 4-112-1-83 LED status +1ms
  z2m:Zwave ValueAdded: 4-112-1-84 Time set for Night light mode +0ms
  z2m:Zwave ValueAdded: 4-112-1-86 Set the ON time of output load +1ms
  z2m:Zwave ValueAdded: 4-112-1-87 Set the OFF time of output load +0ms
  z2m:Zwave ValueAdded: 4-112-1-90 Enable/disable the parameter 91 and 92 +1ms
  z2m:Zwave ValueAdded: 4-112-1-91 Minimum Change to send Report (Watt) +0ms
  z2m:Zwave ValueAdded: 4-112-1-92 Minimum Change to send Report (%) +1ms
  z2m:Zwave ValueAdded: 4-112-1-100 Reset Params 101-103 to Default +0ms
  z2m:Zwave ValueAdded: 4-112-1-101 Group 1 Reports +1ms
  z2m:Zwave ValueAdded: 4-112-1-102 Group 2 Reports +0ms
  z2m:Zwave ValueAdded: 4-112-1-103 Group 3 Reports +1ms
  z2m:Zwave ValueAdded: 4-112-1-110 Reset Params 111-113 to Default +0ms
  z2m:Zwave ValueAdded: 4-112-1-111 Group 1 Interval +1ms
  z2m:Zwave ValueAdded: 4-112-1-112 Group 2 Interval +0ms
  z2m:Zwave ValueAdded: 4-112-1-113 Group 3 Interval +1ms
  z2m:Zwave ValueAdded: 4-112-1-120 Set the external S1 mode +0ms
  z2m:Zwave ValueAdded: 4-112-1-121 Set the external S2 mode +1ms
  z2m:Zwave ValueAdded: 4-112-1-122 Control destination for S1 +0ms
  z2m:Zwave ValueAdded: 4-112-1-123 Control destination for S2 +1ms
  z2m:Zwave ValueAdded: 4-112-1-144 WallSwipe +0ms
  z2m:Zwave ValueAdded: 4-112-1-247 S1/S2 when the Switch mode is 3-way switch +0ms
  z2m:Zwave ValueAdded: 4-112-1-248 Function of S1/S2 +1ms
  z2m:Zwave ValueAdded: 4-112-1-251 Configuration factory reset function +0ms
  z2m:Zwave ValueAdded: 4-112-1-252 Enable/disable Lock Configuration +1ms
  z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults +0ms
  z2m:Zwave ValueAdded: 4-113-1-4 Heat +1ms
  z2m:Zwave ValueAdded: 4-113-1-8 Power Management +0ms
  z2m:Zwave ValueAdded: 4-113-1-256 Previous Event Cleared +1ms
  z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision +0ms
  z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision +0ms
  z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision +1ms
  z2m:Zwave ValueAdded: 4-114-1-3 Device ID +0ms
  z2m:Zwave ValueAdded: 4-114-1-4 Serial Number +0ms
  z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel +1ms
  z2m:Zwave ValueAdded: 4-115-1-1 Timeout +0ms
  z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel +1ms
  z2m:Zwave ValueAdded: 4-115-1-3 Test Node +0ms
  z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel +1ms
  z2m:Zwave ValueAdded: 4-115-1-5 Frame Count +0ms
  z2m:Zwave ValueAdded: 4-115-1-6 Test +1ms
  z2m:Zwave ValueAdded: 4-115-1-7 Report +0ms
  z2m:Zwave ValueAdded: 4-115-1-8 Test Status +1ms
  z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames +0ms
  z2m:Zwave ValueAdded: 4-129-1-0 Day +0ms
  z2m:Zwave ValueAdded: 4-129-1-1 Hour +1ms
  z2m:Zwave ValueAdded: 4-129-1-2 Minute +0ms
  z2m:Zwave ValueAdded: 4-134-1-0 Library Version +1ms
  z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version +0ms
  z2m:Zwave ValueAdded: 4-134-1-2 Application Version +0ms
  z2m:Zwave Node added 2 +1ms
  z2m:Zwave Notification from node 4: Notification - NoOperation (2) +476ms
  z2m:Zwave node 1 ready: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller) +7ms
  z2m:Zwave Notification from node 2: Notification - NoOperation (2) +5s
GET / 200 12.732 ms - 1432
GET /static/js/manifest.2ae2e69a05c33dfc65f8.js 200 1.579 ms - 857
GET /static/js/app.2bde87984606e8c8899a.js 200 3.454 ms - 50166
GET /static/css/app.6767e8280089a963b7ff2532eaea9424.css 200 2.017 ms - 210253
GET /static/js/vendor.452cc797cba5e34c28d6.js 200 1.514 ms - 812092
GET /static/logo.png 200 0.663 ms - 10014
  z2m:App New connection m1rfepqOU_-byxSrAAAA +11s
GET /static/favicons/apple-touch-icon.png 200 3.244 ms - 7413
GET /static/favicons/favicon-32x32.png 200 3.615 ms - 1831
  z2m:Zwave Notification from node 4: Notification - TimeOut (1) +10s
  z2m:App Zwave api call: setValue [ 4, 37, 1, 0, false ] +9s
  z2m:Zwave Success zwave api call setValue  +3s
  z2m:Zwave Notification from node 2: Notification - NoOperation (2) +2s
Segmentation Fault (core dumped)

Not working and not looking good. It segfaults oops! I double check and MiniOZW seems to work fine still. It doesn't always segfault, but the switch does not work. I am also not getting updates from my multisensor.

After a few segfault the network was completely dead, I reverted to openzwave 1.4 + older node-openzwave-shared and everything was fine again.

sjorge commented 5 years ago

I should have more time on saturday to do a more 'controller' test.

sjorge commented 5 years ago

zwave2mqtt (master) + node-openzwave-shared (master) + openzwave 1.6 == broken

Initialising OpenZWave 1.6.800 binary addon for Node.JS.
    OpenZWave Security API is ENABLED
    ZWave device db    : /opt/local/etc/openzwave
    User settings path : /opt/zwave2mqtt/store
    Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey XXX
2019-06-29T09:42:35.557Z z2m:Store scenes.json not found
2019-06-29T09:42:35.987Z z2m:App Application path:/opt/zwave2mqtt
Initialising OpenZWave 1.6.800 binary addon for Node.JS.
    OpenZWave Security API is ENABLED
    ZWave device db    : /opt/local/etc/openzwave
    User settings path : /opt/zwave2mqtt/store
    Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey 0x58,0x50,0x3A,0x1C,0x0A,0xD7,0x66,0x6D,0x27,0x78,0x67,0x4C,0x1E,0xCB,0xC4,0x61
2019-06-29T09:42:36.089Z z2m:Zwave Connecting to /dev/cua/0
2019-06-29T09:42:36.524Z z2m:App Listening on port 8091
2019-06-29T09:42:36.584Z z2m:Mqtt MQTT client connected
2019-06-29T09:42:36.642Z z2m:Zwave Scanning network with homeid: 0xfc20d090
2019-06-29T09:42:36.643Z z2m:Zwave Node added 1
2019-06-29T09:42:36.644Z z2m:Zwave node 1 AVAILABLE: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:42:36.645Z z2m:Zwave ValueAdded: 1-32-1-0 Basic
2019-06-29T09:42:36.647Z z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision
2019-06-29T09:42:36.648Z z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision
2019-06-29T09:42:36.648Z z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision
2019-06-29T09:42:36.648Z z2m:Zwave ValueAdded: 1-114-1-3 Device ID
2019-06-29T09:42:36.649Z z2m:Zwave ValueAdded: 1-114-1-4 Serial Number
2019-06-29T09:42:36.650Z z2m:Zwave Node added 4
2019-06-29T09:42:36.651Z z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW116 Nano Switch (On/Off Power Switch)
2019-06-29T09:42:36.651Z z2m:Zwave ValueAdded: 4-37-1-0 Switch
2019-06-29T09:42:36.652Z z2m:Zwave ValueAdded: 4-39-1-0 Switch All
2019-06-29T09:42:36.653Z z2m:Zwave ValueAdded: 4-43-1-0 Scene
2019-06-29T09:42:36.653Z z2m:Zwave ValueAdded: 4-43-1-1 Duration
2019-06-29T09:42:36.654Z z2m:Zwave ValueAdded: 4-50-1-0 Energy
2019-06-29T09:42:36.654Z z2m:Zwave ValueAdded: 4-50-1-1 Previous Reading
2019-06-29T09:42:36.654Z z2m:Zwave ValueAdded: 4-50-1-2 Interval
2019-06-29T09:42:36.655Z z2m:Zwave ValueAdded: 4-50-1-8 Power
2019-06-29T09:42:36.655Z z2m:Zwave ValueAdded: 4-50-1-16 Voltage
2019-06-29T09:42:36.655Z z2m:Zwave ValueAdded: 4-50-1-20 Current
2019-06-29T09:42:36.656Z z2m:Zwave ValueAdded: 4-50-1-32 Exporting
2019-06-29T09:42:36.656Z z2m:Zwave ValueAdded: 4-50-1-33 Reset
2019-06-29T09:42:36.657Z z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version
2019-06-29T09:42:36.657Z z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon
2019-06-29T09:42:36.657Z z2m:Zwave ValueAdded: 4-94-1-2 UserIcon
2019-06-29T09:42:36.658Z z2m:Zwave ValueAdded: 4-112-1-3 On time
2019-06-29T09:42:36.658Z z2m:Zwave ValueAdded: 4-112-1-4 Enable Motion Sensor
2019-06-29T09:42:36.659Z z2m:Zwave ValueAdded: 4-112-1-20 Status re-power on
2019-06-29T09:42:36.659Z z2m:Zwave ValueAdded: 4-112-1-21 WallSwipe IR sensor
2019-06-29T09:42:36.660Z z2m:Zwave ValueAdded: 4-112-1-64 Temperature scale
2019-06-29T09:42:36.660Z z2m:Zwave ValueAdded: 4-112-1-65 WallSwipe LED Up gesture action
2019-06-29T09:42:36.661Z z2m:Zwave ValueAdded: 4-112-1-66 WallSwipe LED Down gesture action
2019-06-29T09:42:36.661Z z2m:Zwave ValueAdded: 4-112-1-67 WallSwipe LED Left gesture action
2019-06-29T09:42:36.662Z z2m:Zwave ValueAdded: 4-112-1-68 WallSwipe LED Right gesture action
2019-06-29T09:42:36.662Z z2m:Zwave ValueAdded: 4-112-1-69 WallSwipe Night light
2019-06-29T09:42:36.663Z z2m:Zwave ValueAdded: 4-112-1-71 WallSwipe sensitivity
2019-06-29T09:42:36.663Z z2m:Zwave ValueAdded: 4-112-1-80 Notification report association group 1
2019-06-29T09:42:36.664Z z2m:Zwave ValueAdded: 4-112-1-81 LED blinking report
2019-06-29T09:42:36.664Z z2m:Zwave ValueAdded: 4-112-1-82 Notification report using the external switch 2
2019-06-29T09:42:36.665Z z2m:Zwave ValueAdded: 4-112-1-83 LED status
2019-06-29T09:42:36.665Z z2m:Zwave ValueAdded: 4-112-1-84 Time set for Night light mode
2019-06-29T09:42:36.666Z z2m:Zwave ValueAdded: 4-112-1-86 Set the ON time of output load
2019-06-29T09:42:36.666Z z2m:Zwave ValueAdded: 4-112-1-87 Set the OFF time of output load
2019-06-29T09:42:36.667Z z2m:Zwave ValueAdded: 4-112-1-90 Enable/disable the parameter 91 and 92
2019-06-29T09:42:36.667Z z2m:Zwave ValueAdded: 4-112-1-91 Minimum Change to send Report (Watt)
2019-06-29T09:42:36.668Z z2m:Zwave ValueAdded: 4-112-1-92 Minimum Change to send Report (%)
2019-06-29T09:42:36.668Z z2m:Zwave ValueAdded: 4-112-1-100 Reset Params 101-103 to Default
2019-06-29T09:42:36.669Z z2m:Zwave ValueAdded: 4-112-1-101 Group 1 Reports
2019-06-29T09:42:36.669Z z2m:Zwave ValueAdded: 4-112-1-102 Group 2 Reports
2019-06-29T09:42:36.670Z z2m:Zwave ValueAdded: 4-112-1-103 Group 3 Reports
2019-06-29T09:42:36.670Z z2m:Zwave ValueAdded: 4-112-1-110 Reset Params 111-113 to Default
2019-06-29T09:42:36.671Z z2m:Zwave ValueAdded: 4-112-1-111 Group 1 Interval
2019-06-29T09:42:36.671Z z2m:Zwave ValueAdded: 4-112-1-112 Group 2 Interval
2019-06-29T09:42:36.671Z z2m:Zwave ValueAdded: 4-112-1-113 Group 3 Interval
2019-06-29T09:42:36.672Z z2m:Zwave ValueAdded: 4-112-1-120 Set the external S1 mode
2019-06-29T09:42:36.672Z z2m:Zwave ValueAdded: 4-112-1-121 Set the external S2 mode
2019-06-29T09:42:36.673Z z2m:Zwave ValueAdded: 4-112-1-122 Control destination for S1
2019-06-29T09:42:36.673Z z2m:Zwave ValueAdded: 4-112-1-123 Control destination for S2
2019-06-29T09:42:36.674Z z2m:Zwave ValueAdded: 4-112-1-144 WallSwipe
2019-06-29T09:42:36.674Z z2m:Zwave ValueAdded: 4-112-1-247 S1/S2 when the Switch mode is 3-way switch
2019-06-29T09:42:36.675Z z2m:Zwave ValueAdded: 4-112-1-248 Function of S1/S2
2019-06-29T09:42:36.675Z z2m:Zwave ValueAdded: 4-112-1-251 Configuration factory reset function
2019-06-29T09:42:36.676Z z2m:Zwave ValueAdded: 4-112-1-252 Enable/disable Lock Configuration
2019-06-29T09:42:36.676Z z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults
2019-06-29T09:42:36.677Z z2m:Zwave ValueAdded: 4-113-1-4 Heat
2019-06-29T09:42:36.677Z z2m:Zwave ValueAdded: 4-113-1-8 Power Management
2019-06-29T09:42:36.677Z z2m:Zwave ValueAdded: 4-113-1-256 Previous Event Cleared
2019-06-29T09:42:36.678Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision
2019-06-29T09:42:36.678Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision
2019-06-29T09:42:36.678Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision
2019-06-29T09:42:36.679Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID
2019-06-29T09:42:36.679Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number
2019-06-29T09:42:36.679Z z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel
2019-06-29T09:42:36.680Z z2m:Zwave ValueAdded: 4-115-1-1 Timeout
2019-06-29T09:42:36.680Z z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel
2019-06-29T09:42:36.681Z z2m:Zwave ValueAdded: 4-115-1-3 Test Node
2019-06-29T09:42:36.681Z z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel
2019-06-29T09:42:36.682Z z2m:Zwave ValueAdded: 4-115-1-5 Frame Count
2019-06-29T09:42:36.682Z z2m:Zwave ValueAdded: 4-115-1-6 Test
2019-06-29T09:42:36.683Z z2m:Zwave ValueAdded: 4-115-1-7 Report
2019-06-29T09:42:36.683Z z2m:Zwave ValueAdded: 4-115-1-8 Test Status
2019-06-29T09:42:36.684Z z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames
2019-06-29T09:42:36.684Z z2m:Zwave ValueAdded: 4-129-1-0 Day
2019-06-29T09:42:36.684Z z2m:Zwave ValueAdded: 4-129-1-1 Hour
2019-06-29T09:42:36.685Z z2m:Zwave ValueAdded: 4-129-1-2 Minute
2019-06-29T09:42:36.685Z z2m:Zwave ValueAdded: 4-134-1-0 Library Version
2019-06-29T09:42:36.686Z z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version
2019-06-29T09:42:36.686Z z2m:Zwave ValueAdded: 4-134-1-2 Application Version
2019-06-29T09:42:36.686Z z2m:Zwave Node added 2
2019-06-29T09:42:36.690Z z2m:Zwave Notification from node 4: Notification - NoOperation (2)
2019-06-29T09:42:36.695Z z2m:Zwave node 1 ready: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:42:37.724Z z2m:App New connection 5R5DKURiSEIKwVZ-AAAA
2019-06-29T09:42:41.728Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:42:46.945Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:42:52.041Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:42:52.044Z z2m:Zwave Notification from node 2: Notification - Node Dead (5)
[ Jun 29 09:42:52 Stopping because all processes in service exited. ]
[ Jun 29 09:42:52 Executing start method ("/opt/local/bin/node /opt/zwave2mqtt/bin/www"). ]
2019-06-29T09:42:53.094Z z2m:Store scenes.json not found
2019-06-29T09:42:53.477Z z2m:App Application path:/opt/zwave2mqtt
Initialising OpenZWave 1.6.800 binary addon for Node.JS.
    OpenZWave Security API is ENABLED
    ZWave device db    : /opt/local/etc/openzwave
    User settings path : /opt/zwave2mqtt/store
    Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey 0x58,0x50,0x3A,0x1C,0x0A,0xD7,0x66,0x6D,0x27,0x78,0x67,0x4C,0x1E,0xCB,0xC4,0x61
2019-06-29T09:42:53.584Z z2m:Zwave Connecting to /dev/cua/0
2019-06-29T09:42:53.988Z z2m:App Listening on port 8091
2019-06-29T09:42:54.046Z z2m:Mqtt MQTT client connected
2019-06-29T09:42:54.100Z z2m:Zwave Scanning network with homeid: 0xfc20d090
2019-06-29T09:42:54.101Z z2m:Zwave Node added 1
2019-06-29T09:42:54.102Z z2m:Zwave node 1 AVAILABLE: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:42:54.104Z z2m:Zwave ValueAdded: 1-32-1-0 Basic
2019-06-29T09:42:54.109Z z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision
2019-06-29T09:42:54.110Z z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision
2019-06-29T09:42:54.110Z z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision
2019-06-29T09:42:54.111Z z2m:Zwave ValueAdded: 1-114-1-3 Device ID
2019-06-29T09:42:54.111Z z2m:Zwave ValueAdded: 1-114-1-4 Serial Number
2019-06-29T09:42:54.112Z z2m:Zwave Node added 4
2019-06-29T09:42:54.113Z z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW116 Nano Switch (On/Off Power Switch)
2019-06-29T09:42:54.114Z z2m:Zwave ValueAdded: 4-37-1-0 Switch
2019-06-29T09:42:54.114Z z2m:Zwave ValueAdded: 4-39-1-0 Switch All
2019-06-29T09:42:54.115Z z2m:Zwave ValueAdded: 4-43-1-0 Scene
2019-06-29T09:42:54.115Z z2m:Zwave ValueAdded: 4-43-1-1 Duration
2019-06-29T09:42:54.116Z z2m:Zwave ValueAdded: 4-50-1-0 Energy
2019-06-29T09:42:54.116Z z2m:Zwave ValueAdded: 4-50-1-1 Previous Reading
2019-06-29T09:42:54.116Z z2m:Zwave ValueAdded: 4-50-1-2 Interval
2019-06-29T09:42:54.117Z z2m:Zwave ValueAdded: 4-50-1-8 Power
2019-06-29T09:42:54.117Z z2m:Zwave ValueAdded: 4-50-1-16 Voltage
2019-06-29T09:42:54.118Z z2m:Zwave ValueAdded: 4-50-1-20 Current
2019-06-29T09:42:54.118Z z2m:Zwave ValueAdded: 4-50-1-32 Exporting
2019-06-29T09:42:54.118Z z2m:Zwave ValueAdded: 4-50-1-33 Reset
2019-06-29T09:42:54.119Z z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version
2019-06-29T09:42:54.119Z z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon
2019-06-29T09:42:54.120Z z2m:Zwave ValueAdded: 4-94-1-2 UserIcon
2019-06-29T09:42:54.120Z z2m:Zwave ValueAdded: 4-112-1-3 On time
2019-06-29T09:42:54.121Z z2m:Zwave ValueAdded: 4-112-1-4 Enable Motion Sensor
2019-06-29T09:42:54.121Z z2m:Zwave ValueAdded: 4-112-1-20 Status re-power on
2019-06-29T09:42:54.122Z z2m:Zwave ValueAdded: 4-112-1-21 WallSwipe IR sensor
2019-06-29T09:42:54.122Z z2m:Zwave ValueAdded: 4-112-1-64 Temperature scale
2019-06-29T09:42:54.123Z z2m:Zwave ValueAdded: 4-112-1-65 WallSwipe LED Up gesture action
2019-06-29T09:42:54.123Z z2m:Zwave ValueAdded: 4-112-1-66 WallSwipe LED Down gesture action
2019-06-29T09:42:54.124Z z2m:Zwave ValueAdded: 4-112-1-67 WallSwipe LED Left gesture action
2019-06-29T09:42:54.124Z z2m:Zwave ValueAdded: 4-112-1-68 WallSwipe LED Right gesture action
2019-06-29T09:42:54.125Z z2m:Zwave ValueAdded: 4-112-1-69 WallSwipe Night light
2019-06-29T09:42:54.125Z z2m:Zwave ValueAdded: 4-112-1-71 WallSwipe sensitivity
2019-06-29T09:42:54.126Z z2m:Zwave ValueAdded: 4-112-1-80 Notification report association group 1
2019-06-29T09:42:54.126Z z2m:Zwave ValueAdded: 4-112-1-81 LED blinking report
2019-06-29T09:42:54.127Z z2m:Zwave ValueAdded: 4-112-1-82 Notification report using the external switch 2
2019-06-29T09:42:54.127Z z2m:Zwave ValueAdded: 4-112-1-83 LED status
2019-06-29T09:42:54.128Z z2m:Zwave ValueAdded: 4-112-1-84 Time set for Night light mode
2019-06-29T09:42:54.128Z z2m:Zwave ValueAdded: 4-112-1-86 Set the ON time of output load
2019-06-29T09:42:54.129Z z2m:Zwave ValueAdded: 4-112-1-87 Set the OFF time of output load
2019-06-29T09:42:54.129Z z2m:Zwave ValueAdded: 4-112-1-90 Enable/disable the parameter 91 and 92
2019-06-29T09:42:54.130Z z2m:Zwave ValueAdded: 4-112-1-91 Minimum Change to send Report (Watt)
2019-06-29T09:42:54.130Z z2m:Zwave ValueAdded: 4-112-1-92 Minimum Change to send Report (%)
2019-06-29T09:42:54.130Z z2m:Zwave ValueAdded: 4-112-1-100 Reset Params 101-103 to Default
2019-06-29T09:42:54.131Z z2m:Zwave ValueAdded: 4-112-1-101 Group 1 Reports
2019-06-29T09:42:54.131Z z2m:Zwave ValueAdded: 4-112-1-102 Group 2 Reports
2019-06-29T09:42:54.132Z z2m:Zwave ValueAdded: 4-112-1-103 Group 3 Reports
2019-06-29T09:42:54.132Z z2m:Zwave ValueAdded: 4-112-1-110 Reset Params 111-113 to Default
2019-06-29T09:42:54.133Z z2m:Zwave ValueAdded: 4-112-1-111 Group 1 Interval
2019-06-29T09:42:54.133Z z2m:Zwave ValueAdded: 4-112-1-112 Group 2 Interval
2019-06-29T09:42:54.134Z z2m:Zwave ValueAdded: 4-112-1-113 Group 3 Interval
2019-06-29T09:42:54.134Z z2m:Zwave ValueAdded: 4-112-1-120 Set the external S1 mode
2019-06-29T09:42:54.135Z z2m:Zwave ValueAdded: 4-112-1-121 Set the external S2 mode
2019-06-29T09:42:54.135Z z2m:Zwave ValueAdded: 4-112-1-122 Control destination for S1
2019-06-29T09:42:54.136Z z2m:Zwave ValueAdded: 4-112-1-123 Control destination for S2
2019-06-29T09:42:54.136Z z2m:Zwave ValueAdded: 4-112-1-144 WallSwipe
2019-06-29T09:42:54.136Z z2m:Zwave ValueAdded: 4-112-1-247 S1/S2 when the Switch mode is 3-way switch
2019-06-29T09:42:54.137Z z2m:Zwave ValueAdded: 4-112-1-248 Function of S1/S2
2019-06-29T09:42:54.137Z z2m:Zwave ValueAdded: 4-112-1-251 Configuration factory reset function
2019-06-29T09:42:54.138Z z2m:Zwave ValueAdded: 4-112-1-252 Enable/disable Lock Configuration
2019-06-29T09:42:54.138Z z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults
2019-06-29T09:42:54.139Z z2m:Zwave ValueAdded: 4-113-1-4 Heat
2019-06-29T09:42:54.139Z z2m:Zwave ValueAdded: 4-113-1-8 Power Management
2019-06-29T09:42:54.140Z z2m:Zwave ValueAdded: 4-113-1-256 Previous Event Cleared
2019-06-29T09:42:54.140Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision
2019-06-29T09:42:54.140Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision
2019-06-29T09:42:54.141Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision
2019-06-29T09:42:54.141Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID
2019-06-29T09:42:54.141Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number
2019-06-29T09:42:54.142Z z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel
2019-06-29T09:42:54.142Z z2m:Zwave ValueAdded: 4-115-1-1 Timeout
2019-06-29T09:42:54.143Z z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel
2019-06-29T09:42:54.143Z z2m:Zwave ValueAdded: 4-115-1-3 Test Node
2019-06-29T09:42:54.143Z z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel
2019-06-29T09:42:54.144Z z2m:Zwave ValueAdded: 4-115-1-5 Frame Count
2019-06-29T09:42:54.144Z z2m:Zwave ValueAdded: 4-115-1-6 Test
2019-06-29T09:42:54.145Z z2m:Zwave ValueAdded: 4-115-1-7 Report
2019-06-29T09:42:54.145Z z2m:Zwave ValueAdded: 4-115-1-8 Test Status
2019-06-29T09:42:54.146Z z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames
2019-06-29T09:42:54.146Z z2m:Zwave ValueAdded: 4-129-1-0 Day
2019-06-29T09:42:54.147Z z2m:Zwave ValueAdded: 4-129-1-1 Hour
2019-06-29T09:42:54.147Z z2m:Zwave ValueAdded: 4-129-1-2 Minute
2019-06-29T09:42:54.147Z z2m:Zwave ValueAdded: 4-134-1-0 Library Version
2019-06-29T09:42:54.148Z z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version
2019-06-29T09:42:54.148Z z2m:Zwave ValueAdded: 4-134-1-2 Application Version
2019-06-29T09:42:54.148Z z2m:Zwave Node added 2
2019-06-29T09:42:54.152Z z2m:Zwave Notification from node 4: Notification - NoOperation (2)
2019-06-29T09:42:54.158Z z2m:Zwave node 1 ready: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:42:56.293Z z2m:App New connection nA1iFHQDDdFJ5obyAAAA
2019-06-29T09:42:59.177Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:43:04.449Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:43:09.479Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-06-29T09:43:09.481Z z2m:Zwave Notification from node 2: Notification - Node Dead (5)
2019-06-29T09:43:19.708Z z2m:Zwave Notification from node 4: Notification - TimeOut (1)
[ Jun 29 09:43:20 Stopping because all processes in service exited. ]
[ Jun 29 09:43:20 Executing start method ("/opt/local/bin/node /opt/zwave2mqtt/bin/www"). ]
2019-06-29T09:43:20.534Z z2m:Store scenes.json not found
2019-06-29T09:43:20.908Z z2m:App Application path:/opt/zwave2mqtt
Initialising OpenZWave 1.6.800 binary addon for Node.JS.
    OpenZWave Security API is ENABLED
    ZWave device db    : /opt/local/etc/openzwave
    User settings path : /opt/zwave2mqtt/store
    Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey 0x58,0x50,0x3A,0x1C,0x0A,0xD7,0x66,0x6D,0x27,0x78,0x67,0x4C,0x1E,0xCB,0xC4,0x61
2019-06-29T09:43:20.997Z z2m:Zwave Connecting to /dev/cua/0
2019-06-29T09:43:21.393Z z2m:App Listening on port 8091
2019-06-29T09:43:21.449Z z2m:Mqtt MQTT client connected
2019-06-29T09:43:21.511Z z2m:Zwave Scanning network with homeid: 0xfc20d090
2019-06-29T09:43:21.511Z z2m:Zwave Node added 1
2019-06-29T09:43:21.512Z z2m:Zwave node 1 AVAILABLE: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:43:21.513Z z2m:Zwave ValueAdded: 1-32-1-0 Basic
2019-06-29T09:43:21.515Z z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision
2019-06-29T09:43:21.516Z z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision
2019-06-29T09:43:21.516Z z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision
2019-06-29T09:43:21.517Z z2m:Zwave ValueAdded: 1-114-1-3 Device ID
2019-06-29T09:43:21.517Z z2m:Zwave ValueAdded: 1-114-1-4 Serial Number
2019-06-29T09:43:21.518Z z2m:Zwave Node added 4
2019-06-29T09:43:21.519Z z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW116 Nano Switch (On/Off Power Switch)
2019-06-29T09:43:21.520Z z2m:Zwave ValueAdded: 4-37-1-0 Switch
2019-06-29T09:43:21.520Z z2m:Zwave ValueAdded: 4-39-1-0 Switch All
2019-06-29T09:43:21.521Z z2m:Zwave ValueAdded: 4-43-1-0 Scene
2019-06-29T09:43:21.521Z z2m:Zwave ValueAdded: 4-43-1-1 Duration
2019-06-29T09:43:21.522Z z2m:Zwave ValueAdded: 4-50-1-0 Energy
2019-06-29T09:43:21.522Z z2m:Zwave ValueAdded: 4-50-1-1 Previous Reading
2019-06-29T09:43:21.523Z z2m:Zwave ValueAdded: 4-50-1-2 Interval
2019-06-29T09:43:21.523Z z2m:Zwave ValueAdded: 4-50-1-8 Power
2019-06-29T09:43:21.523Z z2m:Zwave ValueAdded: 4-50-1-16 Voltage
2019-06-29T09:43:21.524Z z2m:Zwave ValueAdded: 4-50-1-20 Current
2019-06-29T09:43:21.524Z z2m:Zwave ValueAdded: 4-50-1-32 Exporting
2019-06-29T09:43:21.524Z z2m:Zwave ValueAdded: 4-50-1-33 Reset
2019-06-29T09:43:21.525Z z2m:Zwave ValueAdded: 4-94-1-0 ZWave+ Version
2019-06-29T09:43:21.525Z z2m:Zwave ValueAdded: 4-94-1-1 InstallerIcon
2019-06-29T09:43:21.526Z z2m:Zwave ValueAdded: 4-94-1-2 UserIcon
2019-06-29T09:43:21.526Z z2m:Zwave ValueAdded: 4-112-1-3 On time
2019-06-29T09:43:21.527Z z2m:Zwave ValueAdded: 4-112-1-4 Enable Motion Sensor
2019-06-29T09:43:21.527Z z2m:Zwave ValueAdded: 4-112-1-20 Status re-power on
2019-06-29T09:43:21.528Z z2m:Zwave ValueAdded: 4-112-1-21 WallSwipe IR sensor
2019-06-29T09:43:21.528Z z2m:Zwave ValueAdded: 4-112-1-64 Temperature scale
2019-06-29T09:43:21.529Z z2m:Zwave ValueAdded: 4-112-1-65 WallSwipe LED Up gesture action
2019-06-29T09:43:21.529Z z2m:Zwave ValueAdded: 4-112-1-66 WallSwipe LED Down gesture action
2019-06-29T09:43:21.530Z z2m:Zwave ValueAdded: 4-112-1-67 WallSwipe LED Left gesture action
2019-06-29T09:43:21.530Z z2m:Zwave ValueAdded: 4-112-1-68 WallSwipe LED Right gesture action
2019-06-29T09:43:21.531Z z2m:Zwave ValueAdded: 4-112-1-69 WallSwipe Night light
2019-06-29T09:43:21.531Z z2m:Zwave ValueAdded: 4-112-1-71 WallSwipe sensitivity
2019-06-29T09:43:21.532Z z2m:Zwave ValueAdded: 4-112-1-80 Notification report association group 1
2019-06-29T09:43:21.532Z z2m:Zwave ValueAdded: 4-112-1-81 LED blinking report
2019-06-29T09:43:21.533Z z2m:Zwave ValueAdded: 4-112-1-82 Notification report using the external switch 2
2019-06-29T09:43:21.533Z z2m:Zwave ValueAdded: 4-112-1-83 LED status
2019-06-29T09:43:21.534Z z2m:Zwave ValueAdded: 4-112-1-84 Time set for Night light mode
2019-06-29T09:43:21.534Z z2m:Zwave ValueAdded: 4-112-1-86 Set the ON time of output load
2019-06-29T09:43:21.535Z z2m:Zwave ValueAdded: 4-112-1-87 Set the OFF time of output load
2019-06-29T09:43:21.535Z z2m:Zwave ValueAdded: 4-112-1-90 Enable/disable the parameter 91 and 92
2019-06-29T09:43:21.536Z z2m:Zwave ValueAdded: 4-112-1-91 Minimum Change to send Report (Watt)
2019-06-29T09:43:21.536Z z2m:Zwave ValueAdded: 4-112-1-92 Minimum Change to send Report (%)
2019-06-29T09:43:21.537Z z2m:Zwave ValueAdded: 4-112-1-100 Reset Params 101-103 to Default
2019-06-29T09:43:21.537Z z2m:Zwave ValueAdded: 4-112-1-101 Group 1 Reports
2019-06-29T09:43:21.538Z z2m:Zwave ValueAdded: 4-112-1-102 Group 2 Reports
2019-06-29T09:43:21.538Z z2m:Zwave ValueAdded: 4-112-1-103 Group 3 Reports
2019-06-29T09:43:21.538Z z2m:Zwave ValueAdded: 4-112-1-110 Reset Params 111-113 to Default
2019-06-29T09:43:21.539Z z2m:Zwave ValueAdded: 4-112-1-111 Group 1 Interval
2019-06-29T09:43:21.539Z z2m:Zwave ValueAdded: 4-112-1-112 Group 2 Interval
2019-06-29T09:43:21.540Z z2m:Zwave ValueAdded: 4-112-1-113 Group 3 Interval
2019-06-29T09:43:21.540Z z2m:Zwave ValueAdded: 4-112-1-120 Set the external S1 mode
2019-06-29T09:43:21.541Z z2m:Zwave ValueAdded: 4-112-1-121 Set the external S2 mode
2019-06-29T09:43:21.541Z z2m:Zwave ValueAdded: 4-112-1-122 Control destination for S1
2019-06-29T09:43:21.542Z z2m:Zwave ValueAdded: 4-112-1-123 Control destination for S2
2019-06-29T09:43:21.542Z z2m:Zwave ValueAdded: 4-112-1-144 WallSwipe
2019-06-29T09:43:21.543Z z2m:Zwave ValueAdded: 4-112-1-247 S1/S2 when the Switch mode is 3-way switch
2019-06-29T09:43:21.543Z z2m:Zwave ValueAdded: 4-112-1-248 Function of S1/S2
2019-06-29T09:43:21.544Z z2m:Zwave ValueAdded: 4-112-1-251 Configuration factory reset function
2019-06-29T09:43:21.544Z z2m:Zwave ValueAdded: 4-112-1-252 Enable/disable Lock Configuration
2019-06-29T09:43:21.545Z z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults
2019-06-29T09:43:21.545Z z2m:Zwave ValueAdded: 4-113-1-4 Heat
2019-06-29T09:43:21.545Z z2m:Zwave ValueAdded: 4-113-1-8 Power Management
2019-06-29T09:43:21.546Z z2m:Zwave ValueAdded: 4-113-1-256 Previous Event Cleared
2019-06-29T09:43:21.546Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision
2019-06-29T09:43:21.546Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision
2019-06-29T09:43:21.547Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision
2019-06-29T09:43:21.547Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID
2019-06-29T09:43:21.548Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number
2019-06-29T09:43:21.548Z z2m:Zwave ValueAdded: 4-115-1-0 Powerlevel
2019-06-29T09:43:21.548Z z2m:Zwave ValueAdded: 4-115-1-1 Timeout
2019-06-29T09:43:21.549Z z2m:Zwave ValueAdded: 4-115-1-2 Set Powerlevel
2019-06-29T09:43:21.549Z z2m:Zwave ValueAdded: 4-115-1-3 Test Node
2019-06-29T09:43:21.550Z z2m:Zwave ValueAdded: 4-115-1-4 Test Powerlevel
2019-06-29T09:43:21.550Z z2m:Zwave ValueAdded: 4-115-1-5 Frame Count
2019-06-29T09:43:21.551Z z2m:Zwave ValueAdded: 4-115-1-6 Test
2019-06-29T09:43:21.551Z z2m:Zwave ValueAdded: 4-115-1-7 Report
2019-06-29T09:43:21.552Z z2m:Zwave ValueAdded: 4-115-1-8 Test Status
2019-06-29T09:43:21.552Z z2m:Zwave ValueAdded: 4-115-1-9 Acked Frames
2019-06-29T09:43:21.552Z z2m:Zwave ValueAdded: 4-129-1-0 Day
2019-06-29T09:43:21.553Z z2m:Zwave ValueAdded: 4-129-1-1 Hour
2019-06-29T09:43:21.553Z z2m:Zwave ValueAdded: 4-129-1-2 Minute
2019-06-29T09:43:21.554Z z2m:Zwave ValueAdded: 4-134-1-0 Library Version
2019-06-29T09:43:21.554Z z2m:Zwave ValueAdded: 4-134-1-1 Protocol Version
2019-06-29T09:43:21.554Z z2m:Zwave ValueAdded: 4-134-1-2 Application Version
2019-06-29T09:43:21.555Z z2m:Zwave Node added 2
2019-06-29T09:43:21.561Z z2m:Zwave Notification from node 4: Notification - NoOperation (2)
2019-06-29T09:43:21.567Z z2m:Zwave node 1 ready: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-06-29T09:43:22.451Z z2m:App New connection XYPeoTjWeRxHQ814AAAA

I'm not getting the segfaults anymore I was getting earlier this week. But the it still seems to crash.

I will try zwave2mqtt (master) + node-openzwave-shared (master) + openzwave 1.4.

sjorge commented 5 years ago

That also failed :(

  CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o
../src/callbacks.cc: In function 'void OZW::ozw_watcher_callback(const OpenZWave::Notification*, void*)':
../src/callbacks.cc:94:26: error: 'const class OpenZWave::Notification' has no member named 'GetCommand'; did you mean 'GetHomeId'?
     notif->command = cb->GetCommand();
                          ^~~~~~~~~~
                          GetHomeId
../src/callbacks.cc:99:33: error: 'Type_UserAlerts' is not a member of 'OpenZWave::Notification'
   case OpenZWave::Notification::Type_UserAlerts:
                                 ^~~~~~~~~~~~~~~
../src/callbacks.cc:100:31: error: 'const class OpenZWave::Notification' has no member named 'GetUserAlertType'
     notif->notification = cb->GetUserAlertType();
                               ^~~~~~~~~~~~~~~~
../src/callbacks.cc: In function 'void OZW::handleNotification(OZW::NotifInfo*)':
../src/callbacks.cc:459:33: error: 'Type_UserAlerts' is not a member of 'OpenZWave::Notification'
   case OpenZWave::Notification::Type_UserAlerts: {
                                 ^~~~~~~~~~~~~~~
../src/callbacks.cc:468:33: error: 'Type_ManufacturerSpecificDBReady' is not a member of 'OpenZWave::Notification'
   case OpenZWave::Notification::Type_ManufacturerSpecificDBReady: {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The head of node-openzwave-shared does not compile against openzwave 1.4.

sjorge commented 5 years ago

Ok this is not fun, so the first libopenzwave version with SmartOS support is somewhere between 1.5 and 1.6... I build mine form git (00fe3e7e) internally the version identifies at 1.4 (what a mess) and it ships with both ValueBitSet.h and OZWException.h... meaning master of node-openzwave-shared does not build against it as it thinks it is 1.6.

sjorge commented 5 years ago

I reverted to my older version of zwave2mqtt and node-openzwave-shared. It looks like node-openzwave-shared is not yet fully compatible with openzwave 1.6.

sjorge commented 5 years ago

zwave2mqtt (master + package.json set to pin openzwave-shared 1.4.8) + openzwave-shared 1.4.8 + openzwave 1.5 (00fe3e7e) seem to work fine.

I'll leave my current setup on this for now.

robertsLando commented 5 years ago

Hi @sjorge, really thanks for the support! Hope to be able to make all thinkgs working soon with OZW 1.6.

sjorge commented 5 years ago

I think for now still using 1.4.8 is the way to go, untill all or the 1.6 changes are included

~ sjorge

On 29 Jun 2019, at 13:41, Daniel Lando notifications@github.com wrote:

Hi @sjorge, really thanks for the support! Hope to be able to make all thinkgs working soon with OZW 1.6.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

robertsLando commented 5 years ago

@sjorge Could you make some tests now?

sjorge commented 5 years ago

I can give this another go this weekend.

robertsLando commented 5 years ago

Thanks! Will need to do another release bevause 2.0 is bugger unfortunately a typo

Daniel

On 16 Jul 2019, at 15:08, Jorge Schrauwen notifications@github.com wrote:

I can give this another go this weekend.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

sjorge commented 5 years ago

openzwave-shared@1.5.6 preinstall /opt/zwave2mqtt/node_modules/openzwave-shared node lib/install-ozw.js

openzwave-shared@1.5.6 install /opt/zwave2mqtt/node_modules/openzwave-shared node-gyp rebuild

make: Entering directory '/opt/zwave2mqtt/node_modules/openzwave-shared/build' CXX(target) Release/obj.target/openzwave_shared/src/callbacks.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-config.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-driver.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-groups.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-management.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-network.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-nodes.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-polling.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-scenes.o CXX(target) Release/obj.target/openzwave_shared/src/openzwave-values.o CXX(target) Release/obj.target/openzwave_shared/src/utils.o SOLINK_MODULE(target) Release/obj.target/openzwave_shared.node COPY Release/openzwave_shared.node make: Leaving directory '/opt/zwave2mqtt/node_modules/openzwave-shared/build' npm WARN zwave2mqtt@2.0.1 No repository field. npm WARN zwave2mqtt@2.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"sunos","arch":"x64"})

added 1 package from 8 contributors, updated 1 package and audited 11873 packages in 50.863s found 318 vulnerabilities (1 low, 10 moderate, 307 high) run npm audit fix to fix them, or npm audit for details

- npm build

[root@amethyst /opt/zwave2mqtt]# npm run build

zwave2mqtt@2.0.1 build /opt/zwave2mqtt node build/build.js

Hash: 6b8be8ee9cd59a5c962a Version: webpack 3.12.0 Time: 44834ms Asset Size Chunks Chunk Names static/favicon.ico 15.1 kB [emitted] static/js/vendor.1d2798e4c6f4af1b015a.js 831 kB 0 [emitted] [big] vendor static/js/manifest.2ae2e69a05c33dfc65f8.js 857 bytes 2 [emitted] manifest static/css/app.6767e8280089a963b7ff2532eaea9424.css 210 kB 1 [emitted] app static/css/app.6767e8280089a963b7ff2532eaea9424.css.map 309 kB [emitted] static/js/vendor.1d2798e4c6f4af1b015a.js.map 3.12 MB 0 [emitted] vendor static/js/app.66ffaa0499cb5ddba94a.js.map 202 kB 1 [emitted] app static/js/manifest.2ae2e69a05c33dfc65f8.js.map 4.97 kB 2 [emitted] manifest index.html 1.43 kB [emitted] static/favicons/apple-touch-icon.png 7.41 kB [emitted] static/js/app.66ffaa0499cb5ddba94a.js 59.1 kB 1 [emitted] app static/favicons/android-chrome-192x192.png 10 kB [emitted] static/favicons/android-chrome-512x512.png 22.8 kB [emitted] static/favicons/browserconfig.xml 246 bytes [emitted] static/favicons/favicon-32x32.png 1.83 kB [emitted] static/favicons/favicon-16x16.png 1.11 kB [emitted] static/favicons/mstile-150x150.png 4.18 kB [emitted] static/favicons/safari-pinned-tab.svg 2.57 kB [emitted] static/favicons/site.webmanifest 473 bytes [emitted] static/logo.png 10 kB [emitted]

Build complete.

Tip: built files are meant to be served over an HTTP server. Opening index.html over file:// won't work.

╭────────────────────────────────────────────────────────────────╮ │ │ │ New minor version of npm available! 6.9.0 -> 6.10.1 │ │ Changelog: https://github.com/npm/cli/releases/tag/v6.10.1 │ │ Run npm install -g npm to update! │ │ │ ╰────────────────────────────────────────────────────────────────╯

- starting the solaris service

svcadm enable zwave2mqtt

- testing (TODO)
```xml
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
  <service name='pkgsrc/zwave2mqtt' type='service' version='0'>
    <create_default_instance enabled='true'/>
    <single_instance/>
    <dependency name='fs-local' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/local'/>
    </dependency>
    <dependency name='net-loopback' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/network/loopback'/>
    </dependency>
    <dependency name='net-physical' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/network/physical'/>
    </dependency>
    <dependency name='config_data' grouping='require_all' restart_on='restart' type='path'>
      <service_fmri value='file://localhost/root/.homebridge/config.json'/>
    </dependency>
    <method_context>
    <method_credential group='root' user='root'/>
      <method_environment>
        <envvar name='PATH' value='/opt/local/sbin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin'/>
        <envvar name='HOME' value='/root' />
      </method_environment>
    </method_context>
    <exec_method name='start' type='method' exec='/opt/local/bin/node /opt/zwave2mqtt/bin/www' timeout_seconds='60'/>
    <exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
    <property_group name='startd' type='framework'>
      <propval name='ignore_error' type='astring' value='core,signal'/>
      <propval name='duration' type='astring' value='child'/>
    </property_group>
    <stability value='Unstable'/>
    <template>
      <common_name>
        <loctext xml:lang='C'>zwave2mqtt</loctext>
      </common_name>
    </template>
  </service>
</service_bundle>
sjorge commented 5 years ago

So I've done some testing:

It also identified the device as sleeping for some reason which it never did before. Below is a log of me restarting zwave2mqtt, and togglign the switch (4x) on -> off (worked) off -> on (did nothing) on -> off (did nothing - already off) off -> on (worked but toggled stayed off)

sjorge commented 5 years ago
[ Jul 21 13:31:28 Stopping because service restarting. ]
[ Jul 21 13:31:28 Executing stop method (:kill). ]
[ Jul 21 13:31:28 Executing start method ("/opt/local/bin/node /opt/zwave2mqtt/bin/www"). ]
2019-07-21T13:31:28.689Z z2m:Store scenes.json not found
2019-07-21T13:31:29.108Z z2m:App Application path:/opt/zwave2mqtt
Initialising OpenZWave 1.6.848 binary addon for Node.JS.
        OpenZWave Security API is ENABLED
        ZWave device db    : /opt/local/etc/openzwave
        User settings path : /opt/zwave2mqtt/store
        Option Overrides : --Logging false --ConsoleOutput false --QueueLogLevel 6 --DriverMaxAttempts 9999 --SaveConfiguration true --PollInterval 60000 --NetworkKey <snip>
2019-07-21T13:31:29.218Z z2m:Zwave Connecting to /dev/cua/0
2019-07-21T13:31:29.621Z z2m:App Listening on port 8091
2019-07-21T13:31:29.679Z z2m:Mqtt MQTT client connected
2019-07-21T13:31:29.753Z z2m:Zwave Scanning network with homeid: 0xfc20d090
2019-07-21T13:31:29.754Z z2m:Zwave Node added 1
2019-07-21T13:31:29.756Z z2m:Zwave node 1 AVAILABLE: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
2019-07-21T13:31:29.758Z z2m:Zwave ValueAdded: 1-32-1-0 Basic
2019-07-21T13:31:29.763Z z2m:Zwave ValueAdded: 1-114-1-0 Loaded Config Revision
2019-07-21T13:31:29.763Z z2m:Zwave ValueAdded: 1-114-1-1 Config File Revision
2019-07-21T13:31:29.764Z z2m:Zwave ValueAdded: 1-114-1-2 Latest Available Config File Revision
2019-07-21T13:31:29.764Z z2m:Zwave ValueAdded: 1-114-1-3 Device ID
2019-07-21T13:31:29.765Z z2m:Zwave ValueAdded: 1-114-1-4 Serial Number
2019-07-21T13:31:29.765Z z2m:Zwave Node added 2
2019-07-21T13:31:29.767Z z2m:Zwave node 2 AVAILABLE: AEON Labs - ZW100 MultiSensor 6 (Home Security Sensor)
2019-07-21T13:31:29.767Z z2m:Zwave ValueAdded: 2-48-1-0 Sensor
2019-07-21T13:31:29.768Z z2m:Zwave ValueAdded: 2-49-1-1 Air Temperature
2019-07-21T13:31:29.768Z z2m:Zwave ValueAdded: 2-49-1-3 Illuminance
2019-07-21T13:31:29.768Z z2m:Zwave ValueAdded: 2-49-1-5 Humidity
2019-07-21T13:31:29.769Z z2m:Zwave ValueAdded: 2-49-1-27 Ultraviolet
2019-07-21T13:31:29.769Z z2m:Zwave ValueAdded: 2-49-1-256 Air Temperature Units
2019-07-21T13:31:29.770Z z2m:Zwave ValueAdded: 2-49-1-258 Illuminance Units
2019-07-21T13:31:29.771Z z2m:Zwave ValueAdded: 2-49-1-260 Humidity Units
2019-07-21T13:31:29.771Z z2m:Zwave ValueAdded: 2-49-1-282 Ultraviolet Units
2019-07-21T13:31:29.772Z z2m:Zwave ValueAdded: 2-94-1-0 ZWave+ Version
2019-07-21T13:31:29.772Z z2m:Zwave ValueAdded: 2-94-1-1 InstallerIcon
2019-07-21T13:31:29.772Z z2m:Zwave ValueAdded: 2-94-1-2 UserIcon
2019-07-21T13:31:29.773Z z2m:Zwave ValueAdded: 2-112-1-2 Wake up 10 minutes on Power On
2019-07-21T13:31:29.773Z z2m:Zwave ValueAdded: 2-112-1-3 On time
2019-07-21T13:31:29.774Z z2m:Zwave ValueAdded: 2-112-1-4 Enable Motion Sensor
2019-07-21T13:31:29.774Z z2m:Zwave ValueAdded: 2-112-1-5 Command Options
2019-07-21T13:31:29.775Z z2m:Zwave ValueAdded: 2-112-1-8 Awake timeout
2019-07-21T13:31:29.775Z z2m:Zwave ValueAdded: 2-112-1-9 Current power mode
2019-07-21T13:31:29.776Z z2m:Zwave ValueAdded: 2-112-1-39 Low Battery
2019-07-21T13:31:29.776Z z2m:Zwave ValueAdded: 2-112-1-40 Report Only On Thresholds
2019-07-21T13:31:29.777Z z2m:Zwave ValueAdded: 2-112-1-41 Temperature Reporting Threshold
2019-07-21T13:31:29.777Z z2m:Zwave ValueAdded: 2-112-1-42 Humidity Reporting Threshold
2019-07-21T13:31:29.778Z z2m:Zwave ValueAdded: 2-112-1-43 Luminance Reporting Threshold
2019-07-21T13:31:29.778Z z2m:Zwave ValueAdded: 2-112-1-44 Battery Reporting Threshold
2019-07-21T13:31:29.779Z z2m:Zwave ValueAdded: 2-112-1-45 UV Reporting Threshold
2019-07-21T13:31:29.779Z z2m:Zwave ValueAdded: 2-112-1-46 Low Temp Alarm
2019-07-21T13:31:29.780Z z2m:Zwave ValueAdded: 2-112-1-48 Enable/disable to send a report on Threshold
2019-07-21T13:31:29.780Z z2m:Zwave ValueAdded: 2-112-1-49 Set the upper limit value of temperature sensor
2019-07-21T13:31:29.781Z z2m:Zwave ValueAdded: 2-112-1-50 Set the lower limit value of temperature sensor
2019-07-21T13:31:29.781Z z2m:Zwave ValueAdded: 2-112-1-51 Set the upper limit value of humidity sensor
2019-07-21T13:31:29.782Z z2m:Zwave ValueAdded: 2-112-1-52 Set the lower limit value of humidity sensor
2019-07-21T13:31:29.782Z z2m:Zwave ValueAdded: 2-112-1-53 Set the upper limit value of Lighting sensor
2019-07-21T13:31:29.783Z z2m:Zwave ValueAdded: 2-112-1-54 Set the lower limit value of Lighting sensor
2019-07-21T13:31:29.783Z z2m:Zwave ValueAdded: 2-112-1-55 Set the upper limit value of ultraviolet sensor
2019-07-21T13:31:29.784Z z2m:Zwave ValueAdded: 2-112-1-56 Set the lower limit value of ultraviolet sensor
2019-07-21T13:31:29.784Z z2m:Zwave ValueAdded: 2-112-1-57 Set the recover limit value of temperature sensor
2019-07-21T13:31:29.785Z z2m:Zwave ValueAdded: 2-112-1-58 Set the recover limit value of humidity sensor
2019-07-21T13:31:29.785Z z2m:Zwave ValueAdded: 2-112-1-59 Set the recover limit value of Lighting sensor
2019-07-21T13:31:29.786Z z2m:Zwave ValueAdded: 2-112-1-60 Set the recover limit value of Ultraviolet sensor
2019-07-21T13:31:29.786Z z2m:Zwave ValueAdded: 2-112-1-61 Get the out-of-limit state of the Sensors
2019-07-21T13:31:29.786Z z2m:Zwave ValueAdded: 2-112-1-64 Temperature scale
2019-07-21T13:31:29.787Z z2m:Zwave ValueAdded: 2-112-1-81 LED blinking report
2019-07-21T13:31:29.787Z z2m:Zwave ValueAdded: 2-112-1-100 Reset Params 101-103 to Default
2019-07-21T13:31:29.788Z z2m:Zwave ValueAdded: 2-112-1-101 Group 1 Reports
2019-07-21T13:31:29.788Z z2m:Zwave ValueAdded: 2-112-1-102 Group 2 Reports
2019-07-21T13:31:29.789Z z2m:Zwave ValueAdded: 2-112-1-103 Group 3 Reports
2019-07-21T13:31:29.789Z z2m:Zwave ValueAdded: 2-112-1-110 Reset Params 111-113 to Default
2019-07-21T13:31:29.790Z z2m:Zwave ValueAdded: 2-112-1-111 Group 1 Interval
2019-07-21T13:31:29.790Z z2m:Zwave ValueAdded: 2-112-1-112 Group 2 Interval
2019-07-21T13:31:29.791Z z2m:Zwave ValueAdded: 2-112-1-113 Group 3 Interval
2019-07-21T13:31:29.791Z z2m:Zwave ValueAdded: 2-112-1-201 Temperature Calibration
2019-07-21T13:31:29.792Z z2m:Zwave ValueAdded: 2-112-1-202 Humidity Calibration
2019-07-21T13:31:29.792Z z2m:Zwave ValueAdded: 2-112-1-203 Luminance Calibration
2019-07-21T13:31:29.793Z z2m:Zwave ValueAdded: 2-112-1-204 Ultraviolet Calibration
2019-07-21T13:31:29.793Z z2m:Zwave ValueAdded: 2-112-1-252 Enable/disable Lock Configuration
2019-07-21T13:31:29.794Z z2m:Zwave ValueAdded: 2-112-1-255 Reset To Factory Defaults
2019-07-21T13:31:29.794Z z2m:Zwave ValueAdded: 2-113-1-7 Home Security
2019-07-21T13:31:29.794Z z2m:Zwave ValueAdded: 2-113-1-256 Previous Event Cleared
2019-07-21T13:31:29.795Z z2m:Zwave ValueAdded: 2-113-1-514 Automatically Clear Events
2019-07-21T13:31:29.795Z z2m:Zwave ValueAdded: 2-114-1-0 Loaded Config Revision
2019-07-21T13:31:29.796Z z2m:Zwave ValueAdded: 2-114-1-1 Config File Revision
2019-07-21T13:31:29.796Z z2m:Zwave ValueAdded: 2-114-1-2 Latest Available Config File Revision
2019-07-21T13:31:29.796Z z2m:Zwave ValueAdded: 2-114-1-3 Device ID
2019-07-21T13:31:29.797Z z2m:Zwave ValueAdded: 2-114-1-4 Serial Number
2019-07-21T13:31:29.797Z z2m:Zwave ValueAdded: 2-115-1-0 Powerlevel
2019-07-21T13:31:29.798Z z2m:Zwave ValueAdded: 2-115-1-1 Timeout
2019-07-21T13:31:29.798Z z2m:Zwave ValueAdded: 2-115-1-2 Set Powerlevel
2019-07-21T13:31:29.798Z z2m:Zwave ValueAdded: 2-115-1-3 Test Node
2019-07-21T13:31:29.799Z z2m:Zwave ValueAdded: 2-115-1-4 Test Powerlevel
2019-07-21T13:31:29.799Z z2m:Zwave ValueAdded: 2-115-1-5 Frame Count
2019-07-21T13:31:29.800Z z2m:Zwave ValueAdded: 2-115-1-6 Test
2019-07-21T13:31:29.800Z z2m:Zwave ValueAdded: 2-115-1-7 Report
2019-07-21T13:31:29.801Z z2m:Zwave ValueAdded: 2-115-1-8 Test Status
2019-07-21T13:31:29.801Z z2m:Zwave ValueAdded: 2-115-1-9 Acked Frames
2019-07-21T13:31:29.802Z z2m:Zwave ValueAdded: 2-128-1-0 Battery Level
2019-07-21T13:31:29.802Z z2m:Zwave ValueAdded: 2-132-1-1 Minimum Wake-up Interval
2019-07-21T13:31:29.802Z z2m:Zwave ValueAdded: 2-132-1-2 Maximum Wake-up Interval
2019-07-21T13:31:29.803Z z2m:Zwave ValueAdded: 2-132-1-3 Default Wake-up Interval
2019-07-21T13:31:29.803Z z2m:Zwave ValueAdded: 2-132-1-4 Wake-up Interval Step
2019-07-21T13:31:29.803Z z2m:Zwave ValueAdded: 2-132-1-0 Wake-up Interval
2019-07-21T13:31:29.804Z z2m:Zwave ValueAdded: 2-134-1-0 Library Version
2019-07-21T13:31:29.804Z z2m:Zwave ValueAdded: 2-134-1-1 Protocol Version
2019-07-21T13:31:29.805Z z2m:Zwave ValueAdded: 2-134-1-2 Application Version
2019-07-21T13:31:29.805Z z2m:Zwave Node added 4
2019-07-21T13:31:29.805Z z2m:Zwave node 4 AVAILABLE: AEON Labs - ZW116 Nano Switch (Binary Power Switch)
2019-07-21T13:31:29.807Z z2m:Zwave ValueAdded: 4-37-1-0 Switch
2019-07-21T13:31:29.808Z z2m:Zwave ValueAdded: 4-39-1-0 Switch All
2019-07-21T13:31:29.808Z z2m:Zwave ValueAdded: 4-112-1-3 Over current protection
2019-07-21T13:31:29.809Z z2m:Zwave ValueAdded: 4-112-1-4 Over heat protection
2019-07-21T13:31:29.809Z z2m:Zwave ValueAdded: 4-112-1-20 Status re-power on
2019-07-21T13:31:29.810Z z2m:Zwave ValueAdded: 4-112-1-21 WallSwipe IR sensor
2019-07-21T13:31:29.810Z z2m:Zwave ValueAdded: 4-112-1-64 WallSwipe button color
2019-07-21T13:31:29.811Z z2m:Zwave ValueAdded: 4-112-1-65 WallSwipe LED Up gesture action
2019-07-21T13:31:29.811Z z2m:Zwave ValueAdded: 4-112-1-66 WallSwipe LED Down gesture action
2019-07-21T13:31:29.812Z z2m:Zwave ValueAdded: 4-112-1-67 WallSwipe LED Left gesture action
2019-07-21T13:31:29.812Z z2m:Zwave ValueAdded: 4-112-1-68 WallSwipe LED Right gesture action
2019-07-21T13:31:29.813Z z2m:Zwave ValueAdded: 4-112-1-69 WallSwipe Night light
2019-07-21T13:31:29.813Z z2m:Zwave ValueAdded: 4-112-1-71 WallSwipe sensitivity
2019-07-21T13:31:29.814Z z2m:Zwave ValueAdded: 4-112-1-80 Notification report association group 1
2019-07-21T13:31:29.814Z z2m:Zwave ValueAdded: 4-112-1-81 Notification report using the external switch 1
2019-07-21T13:31:29.815Z z2m:Zwave ValueAdded: 4-112-1-82 Notification report using the external switch 2
2019-07-21T13:31:29.815Z z2m:Zwave ValueAdded: 4-112-1-83 LED status
2019-07-21T13:31:29.816Z z2m:Zwave ValueAdded: 4-112-1-84 Time set for Night light mode
2019-07-21T13:31:29.816Z z2m:Zwave ValueAdded: 4-112-1-86 Set the ON time of output load
2019-07-21T13:31:29.816Z z2m:Zwave ValueAdded: 4-112-1-87 Set the OFF time of output load
2019-07-21T13:31:29.817Z z2m:Zwave ValueAdded: 4-112-1-90 Enable/disable the parameter 91 and 92
2019-07-21T13:31:29.817Z z2m:Zwave ValueAdded: 4-112-1-91 Minimum Change to send Report (Watt)
2019-07-21T13:31:29.818Z z2m:Zwave ValueAdded: 4-112-1-92 Minimum Change to send Report (%)
2019-07-21T13:31:29.818Z z2m:Zwave ValueAdded: 4-112-1-100 Default Group Reports
2019-07-21T13:31:29.819Z z2m:Zwave ValueAdded: 4-112-1-101 Report type sent in Reporting Group 1
2019-07-21T13:31:29.819Z z2m:Zwave ValueAdded: 4-112-1-102 Report type sent in Reporting Group 2
2019-07-21T13:31:29.820Z z2m:Zwave ValueAdded: 4-112-1-103 Report type sent in Reporting Group 3
2019-07-21T13:31:29.820Z z2m:Zwave ValueAdded: 4-112-1-110 Set 111-113 to default
2019-07-21T13:31:29.821Z z2m:Zwave ValueAdded: 4-112-1-111 Send Interval for Reporting Group 1
2019-07-21T13:31:29.821Z z2m:Zwave ValueAdded: 4-112-1-112 Send Interval for Reporting Group 2
2019-07-21T13:31:29.822Z z2m:Zwave ValueAdded: 4-112-1-113 Send Interval for Reporting Group 3
2019-07-21T13:31:29.822Z z2m:Zwave ValueAdded: 4-112-1-120 Set the external S1 mode
2019-07-21T13:31:29.823Z z2m:Zwave ValueAdded: 4-112-1-121 Set the external S2 mode
2019-07-21T13:31:29.823Z z2m:Zwave ValueAdded: 4-112-1-122 Control destination for S1
2019-07-21T13:31:29.824Z z2m:Zwave ValueAdded: 4-112-1-123 Control destination for S2
2019-07-21T13:31:29.824Z z2m:Zwave ValueAdded: 4-112-1-144 WallSwipe
2019-07-21T13:31:29.824Z z2m:Zwave ValueAdded: 4-112-1-247 S1/S2 when the Switch mode is 3-way switch
2019-07-21T13:31:29.825Z z2m:Zwave ValueAdded: 4-112-1-248 Function of S1/S2
2019-07-21T13:31:29.825Z z2m:Zwave ValueAdded: 4-112-1-251 Configuration factory reset function
2019-07-21T13:31:29.826Z z2m:Zwave ValueAdded: 4-112-1-252 Configuration Locked
2019-07-21T13:31:29.826Z z2m:Zwave ValueAdded: 4-112-1-255 Reset To Factory Defaults
2019-07-21T13:31:29.827Z z2m:Zwave ValueAdded: 4-114-1-0 Loaded Config Revision
2019-07-21T13:31:29.827Z z2m:Zwave ValueAdded: 4-114-1-1 Config File Revision
2019-07-21T13:31:29.828Z z2m:Zwave ValueAdded: 4-114-1-2 Latest Available Config File Revision
2019-07-21T13:31:29.828Z z2m:Zwave ValueAdded: 4-114-1-3 Device ID
2019-07-21T13:31:29.828Z z2m:Zwave ValueAdded: 4-114-1-4 Serial Number
2019-07-21T13:31:30.609Z z2m:Zwave Notification from node 2: Notification - NoOperation (2)
2019-07-21T13:31:30.670Z z2m:Zwave Notification from node 4: Notification - NoOperation (2)
2019-07-21T13:31:30.682Z z2m:Zwave node 1 ready: Z-Wave.Me - ZME_UZB1 USB Stick (Static PC Controller)
GET / 304 12.902 ms - -
GET /static/css/app.6767e8280089a963b7ff2532eaea9424.css 304 1.577 ms - -
GET /static/js/manifest.2ae2e69a05c33dfc65f8.js 304 0.938 ms - -
GET /static/js/vendor.1d2798e4c6f4af1b015a.js 304 1.029 ms - -
GET /static/js/app.66ffaa0499cb5ddba94a.js 304 0.325 ms - -
GET /static/logo.png 304 0.567 ms - -
2019-07-21T13:31:31.503Z z2m:App New connection JXd-RmONABaDfkCuAAAA
2019-07-21T13:31:39.475Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, false ]
2019-07-21T13:31:39.482Z z2m:Zwave Success zwave api call setValue
2019-07-21T13:31:40.678Z z2m:Zwave Notification from node 2: Notification - TimeOut (1)
2019-07-21T13:31:46.614Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T13:31:46.615Z z2m:Zwave Success zwave api call setValue
2019-07-21T13:31:51.421Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, false ]
2019-07-21T13:31:51.421Z z2m:Zwave Success zwave api call setValue
2019-07-21T13:31:53.749Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T13:31:53.749Z z2m:Zwave Success zwave api call setValue
sjorge commented 5 years ago

With the verified change option removed, it no longer does anything

2019-07-21T13:37:28.383Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:29.623Z z2m:Zwave Notification from node 4: Notification - TimeOut (1)
2019-07-21T13:37:29.657Z z2m:Zwave node 2 ready: AEON Labs - ZW100 MultiSensor 6 (Home Security Sensor)
2019-07-21T13:37:29.660Z z2m:Zwave Network scan complete. Found: 3 nodes
2019-07-21T13:37:29.785Z z2m:Zwave Notification from node 2: Notification - Node Asleep (4)
2019-07-21T13:37:36.939Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:46.652Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:51.349Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:52.751Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:53.703Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:54.627Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
2019-07-21T13:37:55.369Z z2m:Mqtt Message received on zwave/bedroom/outlet_desk/switch_binary/switch/set
sjorge commented 5 years ago

I've reverted to the previous version for now (so I did not yet switch away my node-red setup from the depricated named values option for mqtt), although I dont think it matters much as the switch is now broken again via both mqtt aswel as via the interface.

sjorge commented 5 years ago

Some progress, after wiping the entire setup and rebuilding the entire network (ugh)... it 'works' aside from the verify changes config. The switch is still broken but the nodes now show up in the correct state.

Perhaps we should close this issue and make a new one for the broken 'Verify Changes' option? It's back to the broken behavior before this was implemented now.

2019-07-21T14:01:38.261Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T14:01:38.262Z z2m:Zwave Success zwave api call setValue
2019-07-21T14:01:38.494Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:false -> false
2019-07-21T14:01:40.481Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:false -> true
2019-07-21T14:01:40.546Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> true
2019-07-21T14:01:45.413Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, false ]
2019-07-21T14:01:45.414Z z2m:Zwave Success zwave api call setValue
2019-07-21T14:01:45.713Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> true
2019-07-21T14:01:48.446Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> false
2019-07-21T14:01:53.807Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T14:01:53.808Z z2m:Zwave Success zwave api call setValue
2019-07-21T14:01:54.253Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:false -> true
2019-07-21T14:01:56.238Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> true

So the exact same story, we set it, and we get multiple updates in random orders. Sometimes we'd get the on -> off or off -> on or sometimes on -> on or off -> off

Sometimes both and in the case the order is important, if we get on -> on before on -> off the state is bad. Or if we only get one, the state may be OK or bad depending on whch one we got.

For now it looks like the setting gets ignored to verify the changes, but IIRC I think that option got removed in ozw 1.6... but I can't find out where I read that.

This is with the option set:

2019-07-21T14:01:38.261Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T14:01:38.262Z z2m:Zwave Success zwave api call setValue
2019-07-21T14:01:38.494Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:false -> false
2019-07-21T14:01:40.481Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:false -> true
2019-07-21T14:01:40.546Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> true
2019-07-21T14:01:45.413Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, false ]
2019-07-21T14:01:45.414Z z2m:Zwave Success zwave api call setValue
2019-07-21T14:01:45.713Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> true
2019-07-21T14:01:48.446Z z2m:Zwave zwave node 4: changed: 37-1-0:Switch:true -> false
2019-07-21T14:01:53.807Z z2m:App Zwave api call: setValue [ 4, 37, 1, 0, true ]
2019-07-21T14:01:53.808Z z2m:Zwave Success zwave api call setValue
( yes we never got an update at all here)
sjorge commented 5 years ago

Ugh, I might have spoken to soon. I did another reset after setting the verify changes property, thinking it might need a restart to take affect and now all devices are sleeping again at startup... including the controller itself :s

sjorge commented 5 years ago

I narrowed it down, closing this but opening 2 new issues.