-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rewrite to async #58
Rewrite to async #58
Conversation
bf8bff7
to
5074cbc
Compare
ce399bc
to
829b7b4
Compare
telnetlib to telnetlib3 add aiorun logging improvements
c4dfaf9
to
4cd4fff
Compare
telnetlib to telnetlib3 add aiorun logging improvements add experimental options
c77ee86
to
1a90a55
Compare
…ssproxy into Rewrite-to-async
72276cb
to
5fcf79a
Compare
37136e5
to
605d061
Compare
At this point, I believe this is ready for review and testing. I released it with the
I'll likely end up making some more small tweaks and will remove some extraneous logging and commented out code. |
Use asyncio-dgram from PyPi again
I will try to test on this weekend. Thanks |
@Snuffy2 I think that when using ignore_enel_x, the telnet to juicebox step can be skipped juicepassproxy_tst | 2024-05-15 09:04:33 INFO [entrypoint.sh] IGNORE_ENELX: true |
When I stopped charging the car, the current value did not change to 0, the proxy just stopped sending updates.
|
Co-authored-by: Snuffy2 <[email protected]>
…ssproxy into Rewrite-to-async
dont try to telnet when ignoring enelx, set current to 0 when not charging
Will merge this PR into master. |
|
amazing work @Snuffy2, about to set up 0.3.0 locally! |
This is a behind the scenes rewrite to change to async functions. The existing Docker and Command-line settings didn't change so all previous setups will continue to work.
Changes
EXPERIMENTAL
option for users to opt in to the in development functions. Currently this exposes:Data from JuiceBox
andData from EnelX
sensors to HAIGNORE_ENELX
option to prevent commands from EnelX to going to the JuiceBox and data from the JuiceBox from going to EnelXCurrent Rating
sensorSRC
andDST
in both the settings and the code as it was not clear what they should contain.SRC
option and replaced it withLOCAL_IP
DST
option and replaced it withENELX_IP
SRC
andDST
will continue to work for now but should eventually be updated to the new terms.LOCAL_PORT
option (Fixes Add option for different local port #60)