I have been struggling a lot and tried the sticky notes to autostart and also this one to the same topic viewtopic.php?t=291785
I have a pi 3 doing only 1 job: running grott to supply HA with mqtt messages
grott is basically a python 3 script which I need to start once the pi has rebooted
if have edited the autostartand tried already these suggestions
None of them did the expected like I would get from the UI by opening the terminal followed by a Looks soooooo easy but must be so hard to achieve, any suggestions or links ?
I have a pi 3 doing only 1 job: running grott to supply HA with mqtt messages
grott is basically a python 3 script which I need to start once the pi has rebooted
if have edited the autostart
Code:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Code:
@lxpanel --profile LXDE-pi@pcmanfm --desktop --profile LXDE-pi@xscreensaver -no-splash# lxterminal --geometry=120x40 --title=Updating -e bash -c '/home/pi/Desktop/grott/autostartgrott.sh# @lxterminal --geometry=120x40 -e sudo python3 /home/pi/Desktop/grott/grott.py -v & dir# @lxterminal --geometry=120x40 -e "sudo python3 /home/pi/Desktop/grott/grott.py -v ; bash"@lxterminal --geometry=120x40 -e 'python3 /home/pi/Desktop/grott/grott.py -v ; echo "waiting forever" ; sleep infinity'
Code:
sudo python3 /home/pi/Desktop/grott/grott.py -v
Statistics: Posted by typxxi — Tue Mar 19, 2024 5:32 pm — Replies 3 — Views 67