HI. I use this sketch to my lisght but in Home Assistant it show me it as SWITCH. Is any chance to change it in mysensors sketch to show in Home Assisnatnt as LIGHT ?
@Multimax do you send initial states for all children for this multi relay node? HA won't show anything that hasn't sent initial data to show.
https://www.home-assistant.io/integrations/mysensors/#presentation
Hi, friend!
He also became interested in the Home Assistant system, but was upset by the lack of support OTA.
I use a system Majordomo for MySensors devices and my Ethernet-RS485 gateways are based on ENC28J60.
And I found such an idea for myself - to implement a proxy for the TCP protocol in order to implement a parallel connection to the gateway of two systems at the same time.
I tested this solution and it turned out to work - I was able to flash via OTA , while simultaneously receiving data in Home Assistant.
Perhaps this idea will be of interest to you.
What I did not try but might work: copy your persistence file, delete the old GW and create a new one with the persistence file you copied. Maybe the devices are preserved like this. Maybe you should create a full backup before...
<edit: typo>
Please read carefully documentation for HA. https://www.home-assistant.io/integrations/mysensors/
You need to send initial state of your sensors. There is example code for doing it. Basically you check in loop if the node just started and send some values to HA. After that your sensor will appear in HA.