-
-
Notifications
You must be signed in to change notification settings - Fork 17
Incorrect current_temperature value in the new boiler device #269
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
Comments
Hey @janchlebek.
You caught my shortcut there 😅 Unfortunately, my boiler doesn't have a water temperature sensor, so I had an option of either showing nothing, or pretending the expected temperature is what current temperature is. I went with the later. If I manage to get an API response for a boiler with water temperature sensor, I'll gladly fix that bug and expose the real current water temperature.
I'm aware of this and I'll use #21 to track it. I'll have to dig around a bit for HA best practices on this, as it should be a problem most cloud polling integrations face.
Thank you for the feedback, I really appreciate it. Separating the boiler from the thermostat made it much easier for me to wrap my head around it and I'd encourage you to try it out a bit before making a final judgement on this change 😄 |
😇
let's see if you can find something in the API.
I just noticed it only happens with the HW climate entity, the main one for heating does not behave like this and the change in UI is instant.
Of course I will give it a go - my opinion is based on the fact that hot water temperature is something that you normally set to a given value and typically never change - basically the only thing needed here in most cases is the HWB activation to override scheduling, especially while the climate entity does not read the real water temperature so it cannot react to actual status (like thermostat). Hence the whole climate entity seems a little too much for that (of course it will do the job as well). 😉 Anyway, don't take the above as complaints, love the integration and big thanks to you for keeping it alive! 😎 |
Also loving this integration. |
@MislavMandaric: I am reverting to my comment above: I understand and in fact like the idea of having the water heating separated from main heating. But having the HWB as a simple toggle was better in my opinion for the reason below, the mode setting of heating being now part of the water heater makes it a little hard: The problem is that whenever using the new HWB mode setting on the water heater thermostat to (temporarily) override the scheduled water heating you have to first record the actual mode of the water heater in order to be able to put it back where it was. For example now in winter typically the main thermostat is in Heating mode but in summer it is in hot water only mode. This means that automating HWB would be different in summer or winter since you need to know to which mode to set it when deactivating HWB. In the Vaillant app HWB simply acts as an optional toggle on top of any existing mode and when turned off it switches back to previous mode automatically. This is now not really possible via the new entity and makes the logic for automations more complex. Wouldn't it be possible to expose the HWB as a toggle (ON/OFF) like it was before and how it is designed in the app? Or do you have an idea how to work around this? |
@MislavMandaric Further to #263 if you can provide me some guidence on any quick way I can check the API response on my boiler/system, I'll gladly experiment and see if the NTC tank temp is exposed. |
You can try running the Just be sure to set all the environment variables from lines 13 to 18. |
I ran the following:
I pasted the example.py contents then added the following to the top, from my HA install:-
when running python3 example.py I get the following error message
What have I missed doing? |
Unfortunately, the docs are misleading. The steps you followed, as written in the readme, are for integrating the library into a separate product, like this HA integration. The steps for contributing to the library itself are missing, and I'll need to add those 😄 But for now, this is how you can run the mentioned example:
You need to run those on your local machine, not on your HA instance. The instructions are for Linux or Mac. |
Okay, installed as above and the output is three lines, which presumably is the token.access_token, token.refresh_token and measured.temperature from the vSmart room stat? 5cfbexxxxxxxxxxxxxxxxxxxxx|efc037xxxxxxxxxxxxxxxxxxxxx42da What do I add in example.py to get the DHW/tank/NTC temperature ? I think it's code d.04 on the boiler so I can verify output against that. |
Version of the custom_component
0.9.0
Describe the bug
Device was split in two as expected, all values show properly including the actual set temperature of the water boiler, however the current_temperature does not show real value but the same value as the set value. Also when changing the set value of the climate entity it appears as it did not work and stays on previous value (due to delay on the API I believe). Reloading the integration speeds up this and correct value is shown immediately.
Not sure what was the driver to separate the device but I find the new setup with two climate entities a little more impractical, given the limited control over water heating I believe a simple toggle for HWB and a number entity would be sufficient and less confusing instead of whole climate entity which by nature has way more options then needed.
The text was updated successfully, but these errors were encountered: