Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code=exited #28

Open
bryangauvin opened this issue Feb 20, 2020 · 3 comments
Open

Code=exited #28

bryangauvin opened this issue Feb 20, 2020 · 3 comments

Comments

@bryangauvin
Copy link

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
Copy link
Author

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"

@JohnZable
Copy link

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

@acd
Copy link
Owner

acd commented Nov 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants