question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aeotec ZW111/ZW116 Config - Basic Set Compat Flag needed

See original GitHub issue

The Aeotec ZW111 nano single dimmer allows for two physical switches to be connected. They can be configured to either control the direct load, send an event or do both. This is configured in config parameter 22-112-0-81 and 22-112-0-82 and then completed by adding the destination node (in my case Node 1) to either Group - Control:Key 1 or Group - Control:Key 2 depending on what you would like each switch to do.

If configured to send an event only, they send a Basic Set (only option) which by default with zwavejs gets mapped into a report. In order to use this event to perform a secondary function it needs to be an event so that Home Assistant can be triggered. I was able to get this working by making a local change to the zw111_2.3.json device config adding the compat flag.

"compat": {
		"treatBasicSetAsEvent": true
	}

Can this be added to this configuration? This will likely also be needed for ZW116 nano switch which supports the same functionality.

Thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:28 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
AlCalzonecommented, May 29, 2021

Doesn’t look like it: https://github.com/zwave-js/node-zwave-js/blob/master/packages/config/config/devices/0x0086/zw132.json#L341

@zwave-js-bot add compat flag to 0x0086:0x0003:0x0084

// The device can report S1/S2 switch operation via Basic Set to groups 3 and 4
treatBasicSetAsEvent: true
1reaction
andrewpccommented, Mar 23, 2021

Here is me pressing the button four times. Note this switch (s2) is configured per the image 4 comments up with “control the other nodes” selected and node 1 in group 4. When configured this way, it does not control the connected light circuit, but only send the Basic set event. This allows you to connect a second switch to a single nano and use it to control something else.

- 23:09:00.308 CNTRLR [Node 021] treating BasicCC Set as a value event
- 2021-03-23 23:09:00.310 INFO ZWAVE: Node 21: value notification: 32-0-event 255
- 23:09:02.809 CNTRLR [Node 021] treating BasicCC Set as a value event
- 2021-03-23 23:09:02.811 INFO ZWAVE: Node 21: value notification: 32-0-event 0
- 23:09:04.707 CNTRLR [Node 021] treating BasicCC Set as a value event
- 2021-03-23 23:09:04.708 INFO ZWAVE: Node 21: value notification: 32-0-event 255
- 23:09:06.507 CNTRLR [Node 021] treating BasicCC Set as a value event
- 2021-03-23 23:09:06.507 INFO ZWAVE: Node 21: value notification: 32-0-event 0
Read more comments on GitHub >

github_iconTop Results From Across the Web

Support - Aeotec
MANUALS & FAQ · COMPATIBILITY · MARKETING ASSETS · BECOME A PARTNER · OEM AND DEVELOPMENT SOLUTIONS · STILL NEED MORE SUPPORT?
Read more >
How to Set Compatibility Flags for Your Application - Community
Summary This article explains how to set compatibility flags for your application in your installer by writing registry entries Synopsis In ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found