I seem to be having a major brain issue with Inject nodes of all things.
I have a simple inject node set to fire after 0.1 seconds . All it does it trigger an Exec node that simply issues a hostname -I in order to get the IP address which it then displays in a Text node.
If I Deploy a change, it fires immediately and the IP address is displayed.
If I reboot the Raspberry Pi, the inject node never fires - till such time as I manually click the inject node to force it..
I have a debug node on the output of the Inject and on the output of the Exec. I have bumped the Inject once after timer to 3 seconds thinking it needed time to get up and running but still nothing.
Further info after delving into this some more.
Node Red is auto started on the Raspberry Pi by this command:
sudo systemctl enable nodered.service
Inject nodes do not get fired when node red is auto started in this manner.
However, I then used SSH into the PI and I enter:
node-red-restart
This then did indeed get the inject nodes to fire up but I had to start at 0.5 sec and stagger them.
So something is definitely amiss here. I have minimal software installed. Raspberry Pi headless, Nodered, Mosquito MQTT and that's about it.
Any clues or suggestions?