Hello!
I am hoping someone would be willing to create a custom component for me to integrate my Legrand Adorne Dimmers/Switches (see here) into HA using the MR232 RS232 to RF interface (see here). It would function exactly like the Vera plugin currently functions (see here).
The protocol guide can be found here.
I currently have it somewhat working using the iTach Flex IP2SL and command line sensors/automations, but it’s not very reliable. One of the caveats of sending commands, is there must be no less than 5 seconds between them, which I have not found a way to do.
Here are the commands I currently use:
Get Group Status
- platform: command_line
command: >-
/bin/echo -e "STSG 3760\r" | netcat 192.168.0.49 4999 -w2
name: Master Bedroom Recessed Lights Level
#unit_of_measurement: "%"
scan_interval: 10
value_template: '{{ (value.split(", 0")[1] | int / 2.55) | round(0) }}'
Set Group/Room Brightness Level
shell_command:
master_bedroom_lights_0: /bin/echo -e "RAMPR,1,0,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_10: /bin/echo -e "RAMPR,1,26,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_20: /bin/echo -e "RAMPR,1,51,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_30: /bin/echo -e "RAMPR,1,77,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_40: /bin/echo -e "RAMPR,1,102,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_50: /bin/echo -e "RAMPR,1,128,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_60: /bin/echo -e "RAMPR,1,153,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_70: /bin/echo -e "RAMPR,1,179,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_80: /bin/echo -e "RAMPR,1,204,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_90: /bin/echo -e "RAMPR,1,230,50\r" | netcat 192.168.0.49 4999 -w2
master_bedroom_lights_100: /bin/echo -e "RAMPR,1,255,50\r" | netcat 192.168.0.49 4999 -w2
Restart MR232
restart_legrand_mr232: /bin/echo -e "VER\r" | netcat 192.168.0.49 4999 -w2
I am willing to donate for someone’s time to get this built.
Thanks!
Cody