Sensor virtual de humedad para detectar cambios repentinos.

¿Atascado con una automatización de Home Assistant? ¿Alguna configuración que no va? Plantea tu problema e intentaremos ayudarte
tatop
Mensajes: 1
Registrado: Sab Abr 08, 2023 6:38 am

Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por tatop » Sab Abr 08, 2023 6:46 am

Hola!! Estoy con un problema, quiero agregar un par de sensores virtuales que verifiquen la humedad de un sensor sonoff actual y la del mismo pero hace 10 minutos atras. Si aumenta en 5% deberia pasar de off a on. Pero me encuentro con el mismo valor siempre, el que busca como 10 minutos atras y el actual. Lo que hice fue esto:

- platform: template
sensors:
incremento_humedad:
value_template: >-
{% set current_humidity = states('sensor.sonoff_humidity_pruebas') | float %}
{% set previous_humidity = states('sensor.sonoff_humidity_pruebas', '10 minutes ago') | float %}
{% set humidity_difference = current_humidity - previous_humidity %}
{{ 'on' if humidity_difference > (previous_humidity * 0.05) else 'off' }}


Este sensor lo hice para ver los valores que esta tomando y siempre me muestra el mismo valor que el actual del sensor.

- platform: template
sensors:
humedad_hace_10_minutos:
value_template: "{{ states('sensor.sonoff_humidity_pruebas', '10 minutes ago') }}"
unit_of_measurement: '%'

Saludos cordiales!!

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Sab Dic 09, 2023 2:31 pm

I admit, I have not been on this blog in a long time, however it was joy to find it again. It is such an important topic and ignored by so many, even professionals! I thank you for helping to make people more aware of these issues. Just great stuff as per usual! 우리카지노

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Dom Dic 10, 2023 12:47 pm

Hello. I don’t know whether it is too much, but this site is pretty eye-pleasing. Indiase e visa in aanmerking komen Servische burgers

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Mar Dic 12, 2023 5:37 pm

Good submit. We study something more challenging upon very different weblogs everyday. It’s going to often be revitalizing to learn content material through different authors as well as observe a bit some thing at their store. We’d choose to utilize some with the content on my small website whether an individual don’t brain. Natually My partner and i’ll supply you with a website link on your internet weblog. Thank you for revealing. Garage Door Spring Repair Westwood

Agnestine111
Mensajes: 141
Registrado: Lun Dic 11, 2023 6:38 am

online baccarat strategy

Mensaje por Agnestine111 » Mié Dic 13, 2023 6:08 am

Very interesting information! Perfect just what I was looking for! My site: real money baccarat online

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Jue Dic 14, 2023 3:05 pm

I reckon something really interesting about your website so I bookmarked . pentobarbital buy

Agnestine111
Mensajes: 141
Registrado: Lun Dic 11, 2023 6:38 am

Holidays Lucky Wheel

Mensaje por Agnestine111 » Sab Dic 16, 2023 3:17 am

Excellent to the point article and news.. Well appreciated, My sites: Take the Wheel in OKBet.com Lucky Wheel Extravagant!

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Dom Dic 17, 2023 10:58 am

The care about this fundamental standard of knowledge further than the strategy that most experts provide. Your article informed me to thinking that I had previous skipped. In the event you keep this up blogging I think you may be a force in this industry. 미국 온라인 비자 요구 사항

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Dom Dic 17, 2023 11:43 am

I think that is essentially the most vital information personally. And i am glad reading your article. But should remark on few general things, The site style is perfect, the articles is really excellent : D. Good job, cheers Caluanie Muelear Oxidize Manufacturer

dadag
Mensajes: 1512
Registrado: Mar Dic 05, 2023 11:37 am

Re: Sensor virtual de humedad para detectar cambios repentinos.

Mensaje por dadag » Lun Dic 18, 2023 3:01 pm

You made some decent points there. I looked online with the issue and located most people is going along with using your site. Bourbon whiskey

Responder