WebThingsIO / zwave-adapter

Z-Wave adapter add-on for WebThings Gateway
Mozilla Public License 2.0
15 stars 20 forks source link

Heiman Smoke Sensor HS1SA-Z - showing only battery status #64

Closed Beejeedeb closed 5 years ago

Beejeedeb commented 5 years ago

Hi,

I have an Aeotec Z-Stick gen 5 at which I have paired two Z-wave devices. One is an Neo Coolcam motion sensor which paired and functions without a problem the other is a Heiman Smoke Sensor HS1SA-Z however this sensor is only showing the battery status.

In the Aeotec ozwcache logfile I found an url to the manual :

https://products.z-wavealliance.org/ProductManual/File?folder=&filename=Manuals/3006/HS1SA-Z%20S2-documentation_3.pdf

and an url to an downloadable product specific z-wave xml file :

https://products.z-wavealliance.org/products/3006/xml

If this isn't enough I can also send part of the ozwcache logfile it is however to long to include in this message.

Please can someone add this device.

I can test this device if it is added.

(I am very interested which files are changed for this device, to work correctly, so that I can do it myself in the future)

dhylands commented 5 years ago

The file to modify would be the classifier, specifically this table here: https://github.com/mozilla-iot/zwave-adapter/blob/874b46ae671d006322d6b03f790c0990bdce2f97/zwave-classifier.js#L58

The following would be the constants to add: const NOTIFICATION_SMOKE_DETECTOR = 1; const NOTIFICATION_CO_DETECTOR = 2; const NOTIFICATION_CO2_DETECTOR = 3;

Looking at the schema: https://iot.mozilla.org/schemas/#Alarm it should probably use an AlaramProperty. I'm not sure of the mapping. Seeing the owcache file would be useful. You can send it dhylands@mozilla.com

dhylands commented 5 years ago

See also: https://github.com/mozilla-iot/gateway/issues/1727 and https://github.com/mozilla-iot/gateway/issues/1726

Beejeedeb commented 5 years ago

Hi the ozwcache logfile has been sent to you.

Curious which mappings you will use.

Beejeedeb commented 5 years ago

adding the code to zwave-classifier.js did work and there is now an alarm icon and an alarm added to the thing. However after testing with the test button and real smoke the alarm sound is triggered on the device. However, the thing alarm is not triggered on the gateway. I am afraid something is still missing.

In logfile I see this:

Test button 2019-06-15 13:12:35.022 INFO : zwave: node8: node awake 2019-06-15 13:12:36.146 INFO : zwave: node8 valueChanged: 8-48-1-0:Sensor = false (no property found) 2019-06-15 13:12:36.170 INFO : zwave: node8 valueChanged: 8-113-1-256:Previous Event Cleared = 2 (no property found) 2019-06-15 13:12:36.173 INFO : zwave: node8 valueChanged: 8-113-1-1:Smoke property: on = undefined 2019-06-15 13:12:45.594 INFO : zwave: node8: timeout 2019-06-15 13:12:45.750 INFO : zwave: node8 valueChanged: 8-115-1-0:Powerlevel = Normal dB (no property found) 2019-06-15 13:12:45.752 INFO : zwave: node8 valueChanged: 8-115-1-1:Timeout = 0 seconds (no property found) 2019-06-15 13:12:45.787 INFO : zwave: node8 valueChanged: 8-132-1-0:Wake-up Interval = 86400 Seconds (no property found) 2019-06-15 13:12:55.789 INFO : zwave: node8: timeout 2019-06-15 13:12:55.825 INFO : zwave: node8 valueChanged: 8-48-1-0:Sensor = false (no property found) 2019-06-15 13:12:55.864 INFO : zwave: node8 valueChanged: 8-113-1-256:Previous Event Cleared = 0 (no property found) 2019-06-15 13:12:55.867 INFO : zwave: node8 valueChanged: 8-113-1-1:Smoke property: on = undefined 2019-06-15 13:12:55.901 INFO : zwave: node8 valueChanged: 8-128-1-0:Battery Level property: batteryLevel = 80 % 2019-06-15 13:12:55.946 INFO : zwave: node8: node sleep

