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

Works first time.....but stops after a day? #34

Open
kicomoco opened this issue Apr 26, 2024 · 1 comment
Open

Works first time.....but stops after a day? #34

kicomoco opened this issue Apr 26, 2024 · 1 comment

Comments

@kicomoco
Copy link

I have a Raspberry Pi connecting to the car's wifi.

This Pi is registered, and running phev2mqtt works....until the next day for example.

When its failing the Pi loses the car's wifi whenever phev2mqtt runs, as if its being kicked off the network.

The -v=debug log is as follows:

INFO[0000] %PHEV_TCP_CONNECTED%
DEBU[0000] %%PHEV_START_AWAIT%%
DEBU[0000] %%PHEV_TCP_READER_ERROR%%: EOF
DEBU[0000] %PHEV_TCP_READER_CLOSE%
DEBU[0000] %PHEV_TCP_SEND_MSG%: [00] PING REQ (id a)
ERRO[0000] %PHEV_TCP_WRITER_ERROR%: write tcp 192.168.8.47:37878->192.168.8.46:8080: use of closed network connection
DEBU[0000] %PHEV_TCP_WRITER_CLOSE%
DEBU[0020] %%PHEV_START_TIMEOUT%%
ERRO[0020] timed out waiting for start

Any help would be appreciated!

@kicomoco
Copy link
Author

kicomoco commented May 1, 2024

Not sure if this will help anyone else.....but I appear to have improved stability.

I had the Raspberry Pi registered as the second device....and I believe setting a static IP of .47 caused issues. Allowing the pi to use DHCP it got .48 and this seems to be working fine so far.

Possibly an issue because it was second device and my phone the first was expected to be .47?

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