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

2020 PHEV connection issues. #25

Open
SelfDestructor opened this issue Mar 28, 2023 · 0 comments
Open

2020 PHEV connection issues. #25

SelfDestructor opened this issue Mar 28, 2023 · 0 comments

Comments

@SelfDestructor
Copy link

Hi!

I've just set up phev2mqtt and have gotten it connected to Home Assistant and everything shows up and seems to be reading properly for about a minute or two but after that it all becomes unavailable.

I'm also not able to turn on anything. If I do, it flips back off and the logs says the following:

level=info msg="Topic: [phev/set/parkinglights] Payload: [on]"
level=info msg="Error setting register 0xb: timed out attempting to set register 0b"

It eventually fails and disconnects.

level=error msg="Disconnecting due to too many errors"
level=info msg="Error setting register 0xb: timed out attempting to set register 0a"
level=info msg="%PHEV_TCP_CONNECTED%"
level=debug msg="%%PHEV_START_AWAIT%%"

Once it connects again, it runs and endless loop of level=debug msg="%PHEV_TCP_SEND_MSG%: [00] PING REQ (id 1)" and the "id" keeps going up and up until it does level=debug msg="%%PHEV_START_TIMEOUT%%" and level=error msg="timed out waiting for start"

While watching the logs, I also noticed that this just popped in:

level=debug msg="%%PHEV_TCP_READER_ERROR%%: read tcp 192.168.8.47:40010->192.168.8.46:8080: i/o timeout"
level=debug msg="%PHEV_TCP_READER_CLOSE%"
level=debug msg="%PHEV_TCP_SEND_MSG%: [00] PING REQ (id 3b)"
level=error msg="%PHEV_TCP_WRITER_ERROR%: write tcp 192.168.8.47:40010->192.168.8.46:8080: use of closed network connection"
level=debug msg="%PHEV_TCP_WRITER_CLOSE%"

After rebooting I randomly get level=error msg="dial tcp 192.168.8.46:8080: connect: connection refused" and it doesn't reconnect to the car unless I reboot the Pi.

Do you have any advice on how to troubleshoot this further or fix this?

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

1 participant