ZitatDie Frage scheint eher zu sein, ob der Timer direkt auf der Hardware läuft......das hat sich in meiner trüben Glaskugel so nicht gezeigt...
ZitatOn with timed offbei einer Schaltsteckdose von nous steht es so drin:
When setting the state to ON, it might be possible to specify an automatic shutoff after a certain amount of time. To do this add an additional propertyon_time
to the payload which is the time in seconds the state should remain on. Additionally anoff_wait_time
property can be added to the payload to specify the cooldown time in seconds when the switch will not answer to other on with timed off commands. Support depends on the switch firmware. Some devices might require bothon_time
andoff_wait_time
to work Examples :{"state" : "ON", "on_time": 300}
,{"state" : "ON", "on_time": 300, "off_wait_time": 120}
.
ZitatCountdown (numeric)Sieht so aus, als könnten das wohl viele zigbee-aktoren, wenn auch auf unterschiedlichem Weg. Allerdings gibt es da Unterschiede bei den Herstellern, also kein echter Standard.
Countdown to turn device off after a certain time. Value can be found in the published state on thecountdown
property. To read (/get
) the value publish a message to topiczigbee2mqtt/FRIENDLY_NAME/get
with payload{"countdown": ""}
. To write (/set
) a value publish a message to topiczigbee2mqtt/FRIENDLY_NAME/set
with payload{"countdown": NEW_VALUE}
. The minimal value is0
and the maximum value is43200
. The unit of this value iss
.
Zitat von: DS_Starter am 04 Oktober 2025, 23:01:11Im Wiki habe ich weitergearbeitet und eure Inputs zur Integration des Fronius Symo eingbaut.
Wer sich wiedererkennt, kann bitte mal gegenchecken was ich niedergeschrieben habe.
Zitat von: frober am 05 Oktober 2025, 10:23:13Zitat von: DerITler am 04 Oktober 2025, 20:33:02Ganz genau das ist mein Problem. Die Tanzenden Rollos. 😉
Das Ganze wird mit einem notify getriggert und in MyUtils verarbeitet.
Internals:
DEF global:INITIALIZED set pushmsg msg 'System' 'FHEM wurde neu gestartet! - $EVENT' 'GalaxyS25ultra_Marko' 0 ''
FUUID 688b4883-f33f-7706-dc2e-966556cb39e9c42f
FVERSION 91_notify.pm:0.286100/2024-03-07
NAME notify_fhem_reload
NOTIFYDEV global
NR 547
NTFY_ORDER 50-notify_fhem_reload
REGEXP global:INITIALIZED
STATE 2025-10-05 07:31:19
TRIGGERTIME 1759642303.84114
TYPE notify
READINGS:
2025-10-05 07:31:14 state active
2025-10-05 07:31:19 triggeredByDev global
2025-10-05 07:31:19 triggeredByEvent INITIALIZED
Attributes:
alias Systemstart
group Pushnachricht
room Benachrichtigungen
sub Ansage($$) {
my ($Ansage, $Device) = @_;
my @Echolist = ($Device); # Namen der Lautsprecher
my $Echo = "";
foreach $Echo (@Echolist) {
fhem("set $Echo speak \"$Ansage\"");
}
}
Einige davon sind individuell für einen bestimmten Raum gedacht aber viele sind eigentlich für die ganze Wohnung gedacht, so dass man sie hört egal wo man sich aufhält. Entsprechende Multiroom-Gruppe der Lautsprecher ist vorhanden und wird in Fhem auch angezeigt.Zitat von: Sany am 05 Oktober 2025, 15:07:43alle meine über zigbee2mqtt angebundenen Aktoren können das.Die Frage scheint eher zu sein, ob der Timer direkt auf der Hardware läuft...
siehe commandref FHEM commands: set
Gruß
Sany