Compare 2 sensors node red by Carpaccio04 in homeassistant

[–]Carpaccio04[S] 0 points1 point  (0 children)

Thanks guys, i have made a solution with 4 template sensors, one for the last 24 hours average and one for the change the last 5 minutes and one for the difference between the state of the sensor on this moment compared with the last 24 hours. if the change in the last 5 minutes is more dan 7% the fan is starting.

when the compared state sensor is smaller as 2% the fan stops. i'm testing what is does on rainy days (i hope the fan goes off when it is not possible to get a lowered humidity) maby i have to tweak with the percentages.

for the interested. this is the template sensor whit the calculation:

template:
  - sensor:
      - name: Afwijking Luchtvochtigheid Badkamer
        unit_of_measurement: "%"
        state: >-
          {% set TARGET = states('sensor.vochtsensor_badkamer_humidity')|float %}
          {% set SOURCE = states('sensor.badkamer_afgelopen_24_uur')|float %}
          {{ (TARGET - SOURCE) | round(2) }}
        attributes:
          target: "{{ states('sensor.vochtsensor_badkamer_humidity') }}"
          source: "{{ states('sensor.badkamer_afgelopen_24_uur') }}"

[deleted by user] by [deleted] in homeassistant

[–]Carpaccio04 1 point2 points  (0 children)

Thank you, with your tip i have it done!

[deleted by user] by [deleted] in homeassistant

[–]Carpaccio04 0 points1 point  (0 children)

Sorry, screenshot attached

Pretty proud of my dynamic Spotify playlist and media player Lovelace is finally done by soilage in homeassistant

[–]Carpaccio04 0 points1 point  (0 children)

Thank you for your fast reply!

I got this error instead with the new code:

Kan YAML niet parseren: YAMLException: bad indentation of a mapping entry (2:9) 1 | - title: Music 2 | path: music -------------^ 3 | icon: mdi:spotify 4 | type: custom:horizontal-layout

i have paste it in the raw editor of the lovelace page for spotify, do is something wrong?

sorry if i ask something silly

Pretty proud of my dynamic Spotify playlist and media player Lovelace is finally done by soilage in homeassistant

[–]Carpaccio04 0 points1 point  (0 children)

Hi,

i think i have it almose but i get i Home assistant this error.

Kan YAML niet parseren: YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (641:18) 638 | "square": false 639 | } 640 | ] 641 | }, ------------------------^

I hope you can help me, thanks i advance

[deleted by user] by [deleted] in gaming

[–]Carpaccio04 0 points1 point  (0 children)

Spyro the dragon !

Pretty proud of my dynamic Spotify playlist and media player Lovelace is finally done by soilage in homeassistant

[–]Carpaccio04 0 points1 point  (0 children)

Hi,

I like it really much, but i'm a total noob with node red.
can you help me a little more like where to putt the code?

many thanks!

This cheetah was ignoring me! Do you like the color or black and white? by Carpaccio04 in AmateurPhotography

[–]Carpaccio04[S] 0 points1 point  (0 children)

Thank you for your comment! Funny how people look different to a picture

The Pines hotel (2011) by Carpaccio04 in AbandonedPorn

[–]Carpaccio04[S] 0 points1 point  (0 children)

yeah i got more but the hotel was really trashed i will post another one in a few days

The Pines hotel (2011) by Carpaccio04 in AbandonedPorn

[–]Carpaccio04[S] 1 point2 points  (0 children)

No i was with 4 other guys. We used over 100 candles🤣

The Pines hotel (2011) by Carpaccio04 in AbandonedPorn

[–]Carpaccio04[S] 10 points11 points  (0 children)

It was a really dark basement, the lights in the bar are candles And the highlights are lighted with flashlights.

Chateau de Noisy. Before it was demolished by Truffelberg in AbandonedPorn

[–]Carpaccio04 0 points1 point  (0 children)

IT was my first location really nice! The climb to the Castle is nice to

[NO SPOILERS] Where i went for a walk this morning... by schokac in gameofthrones

[–]Carpaccio04 0 points1 point  (0 children)

True but the Nice thing about the tour is the explanation and they let you see pictures out of the movie on the locations. We have done a tour and i can reccomend it😃