claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
74 stars 15 forks source link

RM3500WF detected as a switch but there is no sensor to track temperatures #261

Closed tessierp closed 1 month ago

tessierp commented 1 month ago

Hi,

I recently installed Neviweb130, works fantastically well with Sinope thermostats I have. Amazingly well done!

Recently I installed a water tank controller, RM3500WF. A switch was detected by Home Assistant to turn it on and off however there doesn't seem to be any support in Neviweb130 to keep track of the temperature sensor. Any idea why?

claudegel commented 1 month ago

The RM3500WF is fully supported in neviweb130. The water temperature is reported as attribute water_temperature You just need to create a template sensor to track that attribute

template:
  - sensor:
      - name: "temperature_eau"
        unique_id: sensor.temperature_eau
        unit_of_measurement: '°C'
        device_class: temperature
        state_class: measurement
        state: "{{ state_attr('switch.neviweb130_switch_calypso_chauffe_eau', 'water_temperature') }}"

replace the last line by the name of your device. Should work without problem. You can check your device attributes in dev tools, states. Search for your device name switch.neviweb130_switch_name_of_your_device

tessierp commented 1 month ago

The name of the sensor in my case is switch.neviweb130_switch_rm3500wf. I added the following :

` ########################

Water Tank Temperature

########################

Didn't get any errors and I'm able to interrogate the sensor but it says the temperature is "unknown". I checked in the Neviweb app and I can see it is at 48C right now. I guess I will receive date the next time the temperatures changes and an event is triggered? (is it event driven or pull driven??)

image

claudegel commented 1 month ago

The attribute name is «water_temperature». You put «water_tank_temperature» change the line for state: "{{ state_attr('switch.neviweb130_switch_rm3500wf', 'water_temperature') }}" «water_tank_temperature» is the name of your sensor

tessierp commented 1 month ago

Ahh yes I changed that by mistake. Works now. Thank you!