Clean up old MySensors cache

I currently have one ethernet gateway and three nodes on my MySensors network. It is pretty small, but will be growing quickly, and soon. MySensors makes it very easy.

I have a node that was automatically assigned ID 105 via the gateway before I was able to reflash it to use the ID that I wanted it on.

It was automatically assigned 105, and I later reflashed it to 14. I still see Openhab2 trying to talk to ID 105.

[DEBUG] [orsAbstractConnection$MySensorsWriter] - Sending to MySensors: 105;255;3;0;18;

How do I get rid of these?

I found this file:

/var/lib/openhab2/mysensors/cache/given_ids_mysensors_bridge-eth_dn_br1_gw.cached

which has this in it.

[0,1,2,3,105,14]

Should I remove this file, so that it recreates it on restart?
Should I remove only 105?

I presume my steps are

  1. stop openhab
  2. edit or remove file, as is best
  3. start openhab

Thank you for your time.

Have you deleted the configuration of node 105 in PaperUI and things file? The cache file is only for id requests. So the binding knows which ids are already in use. You may delete the file. It will automatically be recreated after restart.

The configuration is not in the PaperUI or in my things file. I never let it get that far.

I will delete the file, thank you.