infinitive icon indicating copy to clipboard operation
infinitive copied to clipboard

Code=exited

Open bryangauvin opened this issue 5 years ago • 3 comments

Im getting this error when starting the service. Followed your instructions step by step. Please help. Hate not having ecobee in my new house and this is the best thing I have found yet.

` infinitive.service - Infinitive Service Loaded: loaded (/etc/systemd/system/infinitive.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Thu 2020-02-20 20:39:27 GMT; 66ms ago Process: 8767 ExecStart=/root/go/bin/infinitive -httpport=8080 -serial=/dev/ttyUSB1 (code=exited, status=2) Main PID: 8767 (code=exited, status=2)

Feb 20 20:39:27 raspberrypi systemd[1]: infinitive.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Feb 20 20:39:27 raspberrypi systemd[1]: infinitive.service: Failed with result 'exit-code'.

bryangauvin avatar Feb 20 '20 20:02 bryangauvin

messging around, I removed USB from the execstart and now I can access and interface, but its blank and Im now getting this error

● infinitive.service - Infinitive Service Loaded: loaded (/etc/systemd/system/infinitive.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-02-20 21:07:37 GMT; 9s ago Main PID: 11772 (infinitive) Memory: 1.7M CGroup: /system.slice/infinitive.service └─11772 /root/go/bin/infinitive -httpport=8080 -serial=/dev/tty0

Feb 20 21:07:45 raspberrypi infinitive[11772]: time="2020-02-20T21:07:45Z" level=debug msg="transmitting frame: 200192010300000b003b03ecba" Feb 20 21:07:45 raspberrypi infinitive[11772]: time="2020-02-20T21:07:45Z" level=debug msg="timeout waiting for response, retransmitting frame" Feb 20 21:07:45 raspberrypi infinitive[11772]: time="2020-02-20T21:07:45Z" level=debug msg="transmitting frame: 200192010300000b003b03ecba" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="timeout waiting for response, retransmitting frame" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="transmitting frame: 200192010300000b003b03ecba" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="timeout waiting for response, retransmitting frame" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="transmitting frame: 200192010300000b003b03ecba" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="timeout waiting for response, retransmitting frame" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=debug msg="transmitting frame: 200192010300000b003b03ecba" Feb 20 21:07:46 raspberrypi infinitive[11772]: time="2020-02-20T21:07:46Z" level=info msg="action timed out"

bryangauvin avatar Feb 20 '20 21:02 bryangauvin

Did you fix this? I am having this issue also.

JohnZable avatar Jan 30 '23 00:01 JohnZable

If you're using the serial device /dev/tty0 while trying to talk to a USB serial adapter that's likely your problem. On my machine, the USB adapter shows up as /dev/ttyUSB0.

acd avatar Nov 16 '23 04:11 acd