Closed slesolliec closed 11 months ago
This is a new module to me, so I'm not sure if this specific device is supported. The Lighting1 Chacon devices are the old types with switches, and expect an address in the form of 'house_code, unit_number', but what you describe seems to be the 'pairing' AC protocol of lighting2.
Do you have a remote control for this device? Have you tried listening for the "lighting2" event from the rfxtrx object, and seeing what happens in response to a button press? It may be that the ID number is out of range, for this particular device. Maybe try "0x01/1"?
If you don't get anywhere try contacting Rfxcom support directly
Thank you for your kind comment.
I bought myself a DIO remote control, looked at the messages, and I finally found out how to control my devices emulating the remote control:
const remote = new Lighting2(rfxtrx, rfxcom.lighting2.AC)
// 0x25072F is the prefix of my DIO remote control
const remotePrefix = "0x25072F/"
remote.switchOn(remotePrefix + 4)
The remote control has 16 channels, ... I just put 4 here as an example.
The advantage of investing 12€ in a separate control is also that I can switch the devices manually for testing, debugging, etc ...
I currently control 4 heaters and the bathroom vent (triggers as soon as humidity is above 70%) with that.
The whole code of my app is on github if anyone is interested: https://github.com/slesolliec/smart-home
Thank you again for that great package. My app wouldn't work without node-rfxccom !!!!
Glad you ere able to get it going! There should be an updated version published soon, with support for some more protocols & devices
Hi and thanks for your work!
MacBook + RFXcom + node-rfxcom working: I receive temp/humidity signals from all my rooms every few seconds!!!
But is there any code sample for using a DIO Chacon switch connected to my heaters?
Here is the switch module: https://www.domadoo.fr/fr/peripheriques/585-dio-module-onoff-1000w-5411478547556.html
But I get a:
I tried with the lightning2:
and the message gets sent, but the switch does not switch, although it is in pairing mode, waiting for its first command.