mypyllant-component icon indicating copy to clipboard operation
mypyllant-component copied to clipboard

Only full integer for electrical values instead of float

Open europeke opened this issue 1 year ago • 16 comments

Before submitting a new issue

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

europeke avatar Mar 09 '24 20:03 europeke

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

europeke avatar Mar 13 '24 11:03 europeke

Could you take a screenshots of the values you are seeing in the app, and the ones in HA?

signalkraft avatar Mar 18 '24 13:03 signalkraft

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.

europeke avatar Mar 18 '24 14:03 europeke

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.

image image image

The charts look incomplete for the starting of a new day. App screenshot see below.

Same behaviour for enviroment energy and generated energy.

europeke avatar Mar 20 '24 22:03 europeke

Screenshot_20240320_233345

Heating only Comparing 11,73 kWh to 12,3kWh

europeke avatar Mar 20 '24 22:03 europeke

image

europeke avatar Mar 20 '24 22:03 europeke

Screenshot_20240320_233827 Screenshot_20240320_233820

Warmwater is correct today, due to less used. The issue is there same.

europeke avatar Mar 20 '24 22:03 europeke

I've written an explanation on this behavior at the very bottom in known issues. AFAIK there is no fix for this.

signalkraft avatar Mar 23 '24 09:03 signalkraft

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?

europeke avatar Mar 23 '24 11:03 europeke

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.

signalkraft avatar Mar 24 '24 17:03 signalkraft

Thanks for implementing new options. I put the new option for energy update intervall to 2 hours and will check what will happen.

europeke avatar Mar 27 '24 19:03 europeke

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

image image Screenshot_20240403_135710 Screenshot_20240403_135724 Screenshot_20240403_135731 Screenshot_20240403_135737 Screenshot_20240403_135746 Screenshot_20240403_135751 Screenshot_20240403_135644 Screenshot_20240403_135649 Screenshot_20240403_135705 Screenshot_20240403_135707

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?

europeke avatar Apr 03 '24 12:04 europeke

image After change to 300 seconds my Home Assistant was rebooted.

europeke avatar Apr 04 '24 10:04 europeke

I would also supply my myvaillant credentials to you. Might be eassier and faster.

europeke avatar Apr 05 '24 05:04 europeke