Weird behavior input_boolean after migrating to Intel NUC

I have this weird behavior after migrating from a raspberry pi to a Intel NUC. All input_booleans I used before on the raspberry do not work anymore on the NUC. For example this code:
code_input_boolean1

results in this:

code_input_boolean2

I do not want to rename all of my booleans because I use them in Node-Red.
Can anyone point me into the right direction on how to solve this?

What do the logs say? Did you restart?

Thanks for the reply!
Yes I did restart several times already. I have checked the log and noticed a message that ‘2 instances of HA on the same network are running’. Shutdown the Rpi but that did not solve the problem.
When I click on a greyed out boolean then it says it is a orphan and gives me the option to remove is. So I did and restarted HA. The input_boolean ‘‘Iemand_Thuis’’ is nowhere to find after the reboot.
These are the errors I have in the log. But I cannot relate one of them to this problem.

Try removing the inout boolean section, restart HA and then add it again.

Good suggestion. But it did not solve it. When I change only 1 letter in the name then it will show up. But that means a lot of work bacause I have to change the name in all Node-Red flows. It looks like there is no other option…

Did you create one of them from the UI in the past? The only other place it could be stored in the files in .storage, but you ahouldn’t mess with them unless you know what you are doing.

I problably did. I think myself the solution lies somewhere in the .storage files. I noticed more strange things that worked before but did not work after the migration. I full restore of a snapshot from the raspberry to the NUC went terribly wrong resulting in crashes of HA. I did copy most configuration files but don’t know exacly which one. Is there something I can try to solve this you think?
I also changed from Node-Red as add-on to Node-Red in a container. That also is a challenge.

Started with a new input_booleans file. Also some Binary sensor are not working anymore. Many things to fix but I will get there!

Many thanks for your help!

2 Likes

You can remove the parts from the files in the .storage folder, just make a backup beforehand. It’s not rocket science, but it’ll break your system if it’s not valid json

it may be a silly question, but: do the Rpi and the NUC have different IP adresses?

And in Node Red check your home assistant nodes: which IP address do they use to connect to your Home Assistant instance?

Not a silly question. Yes they are different.

I don’t understand your question. The input_boolean configuration and the errors I have are in HA. I only use them in Node-Red (if they work of course). I have changed te name of the input+booleand and now they work both in HA and in Node-Red. I took only about an hour to change them all.
So the problem is solved, but I still don’t know why this error occurred.

I have checked the files in .storage and they are all created today. So I did not copy any of the old files to this directory.

You can disregard my question. I guess the input_booleans stopped working because some files were not copied properly due to the crashes you describe.

I am glad you got it working again!