Problem mit ShellyPlusi4

Begonnen von rico5588, 16 Januar 2025, 16:51:25

Vorheriges Thema - Nächstes Thema

rico5588

Hallo @all,

Ich habe eine Frage zur Verwendung vom ShellyPlusi4 und bin mir nicht sicher wie ich das Problem richtig beschreiben soll.
Ich habe vom Typ shellyPlusi4 2 Stück welche jeweils einen shellyswitch25 schalten.
Das Problem ist das ein Set aus Schalter und Aktor die Befehle nahezu unverzögert umsetzt während das andere Paar immer zwischen 1 und 5 sec benötigt.
Auf der Homepage vom Shelly sehe ich die Statusänderung sofort. In Fhem kommt diese mit versatz im eventmonitor an. Manchmal (von 20x Schalten) wird ein Befehl garnicht ausgeführt obwohl dieser im Eventmonitor zusehen ist. Dann bleibt das Licht an oder geht nicht an. Das Schalten vom switch geht aus Fhem heraus immer und immer schnell. Somit liegt das Porblem beim SchellyPlusi4.
Nun habe ich einen weiteren gekauft und das Problem besteht nach wie vor.
Alle Shelly sind per MQTT2 eingebunden (per autcreate).
defmod shellyplusi4_c049ef8a0acc MQTT2_DEVICE shellyplusi4_c049ef8a0acc
attr shellyplusi4_c049ef8a0acc bridgeRegexp .*:bthome/bth_([a-z_0-9_]+):.* "bth_$1"
attr shellyplusi4_c049ef8a0acc devicetopic shellyplusi4-c049ef8a0acc
attr shellyplusi4_c049ef8a0acc icon fs20_S4A-2_1
attr shellyplusi4_c049ef8a0acc jsonMap switch_temperature_tC:temperature switch_temperature_tF:0 params_wifi_sta_ip:ip
attr shellyplusi4_c049ef8a0acc model shellyPlus_i4
attr shellyplusi4_c049ef8a0acc readingList shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/events/rpc:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/input_1:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/online:.* online\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/ble:.* ble\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/cloud:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/input_0:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/input_2:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/input_3:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/mqtt:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/script_1:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/sys:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/wifi:.* { json2nameValue($EVENT) }\
shellyplusi4_c049ef8a0acc:shellyplusi4-c049ef8a0acc/status/ws:.* { json2nameValue($EVENT) }
attr shellyplusi4_c049ef8a0acc room MQTT2_DEVICE,Markise
attr shellyplusi4_c049ef8a0acc stateFormat <a href="http://ip" target="_blank">\
online\
</a>\
state

