Evening all, first post so please go easy :-)
So.. in short I'm struggling working out how to send a 'dim' commend to my lightwave 2 gang dimmer.
What I'm using..
An Echo linked to the HU Bridge on a Raspberry.. calls openhab on the same raspberry which then sends a url request to a NodeMCU running a webserver which inturn sends rf 433 out to control the switch.
What I can't work out is the correct command to tell it to set to 30% ..
bit of code so far..
byte on1[] = {0xf6,0xf6,0xf6,0xee,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
byte off1[] = {0xf6,0xf6,0xf6,0xf6,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
byte dim1[] = {0xf6,0x90,0xf6,0xee,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
Now the first two nibbles seem to be the data and it's this that I think I need to change but whatever I try doesn't seem to work. The on / off works great.
Any help would be greatly appreciated.
Thanks
Steve
So.. in short I'm struggling working out how to send a 'dim' commend to my lightwave 2 gang dimmer.
What I'm using..
An Echo linked to the HU Bridge on a Raspberry.. calls openhab on the same raspberry which then sends a url request to a NodeMCU running a webserver which inturn sends rf 433 out to control the switch.
What I can't work out is the correct command to tell it to set to 30% ..
bit of code so far..
byte on1[] = {0xf6,0xf6,0xf6,0xee,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
byte off1[] = {0xf6,0xf6,0xf6,0xf6,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
byte dim1[] = {0xf6,0x90,0xf6,0xee,0x6f,0xeb,0xbe,0xed,0xb7,0x7b };
Now the first two nibbles seem to be the data and it's this that I think I need to change but whatever I try doesn't seem to work. The on / off works great.
Any help would be greatly appreciated.
Thanks
Steve