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 ?
Same issue here. HA receives data from Ethernet Gateway for only a few minutes and then:
DEBUG (MainThread) [mysensors.gateway_tcp] Connection lost with <_SelectorSocketTransport closing fd=42 read=idle write=<idle, bufsize=0>>
I also have MYSController connected to the GW and it remains connected. There is an open issue as others are also having the same problem. Am wondering if anyone here is having success with Ethernet Gateway connected to HA.
Hi,
Thank for your reply. Yes, i run since many years with a serial Gateway connected with my PI.
I thought it was possible to use the same machine to remove this extra element.
If you had a stability issue, I would just stick with my current formula and not change everything for now.
Regards,
@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