setstate shellyplusi4_c049ef8a0acc <a href="http://ip" target="_blank">\
true\
</a>\
false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 available_updates_beta_version 1.5.0-beta1
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 ble {}
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 cfg_rev 9
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 connected true
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 dst shellyplusi4-c049ef8a0acc/events
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 fs_free 102400
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 fs_size 393216
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 id 1
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 kvs_rev 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 mac C049EF8A0ACC
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 mem_free 22092
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 mem_peak 3668
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 mem_used 3094
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 method NotifyStatus
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 online true
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_cloud_connected false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:41 params_events_1_component sys
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:41 params_events_1_event scheduled_restart
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:41 params_events_1_time_ms 995
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:41 params_events_1_ts 1737040600.98
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:38:58 params_input_0_id 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:38:58 params_input_0_state false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 params_input_1_id 1
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 params_input_1_state false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_input_2_id 2
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_input_3_id 3
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_mqtt_connected true
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_script_1_id 1
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_script_1_mem_free 22092
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_script_1_mem_peak 3668
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_script_1_mem_used 3094
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_script_1_running true
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 params_sys_available_updates_beta_version 1.5.0-beta1
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_cfg_rev 9
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_fs_free 102400
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_fs_size 393216
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_kvs_rev 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_mac C049EF8A0ACC
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_ram_free 126776
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_ram_size 268700
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_reset_reason 3
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_restart_required false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_schedule_rev 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_uptime 2
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_sys_webhook_rev 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 params_ts 1737041944.85
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_wifi_rssi -49
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_wifi_ssid FRITZ!Box 7490
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_wifi_sta_ip 192.168.9.223
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_wifi_status got ip
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 params_ws_connected false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 ram_free 120976
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 ram_size 268524
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 reset_reason 3
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 restart_required false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 rssi -49
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 running true
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 schedule_rev 0
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 src shellyplusi4-c049ef8a0acc
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 ssid FRITZ!Box 7490
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 sta_ip 192.168.9.223
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:39:05 state false
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:45 status got ip
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 time 16:16
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 unixtime 1737040611
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 uptime 9
setstate shellyplusi4_c049ef8a0acc 2025-01-16 16:16:51 webhook_rev 0
Log eventmonitor 4x Ein und Ausschalten
2025-01-16 16:44:44.380 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042282.20
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: true
2025-01-16 16:44:44.381 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:44:45.490 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:44:45.490 MQTT2_DEVICE shellyplusi4_c049ef8a0acc true
2025-01-16 16:44:54.286 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:44:54.366 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: false
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:44:54.367 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042294.27
2025-01-16 16:44:54.385 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:44:54.385 MQTT2_DEVICE shellyplusi4_c049ef8a0acc false
2025-01-16 16:45:03.218 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: true
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042302.51
2025-01-16 16:45:03.219 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:04.033 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:04.033 MQTT2_DEVICE shellyplusi4_c049ef8a0acc true
2025-01-16 16:45:11.412 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:11.444 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042311.40
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: false
2025-01-16 16:45:11.446 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:11.480 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:11.480 MQTT2_DEVICE shellyplusi4_c049ef8a0acc false
2025-01-16 16:45:16.688 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: true
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042315.46
2025-01-16 16:45:16.689 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:16.802 MQTT2_DEVICE shellyplusi4_c049ef8a0acc true
2025-01-16 16:45:16.802 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:18.449 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:18.483 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: false
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:18.484 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042318.44
2025-01-16 16:45:18.574 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:18.574 MQTT2_DEVICE shellyplusi4_c049ef8a0acc false
2025-01-16 16:45:22.697 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042321.59
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:22.699 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: true
2025-01-16 16:45:22.764 MQTT2_DEVICE shellyplusi4_c049ef8a0acc true
2025-01-16 16:45:22.764 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:24.921 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:24.996 DOIF TerrasseRicoLicht_doif cmd_event: shellyplusi4_c049ef8a0acc
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_ts: 1737042324.91
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc method: NotifyStatus
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc dst: shellyplusi4-c049ef8a0acc/events
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_id: 1
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc params_input_1_state: false
2025-01-16 16:45:24.997 MQTT2_DEVICE shellyplusi4_c049ef8a0acc src: shellyplusi4-c049ef8a0acc
2025-01-16 16:45:25.006 MQTT2_DEVICE shellyplusi4_c049ef8a0acc id: 1
2025-01-16 16:45:25.006 MQTT2_DEVICE shellyplusi4_c049ef8a0acc false
Ausgabe mit Verbose 5 zeigt nichts außer
025.01.16 16:45:21.573 4: MQTT2_DEVICE_Parse: shellyplusi4_c049ef8a0acc shellyplusi4-c049ef8a0acc/events/rpc => { json2nameValue($EVENT) }
2025.01.16 16:45:22.760 4: MQTT2_DEVICE_Parse: shellyplusi4_c049ef8a0acc shellyplusi4-c049ef8a0acc/status/input_1 => { json2nameValue($EVENT) }
2025.01.16 16:45:24.899 4: MQTT2_DEVICE_Parse: shellyplusi4_c049ef8a0acc shellyplusi4-c049ef8a0acc/events/rpc => { json2nameValue($EVENT) }
2025.01.16 16:45:25.003 4: MQTT2_DEVICE_Parse: shellyplusi4_c049ef8a0acc shellyplusi4-c049ef8a0acc/status/input_1 => { json2nameValue($EVENT) }

