smartthings icon indicating copy to clipboard operation
smartthings copied to clipboard

Windfree (ARTIK051_PRAC_20K) temperature

Open thenightflier74 opened this issue 1 year ago • 8 comments

Hi, thanks for this howesome project. With my windfree split I can't use temperature as sensor. In fact, when a target value is reached, I'd like the split to change from "normal ventilation" to "windfree ventilation". In general, temperature can't be used as a trigger (while humidity yes). Many thanks for the support.

thenightflier74 avatar Aug 07 '22 09:08 thenightflier74

Same issue here. Temperature is not exposed as sensor, but it has many uses, even informational (i.e. graphs)

luca-piccioni avatar Aug 13 '22 16:08 luca-piccioni

Just realized how to fix it: comparing with the original fork, this line has been added. If I remove/delete this line, the temperature sensor is shown on HA, with its correct value.

Cannot understand the reason, but it works.

luca-piccioni avatar Aug 14 '22 06:08 luca-piccioni

Thanks for the test but the issue remains: the temperature appears as a sensor but it does not update. The first value is the same.

thenightflier74 avatar Aug 15 '22 17:08 thenightflier74

I think I have same issue. Current temperature is still same. In logs are only these two rows but I don't know if it's relevant

custom_components.smartthings.number::SmartThingsNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
custom_components.smartthings.number::SamsungOcfTemperatureNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.

dimmuboy avatar Aug 18 '22 22:08 dimmuboy

Model: 22K_REF_LCD_FHUB7.0

Not sure if this is similar but temperature shows as Unavailable for: sensor.refrigerator_temperature_measurement sensor.refrigerator_thermostat_cooling_setpoint

Added the model in the scripts and tried the above fix from luca-piccioni but no luck on getting temperature to report. I have the same two rows of logs that dimmuboy has as well. The temperature didn't report under the original fork either.

Edit: using beta 1.1.13

JRoc1212 avatar Aug 22 '22 17:08 JRoc1212

In my case it;s not unavailable but static value in climate.device attribute current_temperature Currently I have static value current_temperature: 25 but real temperature in room (and via SmartThings too) is 22°C

dimmuboy avatar Aug 22 '22 18:08 dimmuboy

I solved with a walkaround. By now it seems to work.

  1. I created a sensor in configuration.yaml

sensor splits: platform: template sensors: split_sala_temp: value_template: "{{ states.climate.split_sala.attributes['current_temperature'] | int }}" unit_of_measurement: '°C' friendly_name: 'Split Sala - Temperatura'

NOTE: you can add all the split in the same istance

  1. I used a service call as action in the automation service: climate.set_temperature data: temperature: "{{ states('sensor.split_sala_temp') | float }}" target: device_id: a52fc42e0a211ff72688a1511ec63d70

NOTE: this istance set the split temperature equals to the value catched by the split sensor itself. This because I use an external sensor to activate the action and then, when the target temperature is reached on the first sensor, I use the "current" temperature value of the split sensor as target temperature (that is higher due the air flow). Solution allow me to put the split on "maintain" mode rather then shut it off.

thenightflier74 avatar Sep 18 '22 08:09 thenightflier74

Yes, template sensors is the way to go!

veista avatar Oct 09 '22 11:10 veista