When starting the server, node-red will be ready first and start post REST api requests to openHAB. This is because I am using the node-red-contrib-openHAB2 nodes.
This generates errors in node-red and also in the openHAB log.
If I block node-red and let OH start and start node-red once openHAB has finished starting (2 minutes, if that) then everything is fine.
The errors of not great importance. Once OH has started everything stabilises and it’s fine.
My question is:
How can I delay the start of node-red when the system starts.
I have tried modifying the .service file to wait for the openhab2 service to be started but the openhab2.service starts before openhab has finished it’s start up (If that makes sense). So that doesn’t work
Is there a way to delay a service start for an arbitrary amount of time?
Hi vince can you please be more spicfic , i have same issue
using Ub 16.04
also NR starts then OH
what exclty did you do with this timer file ,i dont see any coomand to start Node or delay the service start
if you can please explain!