Real smoke 2019-06-15 13:41:26.280 INFO : zwave: node8 valueChanged: 8-48-1-0:Sensor = true (no property found) 2019-06-15 13:41:26.299 INFO : zwave: node8 valueChanged: 8-113-1-256:Previous Event Cleared = 0 (no property found) 2019-06-15 13:41:30.282 INFO : zwave: node8: node awake 2019-06-15 13:41:30.307 INFO : zwave: node8: node sleep


Added code: const NOTIFICATION_SMOKE_DETECTOR = 1;

[NOTIFICATION_SMOKE_DETECTOR]: { // 1 name: 'smoke', '@type': ['Alarm'], propertyName: 'on', propertyDescr: { '@type': 'AlarmProperty', type: 'boolean', label: 'Smoke', description: 'Smoke Detector', readOnly: true, }, valueListMap: [false, true], },


OZW_log with testbutton pushed (discovered and paired again device is now node12)

2019-06-19 13:11:33.076 Detail, Node012, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0c, 0x04, 0x30, 0x03, 0xff, 0x02, 0x37 2019-06-19 13:11:33.076 Detail, 2019-06-19 13:11:33.076 Info, Node012, Received SensorBinary report: Sensor:2 State=On 2019-06-19 13:11:33.076 Detail, Node012, Initial read of value 2019-06-19 13:11:33.076 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:33.100 Detail, Node012, Received: 0x01, 0x0f, 0x00, 0x04, 0x00, 0x0c, 0x09, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x01, 0x02, 0x00, 0x79 2019-06-19 13:11:33.100 Detail, 2019-06-19 13:11:33.100 Info, Node012, Received Notification report (>v1): Type: Smoke Alarm (1) Event: Smoke Detected at Unknown Location (2) Status: true, Param Length: 0 2019-06-19 13:11:36.133 Detail, Node012, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0c, 0x04, 0x30, 0x03, 0x00, 0x02, 0xc8 2019-06-19 13:11:36.133 Detail, 2019-06-19 13:11:36.133 Info, Node012, Received SensorBinary report: Sensor:2 State=Off 2019-06-19 13:11:36.133 Detail, Node012, Refreshed Value: old value=true, new value=false, type=bool 2019-06-19 13:11:36.133 Detail, Node012, Changes to this value are not verified 2019-06-19 13:11:36.133 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:36.157 Detail, Node012, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x0c, 0x0a, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x01, 0x02, 0x64 2019-06-19 13:11:36.157 Detail, 2019-06-19 13:11:36.157 Info, Node012, Received Notification report (>v1): Type: Smoke Alarm (1) Event: Clear (0) Status: true, Param Length: 1 2019-06-19 13:11:36.157 Detail, Node012, Initial read of value 2019-06-19 13:11:36.157 Detail, Node012, Initial read of value 2019-06-19 13:11:36.157 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:36.157 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:38.157 Detail, Node012, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0c, 0x02, 0x84, 0x07, 0x7e 2019-06-19 13:11:38.157 Detail, 2019-06-19 13:11:38.157 Info, Node012, Received Wakeup Notification from node 12 2019-06-19 13:11:38.158 Info, Node012, Node 12 has been marked as awake 2019-06-19 13:11:38.158 Detail, Node012, Queuing (Query) Query Stage Complete (CacheLoad) 2019-06-19 13:11:38.158 Detail, Node012, Notification: Notification - Node Awake 2019-06-19 13:11:38.158 Detail, Node012, Query Stage Complete (CacheLoad) 2019-06-19 13:11:38.158 Detail, Node012, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Associations live=1 2019-06-19 13:11:38.158 Detail, Node012, QueryStage_Associations 2019-06-19 13:11:38.158 Info, Node012, Number of association groups reported for node 12 is 3. 2019-06-19 13:11:38.158 Info, Node012, Get Associations for group 1 of node 12 2019-06-19 13:11:38.158 Detail, Node012, Queuing (Send) AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x01, 0x25, 0x51, 0x1b 2019-06-19 13:11:38.158 Detail, Node012, Queuing (Query) Query Stage Complete (Associations) 2019-06-19 13:11:38.158 Detail, 2019-06-19 13:11:38.158 Info, Node012, Sending (Send) message (Callback ID=0x51, Expected Reply=0x04) - AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x01, 0x25, 0x51, 0x1b 2019-06-19 13:11:38.158 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.171 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.171 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.189 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x51, 0x00, 0x00, 0x03, 0xb9 2019-06-19 13:11:38.189 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x51 received (expected 0x51) 2019-06-19 13:11:38.189 Info, Node012, Request RTT 30 Average Request RTT 30 2019-06-19 13:11:38.189 Detail, Node012, Expected callbackId was received 2019-06-19 13:11:38.201 Detail, Node012, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x0c, 0x06, 0x85, 0x03, 0x01, 0x01, 0x00, 0x01, 0x7a 2019-06-19 13:11:38.201 Detail, 2019-06-19 13:11:38.201 Info, Node012, Response RTT 42 Average Response RTT 42 2019-06-19 13:11:38.201 Info, Node012, Received Association report from node 12, group 1, containing 1 associations 2019-06-19 13:11:38.201 Info, Node012, The group contains: 2019-06-19 13:11:38.201 Info, Node012, Node 1 2019-06-19 13:11:38.201 Info, Node012, Get Associations for group 2 of node 12 2019-06-19 13:11:38.201 Detail, Node012, Queuing (Send) AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x02, 0x25, 0x52, 0x1b 2019-06-19 13:11:38.201 Detail, Node012, Expected reply and command class was received 2019-06-19 13:11:38.201 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.201 Detail, 2019-06-19 13:11:38.201 Detail, Node012, Removing current message 2019-06-19 13:11:38.201 Detail, 2019-06-19 13:11:38.201 Info, Node012, Sending (Send) message (Callback ID=0x52, Expected Reply=0x04) - AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x02, 0x25, 0x52, 0x1b 2019-06-19 13:11:38.201 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.210 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.210 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.226 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x52, 0x00, 0x00, 0x02, 0xbb 2019-06-19 13:11:38.226 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x52 received (expected 0x52) 2019-06-19 13:11:38.226 Info, Node012, Request RTT 24 Average Request RTT 27 2019-06-19 13:11:38.226 Detail, Node012, Expected callbackId was received 2019-06-19 13:11:38.238 Detail, Node012, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0c, 0x05, 0x85, 0x03, 0x02, 0x05, 0x00, 0x78 2019-06-19 13:11:38.238 Detail, 2019-06-19 13:11:38.238 Info, Node012, Response RTT 36 Average Response RTT 39 2019-06-19 13:11:38.238 Info, Node012, Received Association report from node 12, group 2, containing 0 associations 2019-06-19 13:11:38.238 Info, Node012, Get Associations for group 3 of node 12 2019-06-19 13:11:38.238 Detail, Node012, Queuing (Send) AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x03, 0x25, 0x53, 0x1b 2019-06-19 13:11:38.238 Detail, Node012, Expected reply and command class was received 2019-06-19 13:11:38.238 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.238 Detail, 2019-06-19 13:11:38.238 Detail, Node012, Removing current message 2019-06-19 13:11:38.238 Detail, Node012, Notification: Group 2019-06-19 13:11:38.238 Detail, 2019-06-19 13:11:38.238 Info, Node012, Sending (Send) message (Callback ID=0x53, Expected Reply=0x04) - AssociationCmd_Get (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x85, 0x02, 0x03, 0x25, 0x53, 0x1b 2019-06-19 13:11:38.238 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.247 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.247 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.263 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x53, 0x00, 0x00, 0x02, 0xba 2019-06-19 13:11:38.263 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x53 received (expected 0x53) 2019-06-19 13:11:38.263 Info, Node012, Request RTT 24 Average Request RTT 25 2019-06-19 13:11:38.263 Detail, Node012, Expected callbackId was received 2019-06-19 13:11:38.275 Detail, Node012, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x0c, 0x05, 0x85, 0x03, 0x03, 0x05, 0x00, 0x79 2019-06-19 13:11:38.275 Detail, 2019-06-19 13:11:38.275 Info, Node012, Response RTT 36 Average Response RTT 37 2019-06-19 13:11:38.275 Info, Node012, Received Association report from node 12, group 3, containing 0 associations 2019-06-19 13:11:38.275 Info, Node012, Querying associations for node 12 is complete. 2019-06-19 13:11:38.275 Detail, Node012, Expected reply and command class was received 2019-06-19 13:11:38.275 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.275 Detail, 2019-06-19 13:11:38.275 Detail, Node012, Removing current message 2019-06-19 13:11:38.275 Detail, Node012, Notification: Group 2019-06-19 13:11:38.275 Detail, Node012, Query Stage Complete (Associations) 2019-06-19 13:11:38.275 Detail, Node012, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Neighbors live=1 2019-06-19 13:11:38.275 Detail, Node012, QueryStage_Neighbors 2019-06-19 13:11:38.275 Detail, Requesting routing info (neighbor list) for Node 12 2019-06-19 13:11:38.275 Detail, Node012, Queuing (Command) Get Routing Info (Node=12): 0x01, 0x07, 0x00, 0x80, 0x0c, 0x00, 0x00, 0x03, 0x77 2019-06-19 13:11:38.275 Detail, Node012, Queuing (Query) Query Stage Complete (Neighbors) 2019-06-19 13:11:38.275 Detail, 2019-06-19 13:11:38.275 Info, Node012, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=12): 0x01, 0x07, 0x00, 0x80, 0x0c, 0x00, 0x00, 0x03, 0x77 2019-06-19 13:11:38.275 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.280 Detail, Node012, Received: 0x01, 0x20, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5e 2019-06-19 13:11:38.280 Detail, 2019-06-19 13:11:38.281 Info, Node012, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO 2019-06-19 13:11:38.281 Info, Node012, Neighbors of this node are: 2019-06-19 13:11:38.281 Info, Node012, (none reported) 2019-06-19 13:11:38.281 Detail, Node012, Expected reply was received 2019-06-19 13:11:38.281 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.281 Detail, 2019-06-19 13:11:38.281 Detail, Node012, Removing current message 2019-06-19 13:11:38.281 Detail, Node012, Query Stage Complete (Neighbors) 2019-06-19 13:11:38.281 Detail, Node012, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1 2019-06-19 13:11:38.281 Detail, Node012, QueryStage_Session 2019-06-19 13:11:38.281 Detail, Node012, Queuing (Query) PowerlevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x73, 0x02, 0x25, 0x54, 0xeb 2019-06-19 13:11:38.281 Detail, Node012, Queuing (Query) WakeUpCmd_IntervalGet (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x84, 0x05, 0x25, 0x55, 0x1a 2019-06-19 13:11:38.281 Detail, Node012, Queuing (Query) Query Stage Complete (Session) 2019-06-19 13:11:38.281 Detail, 2019-06-19 13:11:38.281 Info, Node012, Sending (Query) message (Callback ID=0x54, Expected Reply=0x04) - PowerlevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x73, 0x02, 0x25, 0x54, 0xeb 2019-06-19 13:11:38.281 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.289 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.289 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.305 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x54, 0x00, 0x00, 0x02, 0xbd 2019-06-19 13:11:38.305 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x54 received (expected 0x54) 2019-06-19 13:11:38.305 Info, Node012, Request RTT 23 Average Request RTT 24 2019-06-19 13:11:38.305 Detail, Node012, Expected callbackId was received 2019-06-19 13:11:38.316 Detail, Node012, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0c, 0x04, 0x73, 0x03, 0x00, 0x00, 0x89 2019-06-19 13:11:38.316 Detail, 2019-06-19 13:11:38.317 Info, Node012, Response RTT 35 Average Response RTT 36 2019-06-19 13:11:38.317 Info, Node012, Received a PowerLevel report: PowerLevel=Normal, Timeout=0 2019-06-19 13:11:38.317 Detail, Node012, Initial read of value 2019-06-19 13:11:38.317 Detail, Node012, Initial read of value 2019-06-19 13:11:38.317 Detail, Node012, Expected reply and command class was received 2019-06-19 13:11:38.317 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.317 Detail, 2019-06-19 13:11:38.317 Detail, Node012, Removing current message 2019-06-19 13:11:38.317 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:38.318 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:38.318 Detail, 2019-06-19 13:11:38.318 Info, Node012, Sending (Query) message (Callback ID=0x55, Expected Reply=0x04) - WakeUpCmd_IntervalGet (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x84, 0x05, 0x25, 0x55, 0x1a 2019-06-19 13:11:38.318 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.327 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.327 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.343 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x55, 0x00, 0x00, 0x02, 0xbc 2019-06-19 13:11:38.343 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x55 received (expected 0x55) 2019-06-19 13:11:38.343 Info, Node012, Request RTT 24 Average Request RTT 24 2019-06-19 13:11:38.343 Detail, Node012, Expected callbackId was received 2019-06-19 13:11:38.354 Detail, Node012, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x0c, 0x06, 0x84, 0x06, 0x01, 0x51, 0x80, 0x01, 0xae 2019-06-19 13:11:38.354 Detail, 2019-06-19 13:11:38.354 Info, Node012, Response RTT 35 Average Response RTT 35 2019-06-19 13:11:38.354 Info, Node012, Received Wakeup Interval report from node 12: Interval=86400, Target Node=1 2019-06-19 13:11:38.355 Detail, Node012, Initial read of value 2019-06-19 13:11:38.355 Detail, Node012, Expected reply and command class was received 2019-06-19 13:11:38.355 Detail, Node012, Message transaction complete 2019-06-19 13:11:38.355 Detail, 2019-06-19 13:11:38.355 Detail, Node012, Removing current message 2019-06-19 13:11:38.355 Detail, Node012, Notification: ValueChanged 2019-06-19 13:11:38.356 Detail, Node012, Query Stage Complete (Session) 2019-06-19 13:11:38.356 Detail, Node012, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1 2019-06-19 13:11:38.356 Detail, Node012, QueryStage_Dynamic 2019-06-19 13:11:38.356 Detail, Node012, Queuing (Send) BasicCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x20, 0x02, 0x25, 0x56, 0xba 2019-06-19 13:11:38.356 Detail, Node012, Queuing (Send) SensorBinaryCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x30, 0x02, 0x25, 0x57, 0xab 2019-06-19 13:11:38.356 Detail, Node012, Queuing (Send) AlarmCmd_Get (Node=12): 0x01, 0x0c, 0x00, 0x13, 0x0c, 0x05, 0x71, 0x04, 0x00, 0xff, 0x00, 0x25, 0x58, 0x1e 2019-06-19 13:11:38.356 Detail, Node012, Queuing (Send) BatteryCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x80, 0x02, 0x25, 0x59, 0x15 2019-06-19 13:11:38.356 Detail, Node012, Queuing (Query) Query Stage Complete (Dynamic) 2019-06-19 13:11:38.356 Detail, 2019-06-19 13:11:38.356 Info, Node012, Sending (Send) message (Callback ID=0x56, Expected Reply=0x04) - BasicCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x20, 0x02, 0x25, 0x56, 0xba 2019-06-19 13:11:38.356 Info, Node012, Encrypted Flag is 0 2019-06-19 13:11:38.365 Detail, Node012, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8 2019-06-19 13:11:38.365 Detail, Node012, ZW_SEND_DATA delivered to Z-Wave stack 2019-06-19 13:11:38.380 Detail, Node012, Received: 0x01, 0x07, 0x00, 0x13, 0x56, 0x00, 0x00, 0x02, 0xbf 2019-06-19 13:11:38.380 Detail, Node012, ZW_SEND_DATA Request with callback ID 0x56 received (expected 0x56) 2019-06-19 13:11:38.380 Info, Node012, Request RTT 23 Average Request RTT 23 2019-06-19 13:11:38.380 Detail, Node012, Expected callbackId was received

dhylands commented 5 years ago

I'll be at an all hands this week, but I'll take a closer look at that and see if I can figure out what's going on.

Beejeedeb commented 5 years ago

Thank you, take your time :-) It is hard to find my way through the code.

For the future maybe a webpage/template for the average user with information per device where one can set and change parameters if needed.

On Mon, Jun 17, 2019, 18:19 Dave Hylands notifications@github.com wrote:

I'll be at an all hands this week, but I'll take a closer look at that and see if I can figure out what's going on.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mozilla-iot/zwave-adapter/issues/64?email_source=notifications&email_token=AMJG4JBM3UQOXCTED27UCIDP262SJA5CNFSM4HXYDISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX3WKPQ#issuecomment-502752574, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJG4JFMZCPOMDEYL762WYLP262SJANCNFSM4HXYDISA .

dhylands commented 5 years ago

What platform are you running on? I've got an updated adapter for you to test. I can either point you to a git branch and you can download the modified source, or I can send you a complete adapter (in which case I'll need to know the platform).

Beejeedeb commented 5 years ago

Raspberry pi 3 (B+), sending the complete adapter would be great.

dhylands commented 5 years ago

You can grab a copy of the adapter from here: https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/builder/zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz

To install,

Disable the zwave addon

cd /home/pi/.mozilla-iot.addons rm -rf zwave-adapter (if you want to save the old adapter move it UP a directory, don't rename zwave-adapter and leave the renamed directory in the addons folder). The gateway loads adapters from all of the directories it finds in the addons folder and loading 2 swave adapters will cause problems. wget https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/builder/zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz tar xf zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz mv package zwave-adapter

Re-enable the zwave addon

On Mon, Jun 24, 2019 at 10:36 PM Beejeedeb notifications@github.com wrote:

Raspberry pi 3 (B+), sending the complete adapter would be great.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mozilla-iot/zwave-adapter/issues/64?email_source=notifications&email_token=AAA7EDBS46RG6ZDETKQIHRTP4GVGTA5CNFSM4HXYDISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPB7DQ#issuecomment-505290638, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA7EDAHFCC7NUUE6ND5E7LP4GVGTANCNFSM4HXYDISA .

-- Dave Hylands Peachland, BC, Canada http://www.davehylands.com

Beejeedeb commented 5 years ago

[image: image.png] Succes!!! :-) Used the test button. I had to reboot the whole Raspberry PI stopping and starting the service was not enough.

On Tue, 25 Jun 2019 at 18:59, Dave Hylands notifications@github.com wrote:

You can grab a copy of the adapter from here:

https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/builder/zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz

To install,

Disable the zwave addon

cd /home/pi/.mozilla-iot.addons rm -rf zwave-adapter (if you want to save the old adapter move it UP a directory, don't rename zwave-adapter and leave the renamed directory in the addons folder). The gateway loads adapters from all of the directories it finds in the addons folder and loading 2 swave adapters will cause problems. wget

https://s3-us-west-2.amazonaws.com/mozilla-gateway-addons/builder/zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz tar xf zwave-adapter-0.7.5-pr-70-linux-arm-v8.tgz mv package zwave-adapter

Re-enable the zwave addon

On Mon, Jun 24, 2019 at 10:36 PM Beejeedeb notifications@github.com wrote:

Raspberry pi 3 (B+), sending the complete adapter would be great.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/mozilla-iot/zwave-adapter/issues/64?email_source=notifications&email_token=AAA7EDBS46RG6ZDETKQIHRTP4GVGTA5CNFSM4HXYDISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYPB7DQ#issuecomment-505290638 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AAA7EDAHFCC7NUUE6ND5E7LP4GVGTANCNFSM4HXYDISA

.

-- Dave Hylands Peachland, BC, Canada http://www.davehylands.com

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/mozilla-iot/zwave-adapter/issues/64?email_source=notifications&email_token=AMJG4JG5B4EXQWLV7YIXMP3P4JFHXA5CNFSM4HXYDISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQ5CDA#issuecomment-505532684, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJG4JB774KIUOLLBJUNR7DP4JFHXANCNFSM4HXYDISA .

Beejeedeb commented 5 years ago

I also have a Neo Coolcam motion sensor. After opening the thing I see now a circle (blob?) with motion instead of tamper. This looks better too.