mypyllant-component
mypyllant-component copied to clipboard
Only full integer for electrical values instead of float
Before submitting a new issue
- [x] I redownloaded the latest release and restarted Home Assistant
- [x] I've checked known issues
- [x] I've enabled debug logs and attached the relevant logs to this ticket
Problem description
Hi, I have Flexotherm 117/4 Setup. Everything working as expected so far what i use/read. But the electrical consumption entities is always full integer and misses the rest. How can I support?
Logs
Any ideas? What do need for information? I can support with setup
Vaillant Flexotherm 117/4 VIH Hot Water Store VPS Heating/Cooling Storage VR71 VRC720 Sensocomfort 921
Could you take a screenshots of the values you are seeing in the app, and the ones in HA?
I will create some screenshots and paste it here. The value is now not full integer anymore, but it seems that the part after the , is inheriting from before values.
I need to correct. The behaviour is that some float part is getting added to next day. Also the start/end of the day seems odd.
The charts look incomplete for the starting of a new day. App screenshot see below.
Same behaviour for enviroment energy and generated energy.
Heating only Comparing 11,73 kWh to 12,3kWh
Warmwater is correct today, due to less used. The issue is there same.
I've written an explanation on this behavior at the very bottom in known issues. AFAIK there is no fix for this.
Hi! I understand. I maybe I have an idea for a workaround. It should be possible to query for a specific time by an automation trigger from home assistant. You can use any pattern. Idea: Having a service for update getEnergyValue and use automation pattern to update accordingly the offset of internal vaillant api update/refresh. Do we know the delta of updating delay at vaillant side? Otherwise, is it possible to know which energy incrememt belongs to which datetime to get the values afterwards they have been published?
Hi! I understand. I maybe I have an idea for a workaround. It should be possible to query for a specific time by an automation trigger from home assistant. You can use any pattern.
That's clever, I guess there would need to be an option to turn off the automatic updates and use an automation instead.
Actually, after thinking about this some more: It's probably easier to call the coordinator update every minute, but only actually fetch data when a certain time is reached - that time could be set with a configuration option. For example 20min after the full hour.
Do we know the delta of updating delay at vaillant side?
No, I never cared enough to investigate that TBH.
Otherwise, is it possible to know which energy incrememt belongs to which datetime to get the values afterwards they have been published?
No, AFAIK there is no way to add metadata (such as when the data actually happened) to a sensor reading in HA.
Thanks for implementing new options. I put the new option for energy update intervall to 2 hours and will check what will happen.
Hi @signalkraft!
I putted now to update every 5 minutes. The behaviour stays strange. See screenshots. All values energy, enviroment and total for both heating and hot water are not align with the values of the app.
Screenshots of heating
Does nobody else have these issues? Do other users of aurotherm and gas boilers have correct values?
Since I own a flexotherm exclusive, maybe its different? Do you think it is helpful if i capture the api accesses with mitmproxy according to your instructions?
After change to 300 seconds my Home Assistant was rebooted.
I would also supply my myvaillant credentials to you. Might be eassier and faster.