Hey Guy,
i know Pimatic is made for Raspberry 3 but maybe someone can help me anyway
I switched from a Raspberry 3 to a LattePanda … it works fine but i cant it work as a Service I tried both methods that are in the Wiki but the Services fails all the Time.
● pimatic.service - Pimatic home automation framework
Loaded: loaded (/lib/systemd/system/pimatic.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sa 2019-11-16 22:57:53 CET; 5s ago
Process: 12753 ExecStart=/usr/local/bin/pimatic.js start (code=exited, status=203/EXEC)
Nov 16 22:57:53 leetwerkpanda systemd[1]: Failed to start Pimatic home automation framework.
Nov 16 22:57:53 leetwerkpanda systemd[1]: pimatic.service: Unit entered failed state.
Nov 16 22:57:53 leetwerkpanda systemd[1]: pimatic.service: Failed with result ‘exit-code’.
When i try to start it over the GUI from “Webmin” the Logs says:
“Nov 16 22:30:05 leetwerkpanda systemd[4251]: pimatic.service: Failed at step EXEC spawning /usr/local/bin/pimatic.js: No such file or directory
– Subject: Process /usr/local/bin/pimatic.js could not be executed”
i tried already to copy just the file to it but this do not work. At moment i can only start / stop Pimatic over “sudo pimatic.js [start|stop|status|restart]”
Anyone that has more Skill in Linux and can help to get it working?