Kennt jemand das Problem?
Geht nicht gibt's nicht.
NUC-I3+Proxmox, Fritzbox 7590 AX, Synology DS423+
Dimplex Wärmepumpe, Lüftungsanlage, Solarlog 1200
HM,IT,Lacross,EspEasy,Modbus,MQTT2, Freund von Shelly

rudolfkoenig

ZitatIn Fhem kommt diese mit versatz im eventmonitor an. [...] Somit liegt das Porblem beim SchellyPlusi4.
Ich wuerde das mit einem mosquitto Server (statt MQTT2_SERVER) und mosquitto_sub explizit verifizieren.

rico5588

#2
Hallo,

ich konnte das Problem heute eingrenzen.

Als erstes habe ich einen moskito Server aufgesetzt. Fazit Versatz nicht spürbar.
Dann habe ich das vermutlich defekte Gerät in Fhem ohne anbindung an ein doif getestet. Auch hier kein Versatz.
Dann habe ich mein doif wieder genutzt um den Aktor zu Steuern und dort habe ich den Versatz.
defmod TerrasseRicoLicht_doif DOIF (([shellyplusi4_c049ef8a0acc:params_input_1_state] eq "true" or [TerrasseRicoLicht_MS] eq "on" or [shellyplusi4_c4d8d541ea7c:params_input_0_state] eq "true") and [?TerrasseRicoLicht_HS] eq "on" )\
(set shellyswitch25_E8DB848017AC on, set TerrasseRicoLicht_S on)(trigger HelligkeitHM)\
DOELSEIF \
([shellyplusi4_c049ef8a0acc:params_input_1_state] eq "false" or [TerrasseRicoLicht_MS] eq "off" or [shellyplusi4_c4d8d541ea7c:params_input_0_state] eq "false")\
(set shellyswitch25_E8DB848017AC off, set TerrasseRicoLicht_S off, set TerrasseRico_Mode Automatik)\
(trigger HelligkeitHM)
attr TerrasseRicoLicht_doif do always
attr TerrasseRicoLicht_doif group TerrasseLichtRico
attr TerrasseRicoLicht_doif room Terrasse
Die größere Verzögerung habe ich bei cmd2.
Hier habe ich die Zeile von
(set shellyswitch25_E8DB848017AC off, set TerrasseRicoLicht_S off, set TerrasseRico_Mode Automatik)in
(set shellyswitch25_E8DB848017AC off)(set TerrasseRicoLicht_S off)geändert was die Verzögerung etwas verringert.
Und so habe ich keinen Versatz, das Licht geht sofort an und aus.
(([shellyplusi4_c049ef8a0acc:params_input_1_state] eq "true" or [TerrasseRicoLicht_MS] eq "on") and [?TerrasseRicoLicht_HS] eq "on" )
(set shellyswitch25_E8DB848017AC on)
DOELSEIF
([shellyplusi4_c049ef8a0acc:params_input_1_state] eq "false" or [TerrasseRicoLicht_MS] eq "off")
(set shellyswitch25_E8DB848017AC off)
TerrasseRicoLicht_S und TerrasseRico_Mode sind nur Dummy's welche vom nächsten doif gebrauch machen.
Kann solch eine Verschachtelung zum Problem werden?
Gruß Rico
Geht nicht gibt's nicht.
NUC-I3+Proxmox, Fritzbox 7590 AX, Synology DS423+
Dimplex Wärmepumpe, Lüftungsanlage, Solarlog 1200
HM,IT,Lacross,EspEasy,Modbus,MQTT2, Freund von Shelly

rudolfkoenig

ZitatKann solch eine Verschachtelung zum Problem werden?
Diese Frage sollte man im DOIF Abschnitt stellen.