marcopal74 / home-assistant-palazzetti

Definitive Palazzetti SmartStoves integration for Home Assistant
MIT License
12 stars 7 forks source link

Bad string and temperature precision #16

Closed array81 closed 1 year ago

array81 commented 1 year ago

Hi,

I have 2 small problems:

  1. On sensors I have this string "kTemperaturaAcquaRitorno". The label is not correct moreever I think is the the "Temp. Mandata" and not "Temp. Ritorno" because I just have other "Temp. Ritorno" with low value;
  2. Sometimes both "kTemperaturaAcquaRitorno" and "Temp. Ritorno" have 8 digits after the comma;

Thanks

marcopal74 commented 1 year ago

Hello @array81,

Point 1 - can you tell me which model of stove/boiler you have? I've a boiler and the labels are OK but the label of the sensor depends also on the configuration. (Attribute CONFIG of the sensor "your_product_name"). I couldn't test all the models so there can be uncovered situations.

Screenshot 2023-02-03 alle 02 09 53

Anyway you can change the name of the label from the HomeAssistant UI 😉 - see #15 comment from @carmelo42.

Point 2 - in the integration I don't manipulate the data received from the CBox, it means that if there are 8 digits it's because that's what it comes from the CBox. You can solve this issue by creating a template sensor over the sensor of the integration in your configuration.yaml file:

  sensors:
    t_mandata:
      friendly_name: 'T. Mandata'
      value_template: '{{ states.sensor.temp_mandata.state | round(1,default=none) }}'
      unit_of_measurement: "°C"
      device_class: temperature
array81 commented 1 year ago

Thanks for fast reply. About point1 I have a Palazzetti Ermione Idro 26kW. I cannot find "Attribute CONFIG of the Product" on Home Assistant. I changed the name on HA but can I change also ID entity ot it's a problem?

marcopal74 commented 1 year ago

CONFIG is an attribute of the sensor which name is "sensor." the one with the Fireplace icon. Can you find it? In the previous answer I made a mistake, it's not an attribute of the Product sensor, but of the sensor.

If you change the ID there should be no problems...

array81 commented 1 year ago

Hi, I not have config but I think the problem is that I use WirelessPalaControl to connect the stove. I can find only these:

image

marcopal74 commented 1 year ago

Sorry @array81 I'm really burnt out!!! please check the attributes of the bynary_sensor.product. My mistake, really sorry...

By the way I cannot grant full functionality with WirelessPalaControl because I'm using the original CBox. There are potential issues regarding API calls. Not all are documented and WirelessPalaControl might not respond correctly especially to UDP calls.

array81 commented 1 year ago

The config value is 1.

The WirelessPalaControll works very well. I have only a small problema with ON/OFF switch, when it changes state for a few minutes it becomes unavailable on HA but it is not a hardware or connection problem. I've read that others have similar problems.

marcopal74 commented 1 year ago

The config value is 1.

In config 1 the main temp sensor is the water outgoing from the stove to the heating system (TemperaturaAcquaMandata) that is T1 while the coming back to the stove water is T2 (TemperaturaAcquaRitorno) the set point is done on water temperature

config_1

The WirelessPalaControll works very well. I have only a small problema with ON/OFF switch, when it changes state for a few minutes it becomes unavailable on HA but it is not a hardware or connection problem. I've read that others have similar problems.

The unavailability of the ON/OFF switch is due to the fact that the integration (as the App) cannot control the ON/OFF during the intermediate steps between the ON switch and the BURNING state as well as the intermediate phases between BURNING and the OFF state when you switch OFF. During those phases the stove changes automatically state and the interaction is not allowed 👍🏻.