Hi,
ich versuche folgendes github program beim startup des raspberrypis verwenden zu können:
https://github.com/joscha82/wattpilot
Mein Versuch:
eintrag in /etc/rc.local wie folgt:
Code
export MQTT_ENABLED=true
export MQTT_HOST=<mqtt_host>
export WATTPILOT_HOST=<wattpilot_ip>
export WATTPILOT_PASSWORD=<wattpilot_password>
wattpilotshell
Abschluss mit exit 0
im syslog nach Start:
Feb 20 14:21:08 raspberrypi rc.local[546]: INFO:wattpilot:Connected to WattPilot Serial xxxxxxx
Feb 20 14:21:14 raspberrypi rc.local[546]: INFO:wattpilot:Authentication successful
allerdings ist nach login unter top der Prozess nicht am Laufen...
mit sudo wattpilotshell kommen fehler wie wenn ich die exports nicht gemacht hätte und nur wattpilotshell eingegeben hätte.
Befehl: wattpilotshell &
führt auch unter login mit root zu einem Problem.
wie mach ich das richtig?
danke,