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 ?
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>
Figured it out. I had to send HVAC_FLOW_STATE to HA, in order for it to figure out that it was a "thermostat". Only problem is that it shows up with states "Auto" "Cool" "Heat" and "Off" in the dashboard, even though I only have the possibility to heat, or turn it off.
@badisensors I have this same issue and am struggling to find a consice answer to the question. Have you figured it out?
I would love to see a bit more detail about the important naming and numbering protocals for Gateways, Nodes, Sensors, and their output values within the MySensors architecture. So far, I am not finding much and progress is slow when I simply need to try different iterations and make conclusions/adjustments.
@HJ_SK said in 2x BME 280 on 2x arduino nano hangs in HomeAssistant:
BME280
I had a similar situation. First you have to delete all the MySensors devices in HA. This is aggravated by HA wanting the devices to be on line before you delete them. You may have to delete the MySensors data in the HA config directory. You may even have to uninstall MySensors from HA. Then shutdown HA. Next, turn off your gateway. Are you using MQTT for messaging? You'll have delete the MySensors data from there, too. (MQTT Explorer is good for doing this)
Then start HA. Did your MySensors devices come back as zombies? That's the problem. Try deleting them again. Are they data still in MQTT?
OK, now start again.
I had documented how to do all this deleting in HA Forum, HA/Discord and here, but I can't find that documentation now. grrrr
OSD