One more new NDA arrived ....
gerner1 - Logoszféra fórum
hozzászólások
gerner1
(veterán)
Írd át 124-re az értékét, mert az maradék nélkül osztható, és azzal megszűnik.
[ Szerkesztve ]
gerner1
(veterán)
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 ]
gerner1
(veterán)
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 ]
gerner1
(veterán)
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 ]
gerner1
(veterán)
Előzmény #181
ONE UI verzió
SM-A526B , SM-A528B készülékeknél
Példához egy A52s firmware :
A528BXXU7GXDC
⇓⇓⇓
Jelölés (Samsung-szerinti firmware főverzió nyilvántartás) - ONE UI verzió
A - 3.1
B - 4.0
C - 4.1
D - 5.0
E - 5.1
F - 6.0
G - 6.1
[ Szerkesztve ]