Hirdetés

2024. május 1., szerda

Gyorskeresés

Útvonal

Fórumok  »  Logoszféra  »  gerner1

Hozzászólások

(#201) gerner1


gerner1
Topikgazda

One more new NDA arrived ....

(#202) gerner1


gerner1
Topikgazda

000FFFA

[ Szerkesztve ]

(#203) gerner1 válasza gerner1 (#202) üzenetére


gerner1
Topikgazda

Írd át 124-re az értékét, mert az maradék nélkül osztható, és azzal megszűnik.

[ Szerkesztve ]

(#204) gerner1


gerner1
Topikgazda

Amennyiben tudod az időpontot, akkor trigger platform: time a meghatározott időpontra, és template feltételbe kell tenni, hogy aktuáliasan milyen nap van.
- conditions:
- "{{ now().month==4 and now().day==1 }}"

[ Szerkesztve ]

(#205) gerner1


gerner1
Topikgazda

A kapott, hibás template minta :

sensor:
- platform: template
name: "Heatpump_COP"
unit_of_measurement: "COP"
lambda: |-
return ((id(${devicename}_power_output).state) / ((id(${devicename}_electricity_consumption).state);
accuracy_decimals: 4
update_interval: 15s

- Ebből (⇑), a hibás rész javítása :
( (id(${devicename}_power_output).state / id(${devicename}_electricity_consumption).state ) );

[ Szerkesztve ]

(#206) gerner1


gerner1
Topikgazda

FFFFDDDD

[ Szerkesztve ]

(#207) gerner1


gerner1
Topikgazda

A new addition has been received for the last NDA ...

(#208) gerner1


gerner1
Topikgazda

New NDA ...

[ Szerkesztve ]

(#209) gerner1


gerner1
Topikgazda

New NDA arrived ...

[ Szerkesztve ]

(#210) gerner1


gerner1
Topikgazda

del.

[ Szerkesztve ]

(#211) gerner1


gerner1
Topikgazda

Az átküldött adatcsomagból, a jelzett helyiség világítás-vezérléséhez, a következő megoldást hoztam létre:

Fényerő FEL automatizáció:
alias: test_iroda_fel
description: This automation starts the "Fényerő FEL" loop
trigger:
- platform: device
domain: mqtt
device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
type: action
subtype: brightness_move_up
discovery_id: cx04cd15aafec1b1fb action_brightness_move_up
id: fényerő_fel
condition:
- condition: state
entity_id: input_boolean.test_iroda
state: "off"
action:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.test_iroda
- repeat:
while:
- condition: state
entity_id: input_boolean.test_iroda
state: "on"
sequence:
- device_id: af50cc00db31fa34f82b4a3a26cd04fc8d
domain: light
entity_id: light.plafonnier_iroda
type: brightness_increase
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.test_iroda
mode: single

Fényerő LE automtizáció:
alias: test_iroda_le
description: This automation starts the "Fényerő LE" loop
trigger:
- platform: device
domain: mqtt
device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
type: action
subtype: brightness_move_down
discovery_id: cx04cd15aafec1b1fb action_brightness_move_down
id: fényerő_fel
condition:
- condition: state
entity_id: input_boolean.test_iroda
state: "off"
action:
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.test_iroda
- repeat:
while:
- condition: state
entity_id: input_boolean.test_iroda
state: "on"
sequence:
- device_id: af50cc00db31fa34f82b4a3a26cd04fc8d
domain: light
entity_id: light.plafonnier_iroda
type: brightness_decrease
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.test_iroda
mode: single

Világitás KIKAPCS automatizáció:
alias: test_iroda_KIKAPCS
description: This automation stops any "Fényerő" loop
trigger:
- platform: device
domain: mqtt
device_id: 4bc9b509fa5583eef4a5510c6e3eaf5c
type: action
subtype: brightness_stop
discovery_id: cx04cd15aafec1b1fb action_brightness_stop
condition: []
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id: input_boolean.test_iroda
mode: single

* Egyik sem használ plugin -t, vagy extension -t.

A korábbi megoldások / javításokkal azonos módon integrálható a már ismert eljárással (yaml szerkesztő..)...

[ Szerkesztve ]

(#212) gerner1 válasza gerner1 (#50) üzenetére


gerner1
Topikgazda

soon ...

[ Szerkesztve ]

(#213) gerner1


gerner1
Topikgazda

del

[ Szerkesztve ]

Útvonal

Fórumok  »  Logoszféra  »  gerner1
Copyright © 2000-2024 PROHARDVER Informatikai Kft.