Replies: 6 comments 15 replies
-
|
I would suggest treating the 2 connectors same as 2 charging stations, that can be controlled individually. You notice in evcc for example charging stations with multiple connectors are also added as 2 separate charging stations. Each can have car connected or not etc ... See for example the advanced settings for the charx charger : https://docs.evcc.io/en/docs/devices/chargers#charx |
Beta Was this translation helpful? Give feedback.
-
|
These are the steps we need to figure out:
This part of the screen belongs to the first Carcharger.
- LED-XXXXX ==> I don’t do anything with it
- CARCHARGER-XXXX ==> here you can do following actions:
set LED brightness, available, unavailable
so I guess this is the combined charging station with one action for both
For the second connector: But prior to the implementation, let’s first see the result of the curl requests |
Beta Was this translation helpful? Give feedback.
-
|
Alright, I'm behind my computer and able to do some queries. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, very useful! These readings are close to the gutfeeling. I will check what I can do. In a second phase, if you are interested, we could evaluate the modbus readings for those, as you have 2 carchargers. you could already play around with this … |
Beta Was this translation helpful? Give feedback.
-
|
If you do the following curl, you get:
I beleive that the Genius is the master, also reading out the Connect. If correct, you should see all live values of both chargingstations. If not, then, we can follow the procedure of the Connect which I described in the docs to obtain the modbus interface. |
Beta Was this translation helpful? Give feedback.
-
Ok, but you mentioned he has 2 charging stations, each 2 connectors. That's an interesting case for our code. I don't mind if uuid is the same between charging stations, as we can distinguish first the charging station, then the connector. But we need to know whether If latter is the case, we need to change a bit in the code, as the unique id depends on the serial number, not on the location id. Then, it would be better to have it linked to location id. Thanks for looking into this! |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
-
Based on the discussion here: smartenergycontrol-be/home-assistant-smappee-charging-profiles#17 (comment)
@scruysberghs and @carroarmato0
I did not implement two connectors, as I have no idea how the curl request responds. Therefore, can you evaluate what it does, then, we can take a look how to implement it.
==> to get session state, percentagleLimit, min/max current, min surplus and LED brigthness
==> to set percentageLimit, min surplus and LED brightness
set charging mode:
For SMART / SOLAR
url = f"(BASE_URL}/servicelocation/{self.service_location_id}/smartdevices/{self.smart_device_uuid}/actions/setChargingMode"for NORMAL
url = f"{BASE_URL}/chargingstations/{self.serial}/connectors/1/mode"The 1 here is connector 1, we need to just provide an extra variable. However, it has consequences on the whole integration. Maybe, at that point, it would be interesting to have a charging mode select entity per connector.
Same for the current slider maybe?
start/pause/stop charging:
url = f"{BASE_URL}/servicelocation/{self.service_location_id}/smartdevices/{self.smart_device_uuid}/actions/setPercentageLimit"Same comment as above.
set available/unavailable:
url = f"{BASE_URL}/servicelocation/{self.service_location_id}/smartdevices/{self.serial}/actions/setAvailable"Same comment as above.
Beta Was this translation helpful? Give feedback.
All reactions