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

Support more writable config keys #15

Open
syssi opened this issue Feb 19, 2022 · 4 comments
Open

Support more writable config keys #15

syssi opened this issue Feb 19, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@syssi
Copy link
Owner

syssi commented Feb 19, 2022

Frequently changed keys

Key R/W Type Category Description
dwo R/W optional<double> Config Lade Energy Limit, gemessen in Wh, null bedeutet deaktiviert, nicht mit der next trip energie zu verwechseln

One-time config

Key R/W Type Category Description
wan R/W string Config wifiApName
wak R/W string Config WiFi AccessPoint Key (read/write from http)
tof R/W minutes Config timezone offset in minutes
tds R/W uint8 Config timezone daylight saving mode, None=0, EuropeanSummerTime=1, UsDaylightTime=2
utc R/W string Status utc time
clp R/W array Config current limit presets, max. 5 entries
cid R/W string Config color_idle, format: #RRGGBB
cwc R/W string Config color_waitcar, format: #RRGGBB
cch R/W string Config color_charging, format: #RRGGBB
cfi R/W string Config color_finished, format: #RRGGBB
fna R/W string Config friendlyName
awc R/W uint8 Config awattar country (Austria=0, Germany=1)
cco R/W double Config car consumption (only stored for app)
ct R/W string Config car type, free text string (max. 64 characters, only stored for app)
mca R/W uint8 Config minChargingCurrent
ama R/W uint8 Config ampere_max limit
awp R/W float Config awattarMaxPrice in ct
psmd R/W milliseconds Config forceSinglePhaseDuration (in milliseconds)
sumd R/W milliseconds Config simulate unpluging duration (in milliseconds)
mpwst R/W milliseconds Config min phase wish switch time (in milliseconds)
mptwt R/W milliseconds Config min phase toggle wait time (in milliseconds)
sch_week R/W object Config scheduler_weekday, control enum values: Disabled=0, Inside=1, Outside=2
sch_satur R/W object Config scheduler_saturday, control enum values: Disabled=0, Inside=1, Outside=2
sch_sund R/W object Config scheduler_sunday, control enum values: Disabled=0, Inside=1, Outside=2
mci R/W milliseconds Config minimumChargingInterval in milliseconds (0 means disabled)
mcpd R/W milliseconds Config minChargePauseDuration in milliseconds (0 means disabled)
mcpea R/W optional<milliseconds> Status minChargePauseEndsAt (set to null to abort current minChargePauseDuration)
log R/W string Config load_group_id
lop R/W uint16 Config load_priority
lof R/W uint8 Config load_fallback
map R/W array Config load_mapping (uint8_t[3])
lot R/W uint32 Config load balancing total amp
loty R/W uint8 Config load balancing type (Static=0, Dynamic=1)
spl3 R/W float Config threePhaseSwitchLevel

Unknown

Key R/W Type Category Description
awpl R/W array Status awattar price list, timestamps are measured in unix-time, seconds since 1970
@syssi syssi changed the title Support more writable config key Support more writable config keys Feb 19, 2022
@syssi syssi added the enhancement New feature or request label Feb 24, 2022
@povlhp
Copy link
Contributor

povlhp commented Apr 18, 2023

Need a couple more keys, for PV control:
goecharger/go-eCharger-API-v2#110

{"pGrid": 1000., "pPv": 1000., "pAkku": 1000.},

@syssi
Copy link
Owner Author

syssi commented Apr 18, 2023

Thanks for collecting all the details upstream! :-) I will care about the new feature soon!

@nilrog
Copy link

nilrog commented Apr 18, 2023

Oh, yes, this would be a very nice feature :)
The hope for this was one of the reasons I bought this charger instead of the rebranded Fronius one that would have integrated directly with my solar inverter from day one. And I noticed in a recent app update that they had added some new features for this so I was hoping to get this type of charging working soon. If you need help testing let me know.

@povlhp
Copy link
Contributor

povlhp commented Apr 19, 2023

You need to write ids with pgrid as available power. At least every 10 seconds.

The others I mentioned are read-only and shows a value if ids update is not too old.

See goecharger/go-eCharger-API-v2#110

I can't get ids to work yet on mqtt. So I use an automation that calls a restful api with templating in URL. Currently running ever 5 seconds (/5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants