ariston-remotethermo-home-assistant-v3
ariston-remotethermo-home-assistant-v3 copied to clipboard
Gas consumption in kWh
Hi, why if I add these 2 entities
Ariston domestic hot water gas consumption Ariston central heating gas consumption
on Energy board, I see kWh and not SMC ?
this is a gas consumption, not an electricity consumption.
No, there isn't a sensor about it.
But my question is why I see kWh in energy board and not SMC (or m3)?
I pay by SMC consumption so I prefer see this value
Hi @developerGM
You could update desire units through ariston web portal / mobile app, here is example for web portal
Or through home assistant - an ariston instance configuration
Hello guys, same here. I prefer to see Smc instead of kWh. I've tried to change the parameters in the app and in the integration aa shown by @developerGM but still works onlt with kWh WTF :(
Yes, confirm that if you change the params in App (Ariston) or in HomeAssistant, not works. In Energy board I see always kWh
@developerGM @redstyle82
As @fustom (see https://github.com/fustom/ariston-remotethermo-home-assistant-v3/discussions/87#discussioncomment-5179684) says:
The official app convert the kWh energy locally based on those settings. But you can do the similar thing in HA by change the settings for the [ariston_central_heating_gas_consumption] entity and set different unit of measurement.
To solve this problem, I created a couple of sensors: https://github.com/fustom/ariston-remotethermo-home-assistant-v3/discussions/87#discussioncomment-6123134
@salvadorbs Ok, I will test it, thanks To integrate I need to add your code on sensors.yaml file?
Configuration.yaml or your sensor yaml file, if you are using it.
Configuration.yaml or your sensor yaml file, if you are using it.
@salvadorbs I am testing on sensors.yaml but I don't understand what kind of platform I need to write
- platform: XXX
Why platform? You do not need it. https://www.home-assistant.io/integrations/template/#state-based-template-binary-sensors-buttons-images-numbers-selects-and-sensors
Same issue here.
SMC in Ariston/ATAG webportal, but not the option to use SMC (or M²s) is not possible to select.
Small update for sensor gas:
template
- sensor:
- name: "Ariston Gas Riscaldamento m³"
unique_id: ariston_gas_riscaldamento
state: "{{ (states('sensor.ariston_central_heating_gas_consumption') | float / 10.69) | round(2) }}"
unit_of_measurement: "m³"
icon: mdi:cash
device_class: gas
state_class: total
attributes:
last_reset: "{{states.sensor.ariston_central_heating_gas_consumption.attributes.last_reset}}"
Changed state_class from total_increasing to total and added last_reset attribute, like original sensor. I noticed that, especially with the heating sensor, the total_increasing state ignored the new values if they were similar (see home assistant docs). So I decided to use the state_class and last_reset attribute from the original sensor. For now it seems to work.
@salvadorbs how can I set the card in HA to show always the m3 of today? so only totale current day
I use these sensors in the energy dashboard. In any case, you should use stat cards:
- Statistic card https://www.home-assistant.io/dashboards/statistic/
- Statistics graph card https://www.home-assistant.io/dashboards/statistics-graph/
Stat type = change Period = today
This is perfect but I see different values
In HA, I see for this month 30.46m³ In Ariston app, I see for december a total of 64SMC
Why?
It could be missing consumption because of unavailable sensor values from API (API calls successful less that 50% in my case). By default the gas consumption sensor is updated every hour. In case bad response the last hour consumption will be unavailable and it could affect the total numbers. Try to set more frequent gas sensor updates (e.g. every 10 mins) to be guaranteed a consumption value every hour.
Find there more details. https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/86