I've wired up my Konnected board to my alarm panel wiring, connected it to my Wifi and I'm running Hassbian on a Rasberry Pi 3B+ with HA 0.71.0
It all seems to work, except that over time HA ends up with duplicate entities for the sensors and switches for the Konnected board, with all of the Konnected board's configured sensors/switches duplicated the same number of times at any given time. At present there's 7 of all of them.
For example I have a sensor for a downstairs PIR called binary_sensor.downstairs, and at present there is also a binary_sensor.downstairs2, binary_sensor.downstairs3, binary_sensor.downstairs4...you get the idea.
I assume that this is something to do with HA on the Pi and the Konnected board losing each other and re-establishing connection/discovery without removing the old entities? Has anyone else experienced this?
This isn't happening to the other devices HA knows about (e.g. Chrome Casts etc).
Any help much appreciated - I've trawled around for answers to this and come up empty.
Thanks!
I am having the same issue. Did you find a resolution yet?
No sorry, but it is nice to know I'm not alone!
What is your setup? Raspberry Pi and Hassbian?
Raspberry Pi
What HA version are you using? I have used 0.70.1 and 0.71.0 and they both had the same issue. I'm thinking of trying (because I can't think of anything else) upgrading the firmware on the Konnected board and trying Hass.io instead of Hassbian.
Are you using Hassbian? I am rather than Hass.io because I'm using a Pi 3B+ which isn't supported by Hass.io...yet. But I can try it on a desktop machine instead to see if that's the issue.
Any other suggestions I'm happy to try. I'm also curious - if anyone out there reads this that doesn't have this problem, can you let us know what your setup is? i.e. Hassbian vs Hass.io, HA version, HA machine hardware...etc?
Hassiban 73.0. There is a 73.1 that I might install tonight to see if this helps. I was also going to update the firmware on konnected as well over the weekend to see if that helps.
BTW, does your wireless connection keep disconnecting?
I updated the konnected software and firmware to 2.2.1 last night and updated HA to 73.1 as well as assigned a static ip to my konnected device in my network and it has been stable for the last 12 hours and has not created duplicate sensors. I believe it kept getting a new ip address and therefore HA kept finding a new device and assigning a new id. Ill check back in a couple days to let you know how its going.
Actually, I've just set up a static IP for the Konnected board and left everything else the same to see if that isolates the problem.
Sorry I'm late to this thread, but I think this problem could only be caused if the Konnected device is changing IP addresses over time. Check your router's DHCP lease time, or better, assign a static IP address to the Konnected devices so it never changes.
Dan, there's no way of assigning a static IP on the Konnected device itself (short of modifying the code in init.lua). Your router should be able to assign a fixed IP address via DHCP.