I’ve been diving into the world of MySensors and OpenHAB, and it’s been an exciting journey! Currently, I have a small but growing MySensors network with one Ethernet gateway and three nodes. It’s amazing how easy it is to set up and scale this system. However, I’ve encountered a small hiccup that I wanted to share and hopefully get some insights on.
One of my nodes was automatically assigned the ID 105 before I could reflash it to my preferred ID, 14. Even after reflashing, I noticed that OpenHAB2 was still trying to communicate with ID 105. This is a bit puzzling, and I want to resolve it to ensure smooth operation. I discovered a cache file /var/lib/openhab2/mysensors/cache/given_ids_mysensors_bridge-eth_dn_br1_gw.cached that lists the IDs, including the problematic 105. My initial thought is to remove this file to force OpenHAB to recreate it, but I’m not entirely sure if that’s the best approach. Should I remove the file entirely or just edit it to remove ID 105?
I’ve outlined my tentative steps:
- Stop OpenHAB
- Edit or remove the cache file
- Restart OpenHAB
I’d love to hear if anyone has dealt with a similar issue or has advice on the best way to handle this. It would be great to avoid unnecessary downtime while ensuring my network runs smoothly.
On a more positive note, I’ve been impressed with how MySensors simplifies adding new nodes and integrating them into OpenHAB. It’s a fantastic ecosystem for DIY smart home projects. I’m looking forward to expanding my network further and exploring more features!
Thanks to the community for all the support and resources—your help is invaluable! ![]()