Loxberry Autostart
Einklappen
X
-
Loxberry Autostart
Hello all, using the forum I have integrated my Roomba into Loxone. However, it only works when I manually run the script first. Can someone point me to an idiots guide for getting my script to autostart on my Loxberry? Thanks.Stichworte: - -
Try one of these options:
Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine -
Hi Christian, I tried and failed...
First of all, I saved the following script in the cron.01min folder:
-----------
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
loxberry npm start --prefix /opt/loxberry/rest980
-----------
I can manually start the script by going into the folder /opt/loxberry/rest980 and typing npm start.
What am I doing wrong?
Kommentar
-
Wrong Skript type. You habve to use a bash script in that folder with a correct shebang and correct file permissions and owner.
be aware that your script in that folder is started every minute!🇺🇦 Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine
LoxBerry - Beyond the Limits
Kommentar
Kommentar