I’ve been using Mozilla webthings for about 8 months & I’m impressed with how far its come. Unfortunately I’m not a programmer / developer so I’m limited in how I can contribute.
I’ve had a couple of Aeotec dual nano switches installed behind some light switches. These devices aren’t on the supported devices list but thought I’d give them a go & take a risk by having something hardwired. With these a single device can control two separate switches & for the most part it works just fine.
The on/off controls both S1 & S2, while on/off (2) controls just S2, where S means switch number.
My problem statement is that I can’t control S1 directly & in isolation without S2 being activated as well. I think it could be improved by having a property just for S1. I’m using one these in conjunction with a motion sensor & I’ve worked around this in the rules engine by setting S2 to off when S1 is on & room is occupied.
Should S1 be represented as a separate property of the device, similar or S2?
The main On/Off is supposed to control S1 and not both.
Could you send me a log with some additional debug enabled? If you go into Settings->Addons, click on the Configure button for ZWave and enter the string valueId into the debug field, and click Apply.
Once that’s done you should see a bunch of log entries like:
2019-07-03 11:29:17.030 INFO : zwave: { value_id: '15-38-1-4',
2019-07-03 11:29:17.030 INFO : zwave: node_id: 15,
2019-07-03 11:29:17.030 INFO : zwave: class_id: 38,
2019-07-03 11:29:17.030 INFO : zwave: type: 'byte',
2019-07-03 11:29:17.030 INFO : zwave: genre: 'system',
2019-07-03 11:29:17.030 INFO : zwave: instance: 1,
2019-07-03 11:29:17.030 INFO : zwave: index: 4,
2019-07-03 11:29:17.030 INFO : zwave: label: 'Start Level',
2019-07-03 11:29:17.030 INFO : zwave: units: '',
2019-07-03 11:29:17.030 INFO : zwave: help: 'Start Level when Changing the Brightness of a Device',
2019-07-03 11:29:17.030 INFO : zwave: read_only: false,
2019-07-03 11:29:17.030 INFO : zwave: write_only: false,
2019-07-03 11:29:17.030 INFO : zwave: min: 0,
2019-07-03 11:29:17.030 INFO : zwave: max: 255,
2019-07-03 11:29:17.030 INFO : zwave: is_polled: false,
2019-07-03 11:29:17.031 INFO : zwave: value: 0 }
I’m looking for this output. You can view the log files using Developer->View Internal Logs. I’ll want the latest run-app.log.YYYY-MM-DD