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

[Feature Request] PVI idle mode #89

Open
cwihne opened this issue Sep 30, 2024 · 3 comments
Open

[Feature Request] PVI idle mode #89

cwihne opened this issue Sep 30, 2024 · 3 comments

Comments

@cwihne
Copy link

cwihne commented Sep 30, 2024

Autumn is here, autarky level gets impacted. S10E has a feature enabled putting PVI into sleep mode when battery is empty and no PV input to expect, e.g. in early morning hours before sundawn. I was trying to find out about PVI idle status, didn't find such in data transmitted to MQTT so far. Yet, I see RSCP tags TAG_PVI_DEVICE_STATE, TAG_PVI_SYSTEM_MODE or TAG_PVI_POWER_MODE which sound promising.
I am monitoring those now by new raw queries. Maybe you have an idea which tag shows idle state of PVI and get it transmitted to MQTT?

@pvtom
Copy link
Owner

pvtom commented Oct 1, 2024

Hi, I found the following tags in RscpTags.h that may be requesting the required state: TAG_PVI_REQ_STATE, TAG_PVI_REQ_SYSTEM_MODE.
I hope you will find the right one and can let us know in this issue!
Best regards Thomas

@cwihne
Copy link
Author

cwihne commented Oct 14, 2024

Here an intermediate result, still under surveillance:
TAG_PVI_REQ_POWER_MODE seems to represent PVI's power state ON (1) or OFF (0)
TAG_PVI_REQ_DEVICE_STATE creates sub-topics, most importantly TAG_PVI_DEVICE_CONNECTED (device available for service) and TAG_PVI_DEVICE_WORKING (device actively working).

Have to query specifically:
ADD_NEW_REQUEST=TAG_PVI_REQ_DATA:TAG_PVI_INDEX:0-0
ADD_NEW_REQUEST=TAG_PVI_REQ_DATA:TAG_PVI_REQ_POWER_MODE-1
ADD_NEW_REQUEST=TAG_PVI_REQ_DATA:TAG_PVI_REQ_DEVICE_STATE-1

Overall E3DC system's own net power consumption for system operation is significantly influenced by PVI's activity.
I continue investigating the flags and consumption.
Btw. the RAW requests are not updated on forced update, they need a service restart to be re-sent.

@pvtom
Copy link
Owner

pvtom commented Oct 14, 2024

yes, I get the following topics/payloads during discharging the battery this evening:
e3dc/raw/TAG_PVI_DATA/TAG_PVI_POWER_MODE 1
e3dc/raw/TAG_PVI_DATA/TAG_PVI_DEVICE_STATE/TAG_PVI_DEVICE_CONNECTED true
e3dc/raw/TAG_PVI_DATA/TAG_PVI_DEVICE_STATE/TAG_PVI_DEVICE_WORKING true
e3dc/raw/TAG_PVI_DATA/TAG_PVI_DEVICE_STATE/TAG_PVI_DEVICE_IN_SERVICE false

RAW topics will be send only for changed payloads, "force" doesn't change the behaviour for the RAW stuff... so that's like it was (badly) progammed :-)

Best regards
Thomas

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

2 participants