-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
TRV - Mapping valve_min_report and calculation of Idle/Heating mode #498
Comments
If I understand this setting correctly... if the |
From the release notes 2.1.3 (source: FB group): By this definition it should be handled as closed status. I also saw comments where this is used when flow does not start under a certain valve position, that is it is used to move the closing point above 0% Anyway, I'm ok if this is not concidered as idle status. However valve position below the new "minimal valve position reported to be open" parameter should be definitelly considered as idle. |
But if you implement only this new valve_min_report parameter, then I can build my own logic for comparing it with the actual valve position for boiler control |
It is not possible to use |
I'm not familiar with how the announce works, but I even don't see most of the parameters under the announce. Even valve_min_percent parameter. However I see both of them under the setting topic:, thermostat section. Should I write Shelly support to include it at announce? "boost_minutes": 30, |
The script uses only the |
Ok, thank you for investigating it. I'll see, if I can map it by hand at least to be able to read out the current value as it is there in settings topic. |
I think it’s too early to close this request. |
I was able to modify the code to read out this value without any hack. Writing back is not supported via mqtt, but reading out is ok. If I finalize I'll send a pr |
I created a pr for the new sensor. I didn't make firmware version check for it, but it is available only from 2.2.1. If this parameter is included, it's up to you if you change the Heating/Idle status calculation, but please inform me about your decision :) |
Is your feature request related to a problem? Please describe.
Heating/Idle mode calculation (TPL_ACTION_TEMPLATE):
Currently this is based solely on Valve position (0% - Idle, >0% - Heating). Therefore if you set minimal valve position (valve_min_percent - TPL_VALVE_MIN_POSITION), the TRV will constantly report Heating mode. Which is not good, if the boiler control is based on Heating/Idle status.
Describe the solution you'd like
In Shelly TRV Firmware 2.2.1 there is a new setting: "Minimal Valve Position to Report Open"
It is mapped under 'valve_min_report' parameter. This parameter should also be mapped as TPL_VALVE_MIN_REPORT
Under fw 2.2.1:
Heating/Idle is calculated with value_json.thermostats.0.pos>TPL_VALVE_MIN_POSITION
From fw 2.2.1:
Heating/Idle is calculated with value_json.thermostats.0.pos>TPL_VALVE_MIN_REPORT
Additional context
The text was updated successfully, but these errors were encountered: