Hi all,
In my van, I’m starting to play around with Home Assistant and Node-RED to show all my Victron equipment.
Now I’m pretty good on my way.
Since I’m driving in my house on wheels I like the function seeing my home location being updated by GPS on the road.
I installed on a Raspberry Pi 4 4GB, Home Assistant in Docker and first also had Node-RED in a container, but didn’t like that I can’t write files outside of this container. So I installed Node-RED with the install script locally. Added node-red-contrib-home-assistant-websocket and installed with HACS the connection according to: https://bit.ly/3tductt
All on the same Pi.
With the help of the Node-RED community I set up the service homeassistant.set_location which is doing almost what I want.
But than the problem started:
I had a couple of times a complete freeze of my Pi.
After a couple of days I narrowed the problem down to this Node-RED function who is filling up the memory of the Pi until it freezes.
I found this out by disabling the Node-RED flow and then using the Service profiler.start_log_objects.
The location is just growing and growing.
(Between lines the set_location was activated, then restart of HA)
Are there more people out there or might there be a problem somewhere?
I’m running all the latest versions of HA (docker), Node-RED (locally) and the integrations.
Thanks!
Edit: add screenshot