-
Notifications
You must be signed in to change notification settings - Fork 23
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
SET_WALLBOX_START and SET_WALLBOX_STOP? #58
Comments
This should be possible, but not using The tags can be found e.g. here: https://github.com/fsantini/python-e3dc/blob/master/e3dc/_rscpTags.py#L1244 I don't have a wallbox and hence can't test it. |
Sounds interesting, I could have look at it maybe tonight. |
First I implemented the @othorg you could give it a try with my current branch here: Things I need / want to do:
|
@othorg the code you posted for starting charging seems to be for switching between one and three phased charging |
Hi, Funny.... My code is near the same... i played the last two hours...
|
I will connect my car again asap. After this, i will inspect the start/stop Button in Webportal. my function above is working and switch the sun mode on/off. |
yes, setting sunmode works perfectly, is also implemented in my code. just starting and stopping charging is somehow strange... |
do you have a Schuko on your wallbox to test that behavior? I implemented reading out its state and setting it too, but nothing happens here, I think because I don't have a Schuko on my wallbox |
No Sorry i don't have a Schuko... but E3DC have two kinds of WB's. What do you have?
restartcharging() is only available if sunmode is switched off or enough PV-Power is availible.... |
I've got the E3/DC Wallbox Easy connect flex (no fixed cable). So do you also think we should call the method "toggle"? |
I created a draft PR: #59 |
I like what you are planning to implement. |
Keep up your great work here! Looking forward to seeing this implemented for all the projects relying on this library as it's necessary to get the most out of dynamic power tariffs. |
Hi,
do you think, it's possible to implement a simple SET function for the E3DC Wallbox smart connect for starting and stopping the charging-process?
In the S10 Webportal can i see in the wallbox.js script this code for stopping charging:
var barry = new Uint8Array(6); barry[0] = 0;barry[1] = 0;barry[2] = 0;barry[3] = 0;barry[4] = 1;barry[5] = 0; return dataProxy.rscp.request( dataProxy.rscp.containerFactory("WB_REQ_DATA", dataProxy.rscp.dataFactory("WB_INDEX","UChar8",currentWallBox), dataProxy.rscp.containerFactory("WB_REQ_SET_EXTERN", dataProxy.rscp.dataFactory("WB_EXTERN_DATA","ByteArray",barry), dataProxy.rscp.dataFactory("WB_EXTERN_DATA_LEN","UChar8",6)
and for starting:
var barry = new Uint8Array(6); barry[0] = 0;barry[1] = 0;barry[2] = 0;barry[3] = value;barry[4] = 0;barry[5] = 0; return dataProxy.rscp.request( dataProxy.rscp.containerFactory("WB_REQ_DATA", dataProxy.rscp.dataFactory("WB_INDEX","UChar8",parseInt(currentWallBox)), dataProxy.rscp.containerFactory("WB_REQ_SET_EXTERN", dataProxy.rscp.dataFactory("WB_EXTERN_DATA","ByteArray",barry), dataProxy.rscp.dataFactory("WB_EXTERN_DATA_LEN","UChar8",6)
Or do you think, it's possible to implement the whole function of the wallbox.js?
Thanks in advance
The text was updated successfully, but these errors were encountered: