FHEM Forum

FHEM => Automatisierung => Thema gestartet von: Stelaku am 12 August 2026, 17:48:53

Titel: readingsproxy nach update werden Events erzeugt die vorher nicht da waren
Beitrag von: Stelaku am 12 August 2026, 17:48:53
Hallo alle zusammen

Ich habe mich getraut ein FHEM update zu fahren. Sah auch alles super aus bis ich dann am nächsten Tag bemerkte das einige DOIF´s und notify´s
nicht mehr wie gewohnt funktionierten.
Nach einer längeren Fehlersuche konnte ich es auf meine readingsproxy´s einkreisen die alle auf meine MCP23017 lauschen. Die MCP Devices sind bereits alle
mit einen attr event-on-change-reading ausgestattet. so das bei diesen auch nur ein Event erzeugt wird wenn sich ein Eingang ändert.
Die readingsproxy haben bis jetzt dieses attr nicht gesetzt bekommen. weil bis heute hat es ja funktioniert. Es ist aber ohne das attr. nicht mehr möglich die
readingsproxy´s zu betreiben. Wenn sich nur ein Eingang an den MCP´s ändert, erzeugen, warum auch immer alle readingsproxy´s ein Event.
Hier ein kleiner Auszug aus den Event Monitor
2026-08-12 17:25:27 readingsProxy MCP4_A6 on
2026-08-12 17:25:27 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:28 readingsProxy MCP4_A6 off
2026-08-12 17:25:28 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:31 readingsProxy MCP4_A6 on
2026-08-12 17:25:31 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:31 readingsProxy MCP4_B2 on
2026-08-12 17:25:31 I2C_MCP23017 MCP4 PortB2: off
2026-08-12 17:25:31 readingsProxy MCP4_A6 off
2026-08-12 17:25:31 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:34 readingsProxy MCP4_A6 on
2026-08-12 17:25:34 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:34 readingsProxy MCP4_B2 off
2026-08-12 17:25:34 I2C_MCP23017 MCP4 PortB2: on
2026-08-12 17:25:34 readingsProxy MCP4_B3 on
2026-08-12 17:25:34 I2C_MCP23017 MCP4 PortB3: off
2026-08-12 17:25:34 readingsProxy MCP4_A6 off
2026-08-12 17:25:34 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:36 readingsProxy MCP0_A0 off
2026-08-12 17:25:36 readingsProxy MCP0_A1 off
2026-08-12 17:25:36 readingsProxy MCP0_A3 off
2026-08-12 17:25:36 readingsProxy MCP0_A4 off
2026-08-12 17:25:36 readingsProxy MCP0_A6 off
2026-08-12 17:25:36 readingsProxy MCP0_B0 off
2026-08-12 17:25:36 readingsProxy MCP0_B1 off
2026-08-12 17:25:36 readingsProxy MCP0_B2 off
2026-08-12 17:25:36 readingsProxy MCP0_B3 off
2026-08-12 17:25:36 readingsProxy MCP0_B5 off
2026-08-12 17:25:36 readingsProxy MCP0_B6 off
2026-08-12 17:25:36 readingsProxy MCP0_B7 off
2026-08-12 17:25:36 readingsProxy MCP1_A0 off
2026-08-12 17:25:36 readingsProxy MCP1_A1 off
2026-08-12 17:25:36 readingsProxy MCP1_A2 off
2026-08-12 17:25:36 readingsProxy MCP1_A3 off
2026-08-12 17:25:36 readingsProxy MCP1_A4 off
2026-08-12 17:25:36 readingsProxy MCP1_A5 off
2026-08-12 17:25:36 readingsProxy MCP1_A6 off
2026-08-12 17:25:36 readingsProxy MCP1_A7 off
2026-08-12 17:25:36 readingsProxy MCP1_B0 off
2026-08-12 17:25:36 readingsProxy MCP1_B1 off
2026-08-12 17:25:36 readingsProxy MCP1_B2 off
2026-08-12 17:25:36 readingsProxy MCP1_B3 off
2026-08-12 17:25:36 readingsProxy MCP1_B4 off
2026-08-12 17:25:36 readingsProxy MCP1_B5 off
2026-08-12 17:25:36 readingsProxy MCP1_B6 off
2026-08-12 17:25:36 readingsProxy MCP1_B7 off
2026-08-12 17:25:36 readingsProxy MCP2_A0 off
2026-08-12 17:25:36 readingsProxy MCP2_A1 off
2026-08-12 17:25:36 readingsProxy MCP2_A2 off
2026-08-12 17:25:36 readingsProxy MCP2_A3 off
2026-08-12 17:25:36 readingsProxy MCP2_A4 off
2026-08-12 17:25:36 readingsProxy MCP2_A5 off
2026-08-12 17:25:36 readingsProxy MCP2_A6 off
2026-08-12 17:25:36 readingsProxy MCP2_A7 off
2026-08-12 17:25:36 readingsProxy MCP2_B0 off
2026-08-12 17:25:36 readingsProxy MCP2_B1 off
2026-08-12 17:25:36 readingsProxy MCP2_B2 off
2026-08-12 17:25:36 readingsProxy MCP2_B3 off
2026-08-12 17:25:36 readingsProxy MCP2_B4 off
2026-08-12 17:25:36 readingsProxy MCP2_B5 off
2026-08-12 17:25:36 readingsProxy MCP2_B6 off
2026-08-12 17:25:36 readingsProxy MCP2_B7 off
2026-08-12 17:25:36 readingsProxy MCP3_A0 off
2026-08-12 17:25:36 readingsProxy MCP3_A1 off
2026-08-12 17:25:36 readingsProxy MCP3_A2 off
2026-08-12 17:25:36 readingsProxy MCP3_A3 off
2026-08-12 17:25:36 readingsProxy MCP3_A4 off
2026-08-12 17:25:36 readingsProxy MCP3_A5 off
2026-08-12 17:25:36 readingsProxy MCP3_A6 off
2026-08-12 17:25:36 readingsProxy MCP3_A7 off
2026-08-12 17:25:36 readingsProxy MCP3_B0 off
2026-08-12 17:25:36 readingsProxy MCP3_B1 off
2026-08-12 17:25:36 readingsProxy MCP3_B2 off
2026-08-12 17:25:36 readingsProxy MCP3_B3 off
2026-08-12 17:25:37 readingsProxy MCP3_B4 off
2026-08-12 17:25:37 readingsProxy MCP3_B5 off
2026-08-12 17:25:37 readingsProxy MCP3_B6 off
2026-08-12 17:25:37 readingsProxy MCP3_B7 off
2026-08-12 17:25:37 readingsProxy MCP4_A2_MCP0_A2 off
2026-08-12 17:25:37 readingsProxy MCP4_A2_MCP0_A5 off
2026-08-12 17:25:37 readingsProxy MCP4_A2_MCP0_A7 off
2026-08-12 17:25:37 readingsProxy MCP6_B0 on
2026-08-12 17:25:37 readingsProxy MCP6_B1 on
2026-08-12 17:25:37 readingsProxy MCP6_B2 on
2026-08-12 17:25:37 readingsProxy MCP6_B3 off
2026-08-12 17:25:37 readingsProxy MCP6_B4 off
2026-08-12 17:25:37 readingsProxy MCP6_B5 off
2026-08-12 17:25:37 readingsProxy MCP6_B6 off
2026-08-12 17:25:37 readingsProxy MCP6_B7 off
2026-08-12 17:25:37 readingsProxy MCP7_A0 off
2026-08-12 17:25:37 readingsProxy MCP7_A1 off
2026-08-12 17:25:37 readingsProxy MCP7_A2 off
2026-08-12 17:25:37 readingsProxy MCP7_A3 off
2026-08-12 17:25:37 readingsProxy MCP7_A4 off
2026-08-12 17:25:37 readingsProxy MCP7_A5 off
2026-08-12 17:25:37 readingsProxy MCP7_A6 off
2026-08-12 17:25:37 readingsProxy MCP7_A7 on
2026-08-12 17:25:37 readingsProxy MCP7_B0 off
2026-08-12 17:25:37 readingsProxy MCP7_B1 off
2026-08-12 17:25:37 readingsProxy MCP7_B2 off
2026-08-12 17:25:37 readingsProxy MCP7_B3 off
2026-08-12 17:25:37 readingsProxy MCP7_B4 off
2026-08-12 17:25:37 readingsProxy MCP7_B5 off
2026-08-12 17:25:37 readingsProxy MCP7_B6 off
2026-08-12 17:25:37 readingsProxy MCP7_B7 off
2026-08-12 17:25:37 DOIF Fahrstuhl cmd_event: MCP6_A5
2026-08-12 17:25:37 DOIF Fahrstuhl wait_timer: 12.08.2026 17:26:02 cmd_1_2 MCP6_A5
2026-08-12 17:25:37 readingsProxy MCP6_A5 on
2026-08-12 17:25:37 I2C_MCP23017 MCP6 PortA5: off
2026-08-12 17:25:37 readingsProxy MCP4_B2 on
2026-08-12 17:25:37 readingsProxy MCP4_B3 off
2026-08-12 17:25:37 I2C_MCP23017 MCP4 PortB2: off
2026-08-12 17:25:37 I2C_MCP23017 MCP4 PortB3: on
2026-08-12 17:25:38 readingsProxy MCP4_B2 off
2026-08-12 17:25:38 I2C_MCP23017 MCP4 PortB2: on
2026-08-12 17:25:38 readingsProxy MCP4_A6 on
2026-08-12 17:25:38 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:39 readingsProxy MCP4_A6 off
2026-08-12 17:25:39 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:42 readingsProxy MCP4_A6 on
2026-08-12 17:25:42 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:42 readingsProxy MCP4_A6 off
2026-08-12 17:25:42 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:45 readingsProxy MCP4_A6 on
2026-08-12 17:25:45 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:46 readingsProxy MCP4_A6 off
2026-08-12 17:25:46 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:49 DOIF Fahrstuhl wait_timer: 12.08.2026 17:25:50 cmd_2_1 MCP6_A5
2026-08-12 17:25:49 readingsProxy MCP6_A5 off
2026-08-12 17:25:49 I2C_MCP23017 MCP6 PortA5: on
2026-08-12 17:25:50 DOIF Fahrstuhl cmd_event: MCP6_A5
2026-08-12 17:25:50 DOIF Fahrstuhl cmd_event: MCP6_A5
2026-08-12 17:25:55 readingsProxy MCP4_A6 on
2026-08-12 17:25:55 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:25:57 readingsProxy MCP4_A6 off
2026-08-12 17:25:57 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:25:57 readingsProxy MCP4_B2 on
2026-08-12 17:25:57 I2C_MCP23017 MCP4 PortB2: off
2026-08-12 17:25:59 readingsProxy MCP4_B3 on
2026-08-12 17:25:59 I2C_MCP23017 MCP4 PortB3: off
2026-08-12 17:26:00 readingsProxy MCP4_B2 off
2026-08-12 17:26:00 I2C_MCP23017 MCP4 PortB2: on
2026-08-12 17:26:01 readingsProxy MCP4_A6 on
2026-08-12 17:26:01 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:02 readingsProxy MCP4_A6 off
2026-08-12 17:26:02 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:02 readingsProxy MCP4_B3 off
2026-08-12 17:26:02 I2C_MCP23017 MCP4 PortB3: on
2026-08-12 17:26:03 readingsProxy MCP4_B2 on
2026-08-12 17:26:03 I2C_MCP23017 MCP4 PortB2: off
2026-08-12 17:26:04 readingsProxy MCP4_B3 on
2026-08-12 17:26:04 I2C_MCP23017 MCP4 PortB3: off
2026-08-12 17:26:05 readingsProxy MCP4_B2 off
2026-08-12 17:26:05 I2C_MCP23017 MCP4 PortB2: on
2026-08-12 17:26:06 readingsProxy MCP4_A6 on
2026-08-12 17:26:06 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:07 readingsProxy MCP4_B3 off
2026-08-12 17:26:07 I2C_MCP23017 MCP4 PortB3: on
2026-08-12 17:26:07 readingsProxy MCP4_A6 off
2026-08-12 17:26:07 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:09 readingsProxy MCP4_A6 on
2026-08-12 17:26:09 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:10 readingsProxy MCP4_A6 off
2026-08-12 17:26:10 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:13 readingsProxy MCP4_A6 on
2026-08-12 17:26:13 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:14 readingsProxy MCP4_A6 off
2026-08-12 17:26:14 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:23 readingsProxy MCP4_A6 on
2026-08-12 17:26:23 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:24 readingsProxy MCP4_A6 off
2026-08-12 17:26:24 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:27 readingsProxy MCP4_A6 on
2026-08-12 17:26:27 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:29 readingsProxy MCP4_A6 off
2026-08-12 17:26:29 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:26:46 readingsProxy MCP4_A6 on
2026-08-12 17:26:46 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:26:47 readingsProxy MCP4_A6 off
2026-08-12 17:26:47 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:27:13 readingsProxy MCP4_A6 on
2026-08-12 17:27:13 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:27:14 readingsProxy MCP4_A6 off
2026-08-12 17:27:14 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:27:18 readingsProxy MCP4_A6 on
2026-08-12 17:27:18 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:27:19 readingsProxy MCP4_A6 off
2026-08-12 17:27:19 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:27:22 readingsProxy MCP4_A6 on
2026-08-12 17:27:22 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:27:23 readingsProxy MCP4_A6 off
2026-08-12 17:27:23 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:27:25 readingsProxy MCP4_A6 on
2026-08-12 17:27:25 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:27:26 readingsProxy MCP4_A6 off
2026-08-12 17:27:26 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:01 readingsProxy MCP4_A6 on
2026-08-12 17:28:01 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:03 readingsProxy MCP4_A6 off
2026-08-12 17:28:03 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:16 readingsProxy MCP4_A6 on
2026-08-12 17:28:16 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:18 readingsProxy MCP4_A6 off
2026-08-12 17:28:18 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:46 readingsProxy MCP4_A6 on
2026-08-12 17:28:46 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:47 readingsProxy MCP4_A6 off
2026-08-12 17:28:47 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:49 readingsProxy MCP4_A6 on
2026-08-12 17:28:49 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:50 readingsProxy MCP4_A6 off
2026-08-12 17:28:50 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:53 readingsProxy MCP4_A6 on
2026-08-12 17:28:53 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:54 readingsProxy MCP4_A6 off
2026-08-12 17:28:54 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:28:56 readingsProxy MCP4_A6 on
2026-08-12 17:28:56 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:28:57 readingsProxy MCP4_A6 off
2026-08-12 17:28:57 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:00 readingsProxy MCP4_A6 on
2026-08-12 17:29:00 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:00 readingsProxy MCP4_A6 off
2026-08-12 17:29:00 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:03 readingsProxy MCP4_A6 on
2026-08-12 17:29:03 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:04 readingsProxy MCP4_A6 off
2026-08-12 17:29:04 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:16 readingsProxy MCP4_A6 on
2026-08-12 17:29:16 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:17 readingsProxy MCP4_A6 off
2026-08-12 17:29:17 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:19 readingsProxy MCP4_A6 on
2026-08-12 17:29:19 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:20 readingsProxy MCP4_A6 off
2026-08-12 17:29:20 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:44 readingsProxy MCP4_A6 on
2026-08-12 17:29:44 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:45 readingsProxy MCP4_A6 off
2026-08-12 17:29:45 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:48 readingsProxy MCP4_A6 on
2026-08-12 17:29:48 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:49 readingsProxy MCP4_A6 off
2026-08-12 17:29:49 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:29:51 readingsProxy MCP4_A6 on
2026-08-12 17:29:51 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:29:52 readingsProxy MCP4_A6 off
2026-08-12 17:29:52 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:30:30 readingsProxy MCP4_A6 on
2026-08-12 17:30:30 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:30:31 readingsProxy MCP4_A6 off
2026-08-12 17:30:31 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:31:06 readingsProxy MCP4_A6 on
2026-08-12 17:31:06 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:31:06 readingsProxy MCP4_A6 off
2026-08-12 17:31:06 I2C_MCP23017 MCP4 PortA6: on
2026-08-12 17:31:09 readingsProxy MCP4_A6 on
2026-08-12 17:31:09 I2C_MCP23017 MCP4 PortA6: off
2026-08-12 17:31:10 readingsProxy MCP4_A6 off
2026-08-12 17:31:10 I2C_MCP23017 MCP4 PortA6: on

Meine readingsproxy sehen so aus hier einmal copy for forum

define MCP0_B0 readingsProxy MCP0:PortB0
attr MCP0_B0 alias Esszimer Taster links
attr MCP0_B0 group MCP0_links
attr MCP0_B0 room Eingänge
attr MCP0_B0 sortby 01
attr MCP0_B0 valueFn {($VALUE eq "on")?"off":"on"}
#   DEF        MCP0:PortB0
#   FUUID      5cadfcd1-f33f-134a-7fdc-0a1ba5d2c6cfe21c
#   NAME       MCP0_B0
#   NOTIFYDEV  global,MCP0
#   NR         106
#   NTFY_ORDER 50-MCP0_B0
#   STATE      off
#   TYPE       readingsProxy
#   eventCount 20
#   primaryProxy MCP0:PortB0
#   PROXIES:
#     MCP0:
#       PortB0     MCP0_PortB0
#   READINGS:
#     2026-08-12 17:25:36   state           off
#
setstate MCP0_B0 off
setstate MCP0_B0 2026-08-12 17:25:36 state off

der dazugehörige MCP sieht so aus
define MCP0 I2C_MCP23017 0x20
attr MCP0 IODev i2cBus
attr MCP0 Interrupt A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr MCP0 InterruptOut connected_open-drain
attr MCP0 Pullup A0,A1,A2,A3,A4,A5,A6,A7,B0,B1,B2,B3,B4,B5,B6,B7
attr MCP0 event-on-change-reading .*
attr MCP0 group imput
attr MCP0 room Bus
#   DEF        0x20
#   FUUID      5cadfcd0-f33f-134a-68ef-78e86608e02ccca9
#   I2C_Address 32
#   IODev      i2cBus
#   NAME       MCP0
#   NR         87
#   STATE      Ok
#   TYPE       I2C_MCP23017
#   eventCount 229
#   i2cBus_SENDSTAT Ok
#   READINGS:
#     2026-08-10 15:01:47   IODev           i2cBus
#     2026-08-12 06:15:48   PortA0          on
#     2026-08-10 15:38:08   PortA1          on
#     2026-08-12 17:24:11   PortA2          off
#     2026-08-12 06:04:36   PortA3          on
#     2026-08-12 07:00:40   PortA4          on
#     2026-08-10 19:02:55   PortA5          off
#     2026-08-11 21:51:40   PortA6          on
#     2026-08-12 17:24:10   PortA7          off
#     2026-07-31 05:57:13   PortB0          on
#     2026-07-31 05:57:13   PortB1          on
#     2026-07-25 10:24:41   PortB2          on
#     2026-07-25 10:24:43   PortB3          on
#     2026-08-12 06:04:36   PortB4          on
#     2026-07-23 20:08:16   PortB5          on
#     2026-08-12 06:04:36   PortB6          on
#     2026-08-05 05:48:41   PortB7          on
#     2026-08-12 17:43:01   state           Ok
#
setstate MCP0 Ok
setstate MCP0 2026-08-10 15:01:47 IODev i2cBus
setstate MCP0 2026-08-12 06:15:48 PortA0 on
setstate MCP0 2026-08-10 15:38:08 PortA1 on
setstate MCP0 2026-08-12 17:24:11 PortA2 off
setstate MCP0 2026-08-12 06:04:36 PortA3 on
setstate MCP0 2026-08-12 07:00:40 PortA4 on
setstate MCP0 2026-08-10 19:02:55 PortA5 off
setstate MCP0 2026-08-11 21:51:40 PortA6 on
setstate MCP0 2026-08-12 17:24:10 PortA7 off
setstate MCP0 2026-07-31 05:57:13 PortB0 on
setstate MCP0 2026-07-31 05:57:13 PortB1 on
setstate MCP0 2026-07-25 10:24:41 PortB2 on
setstate MCP0 2026-07-25 10:24:43 PortB3 on
setstate MCP0 2026-08-12 06:04:36 PortB4 on
setstate MCP0 2026-07-23 20:08:16 PortB5 on
setstate MCP0 2026-08-12 06:04:36 PortB6 on
setstate MCP0 2026-08-05 05:48:41 PortB7 on
setstate MCP0 2026-08-12 17:43:01 state Ok

Ist das so gewollt ?

Viele Grüsse

Stephan
Titel: Aw: readingsproxy nach update werden Events erzeugt die vorher nicht da waren
Beitrag von: Beta-User am 12 August 2026, 17:57:47
Nicht beabsichtigt...

Ich schaue es mir an, eventuell morgen.
Titel: Aw: readingsproxy nach update werden Events erzeugt die vorher nicht da waren
Beitrag von: Stelaku am 12 August 2026, 20:59:58
Ich habe jetzt noch mal ein wenig weiter gesucht und habe ein DOIF gefunden das wenn ich es disable kommt diese Eventflut auch nicht mehr.
sehr komisch.
Es ist auch nur ein MCP Eingang der dieses Phänomen hervorruft. So das ich jetzt immer mehr glaube das es nicht am readingsProxy liegt.
Das ist der Eingang vom MCP den ich mit einen readingsProxy abfrage

define MCP6_A5 readingsProxy MCP6:PortA5
attr MCP6_A5 alias Fahrstuhl_fährt_hoch
attr MCP6_A5 event-on-change-reading .*
attr MCP6_A5 group MCP6_rechts
attr MCP6_A5 room Eingänge
attr MCP6_A5 sortby 3
attr MCP6_A5 valueFn {($VALUE eq "on")?"off":"on"}
#   DEF        MCP6:PortA5
#   FUUID      5e244464-f33f-134a-52c1-0d32cd1a9c566dd3
#   NAME       MCP6_A5
#   NOTIFYDEV  MCP6,global
#   NR         226
#   NTFY_ORDER 50-MCP6_A5
#   STATE      off
#   TYPE       readingsProxy
#   eventCount 71
#   primaryProxy MCP6:PortA5
#   PROXIES:
#     MCP6:
#       PortA5     MCP6_PortA5
#   READINGS:
#     2026-08-12 20:43:02   state           off
#
setstate MCP6_A5 off
setstate MCP6_A5 2026-08-12 20:43:02 state off

dieses readingsProxy hat Probably associated with eine DOIF
define Fahrstuhl DOIF ([MCP6_A7] eq "off" and [MCP6_A5] eq "on") ## Wenn Martha unterwegs ist und der Fahrstuhl hoch fährt mache\
(define wait at +00:00:02 set Martha_1 stop) ## Pause ################ Aenderung 30.07.25\
(\
set Flur_Steckdose_Fahrstuhl cmd_1, ## Fahrstuhl ausschalten wenn die Fahrt zu lange dauert\
set Telegram msg Notabschaltung Fahrstuhl fahrt hoch\
)\
\
DOELSEIF\
\
([MCP6_A7] eq "off" and [MCP6_A5:"off"]) ## Wenn Martha unterwegs ist und der Fahrtstuhl bleibt oben stehen mache\
(set Martha_1 start) ## Start\
(get Martha_1 data)\
\
DOELSEIF\
\
([MCP6_A7] eq "off" and [MCP6_A4] eq "on") ## Wenn Martha unterwegs ist und der Fahrstuhl fährt runter\
(set Martha_1 stop) ## Pause\
(\
set Flur_Steckdose_Fahrstuhl cmd_1, ## Fahrstuhl ausschalten wenn die Fahrt zu lange dauert\
set Telegram msg Notabschaltung Fahrstuhl fahrt runter\
)\
\
\
DOELSEIF\
\
([MCP6_A7] eq "off" and [MCP6_A4:"off"]) ## Wenn Martha unterwegs ist und der Fahrstuhl unten stehen bleibt mache\
(\
IF ([MCP6_A6] eq "on") (define wait at +00:00:05 set Flur_Steckdose_Fahrstuhl cmd_1), ## Steckdose Fahrstuhl ausschalten\
set FahrstuhlVerz cmd_2, ## Timer ausschalten\
##IF ([$SELF:mode] eq "cleaning") (set Martha_1 start), ## Start wenn Martha noch Reinigt\
##IF ([$SELF:mode] eq "return") (set Martha_1 charge) ## Home wenn Martha zur Ladestation fährt\
set Martha_1 charge, ######################## Aenderung 30.07.2025\
)\
\
\
\
DOELSEIF\
([Martha_1:"^run_state:.return.to.dock$"])\
(setreading $SELF mode return)\
\
DOELSEIF\
\
([Martha_1] =~ "cleaning" or [Martha_1] =~ "Mopping")\
(setreading $SELF mode cleaning)
attr Fahrstuhl group Martha
attr Fahrstuhl room Flur
attr Fahrstuhl sortby 07
attr Fahrstuhl wait 0,25:\
1:\
0,25:\
0:\
\

#   DEF        ([MCP6_A7] eq "off" and [MCP6_A5] eq "on") ## Wenn Martha unterwegs ist und der Fahrstuhl hoch fährt mache
# (define wait at +00:00:02 set Martha_1 stop) ## Pause ################ Aenderung 30.07.25
# (
# set Flur_Steckdose_Fahrstuhl cmd_1, ## Fahrstuhl ausschalten wenn die Fahrt zu lange dauert
# set Telegram msg Notabschaltung Fahrstuhl fahrt hoch
# )
#
#DOELSEIF
#
#([MCP6_A7] eq "off" and [MCP6_A5:"off"]) ## Wenn Martha unterwegs ist und der Fahrtstuhl bleibt oben stehen mache
# (set Martha_1 start) ## Start
# (get Martha_1 data)
#
#DOELSEIF
#
#([MCP6_A7] eq "off" and [MCP6_A4] eq "on") ## Wenn Martha unterwegs ist und der Fahrstuhl fährt runter
# (set Martha_1 stop) ## Pause
# (
# set Flur_Steckdose_Fahrstuhl cmd_1, ## Fahrstuhl ausschalten wenn die Fahrt zu lange dauert
# set Telegram msg Notabschaltung Fahrstuhl fahrt runter
# )
#
#
#DOELSEIF
#
#([MCP6_A7] eq "off" and [MCP6_A4:"off"]) ## Wenn Martha unterwegs ist und der Fahrstuhl unten stehen bleibt mache
# (
# IF ([MCP6_A6] eq "on") (define wait at +00:00:05 set Flur_Steckdose_Fahrstuhl cmd_1), ## Steckdose Fahrstuhl ausschalten
# set FahrstuhlVerz cmd_2, ## Timer ausschalten
# ##IF ([$SELF:mode] eq "cleaning") (set Martha_1 start), ## Start wenn Martha noch Reinigt
# ##IF ([$SELF:mode] eq "return") (set Martha_1 charge) ## Home wenn Martha zur Ladestation fährt
# set Martha_1 charge, ######################## Aenderung 30.07.2025
# )
#
#
#
#DOELSEIF
#([Martha_1:"^run_state:.return.to.dock$"])
# (setreading $SELF mode return)
#
#DOELSEIF
#
#([Martha_1] =~ "cleaning" or [Martha_1] =~ "Mopping")
# (setreading $SELF mode cleaning)
#   FUUID      5fc1618d-f33f-134a-deda-8f0d989b9d743e31
#   MODEL      FHEM
#   NAME       Fahrstuhl
#   NOTIFYDEV  MCP6_A5,MCP6_A7,Martha_1,global,MCP6_A4
#   NR         271
#   NTFY_ORDER 50-Fahrstuhl
#   STATE      cmd_2
#   TYPE       DOIF
#   VERSION    31153 2026-04-27 14:40:49
#   eventCount 208
#   READINGS:
#     2026-08-12 20:49:07   Device          MCP6_A5
#     2026-08-12 20:49:08   cmd             2.2
#     2026-08-12 20:49:08   cmd_event       MCP6_A5
#     2026-08-12 20:49:08   cmd_nr          2
#     2026-08-12 20:49:08   cmd_seqnr       2
#     2026-08-12 20:26:16   e_MCP6_A4_STATE off
#     2026-08-12 20:26:16   e_MCP6_A4_events off
#     2026-08-12 20:49:07   e_MCP6_A5_STATE off
#     2026-08-12 20:49:07   e_MCP6_A5_events off
#     2026-08-12 20:22:45   e_MCP6_A7_STATE off
#     2026-07-28 16:34:40   e_Martha_1_STATE <table style= "
# border-spacing: 50px 41px;;
# border:solid;;
# color: black;;
# border-width: 4px 8px 8px 4px;;">
#<tr>
#    <th align="left" valign="left">&nbsp;&nbsp;Status</th>
#    <th align="right" valign="right">&nbsp;&nbsp;&nbsp;&nbsp;Fully charged &nbsp;&nbsp;</th>
#  </tr>
#    <tr>
#    <th align="left" valign="left">&nbsp;&nbsp;Batterie</th>
#    <th align="right" valign="right">100 %&nbsp;&nbsp;</th>
#   </tr>
#</table>
#     2026-07-28 16:34:40   e_Martha_1_events X_clean_time: 60,X_clean_area: 44.92
#     2026-08-12 20:49:08   error           get Martha_1 data: XiaomiDevice Martha_1 is disabled. Aborting...
#     2026-08-12 20:42:40   mode            enabled
#     2026-08-12 20:49:08   state           cmd_2
#     2026-08-12 20:49:08   wait_timer      no timer
#   Regex:
#     accu:
#     bar:
#     barAvg:
#     collect:
#     cond:
#       MCP6_A4:
#         0:
#         1:
#         2:
#           &STATE     ^MCP6_A4$
#         3:
#           &STATE     ^MCP6_A4$
#         4:
#         5:
#       MCP6_A5:
#         0:
#           &STATE     ^MCP6_A5$
#         1:
#           &STATE     ^MCP6_A5$
#         2:
#         3:
#         4:
#         5:
#       MCP6_A7:
#         0:
#           &STATE     ^MCP6_A7$
#         1:
#           &STATE     ^MCP6_A7$
#         2:
#           &STATE     ^MCP6_A7$
#         3:
#           &STATE     ^MCP6_A7$
#         4:
#         5:
#       Martha_1:
#         4:
#           &STATE     ^Martha_1$
#         5:
#           &STATE     ^Martha_1$
#   attr:
#     cmdState:
#     wait:
#       0:
#         0
#         25
#       1:
#         
#1
#       2:
#         
#0
#         25
#       3:
#         
#0
#       4:
#         
#
#
#     waitdel:
#   condition:
#     0          ::InternalDoIf($hash,'MCP6_A7','STATE') eq "off" and ::InternalDoIf($hash,'MCP6_A5','STATE') eq "on"
#     1          ::InternalDoIf($hash,'MCP6_A7','STATE') eq "off" and ::EventDoIf('MCP6_A5',$hash,'off',1)
#     2          ::InternalDoIf($hash,'MCP6_A7','STATE') eq "off" and ::InternalDoIf($hash,'MCP6_A4','STATE') eq "on"
#     3          ::InternalDoIf($hash,'MCP6_A7','STATE') eq "off" and ::EventDoIf('MCP6_A4',$hash,'off',1)
#     4          ::EventDoIf('Martha_1',$hash,'^run_state:.return.to.dock$',1)
#     5          ::InternalDoIf($hash,'Martha_1','STATE') =~ "cleaning" or ::InternalDoIf($hash,'Martha_1','STATE') =~ "Mopping"
#   do:
#     0:
#       0          define wait at +00:00:02 set Martha_1 stop
#       1            set Flur_Steckdose_Fahrstuhl cmd_1, set Telegram msg Notabschaltung Fahrstuhl fahrt hoch
#     1:
#       0          set Martha_1 start
#       1          get Martha_1 data
#     2:
#       0          set Martha_1 stop
#       1            set Flur_Steckdose_Fahrstuhl cmd_1, set Telegram msg Notabschaltung Fahrstuhl fahrt runter
#     3:
#       0            IF ([MCP6_A6] eq "on") (define wait at +00:00:05 set Flur_Steckdose_Fahrstuhl cmd_1), set FahrstuhlVerz cmd_2, set Martha_1 charge,
#     4:
#       0          setreading Fahrstuhl mode return
#     5:
#       0          setreading Fahrstuhl mode cleaning
#     6:
#   helper:
#     NOTIFYDEV  MCP6_A5,MCP6_A7,Martha_1,global,MCP6_A4
#     event      off
#     globalinit 1
#     last_timer 0
#     sleepdevice MCP6_A5
#     sleepsubtimer -1
#     sleeptimer -1
#     timerdev   MCP6_A5
#     timerevent off
#     triggerDev MCP6_A5
#     DOIF_eventa:
#       cmd_nr: 2
#       cmd_seqnr: 2
#       cmd_event: MCP6_A5
#       error: get Martha_1 data: XiaomiDevice Martha_1 is disabled. Aborting...
#       cmd_2
#     DOIF_eventas:
#       cmd_nr: 2
#       cmd_seqnr: 2
#       cmd_event: MCP6_A5
#       error: get Martha_1 data: XiaomiDevice Martha_1 is disabled. Aborting...
#       state: cmd_2
#     timerevents:
#       off
#     timereventsState:
#       state: off
#     triggerEvents:
#       off
#     triggerEventsState:
#       state: off
#   internals:
#     all         MCP6_A7:STATE MCP6_A5:STATE MCP6_A4:STATE Martha_1:STATE
#   perlblock:
#   readings:
#   trigger:
#     all         MCP6_A5 MCP6_A4 Martha_1
#   uiState:
#   uiTable:
#
setstate Fahrstuhl cmd_2
setstate Fahrstuhl 2026-08-12 20:49:07 Device MCP6_A5
setstate Fahrstuhl 2026-08-12 20:49:08 cmd 2.2
setstate Fahrstuhl 2026-08-12 20:49:08 cmd_event MCP6_A5
setstate Fahrstuhl 2026-08-12 20:49:08 cmd_nr 2
setstate Fahrstuhl 2026-08-12 20:49:08 cmd_seqnr 2
setstate Fahrstuhl 2026-08-12 20:26:16 e_MCP6_A4_STATE off
setstate Fahrstuhl 2026-08-12 20:26:16 e_MCP6_A4_events off
setstate Fahrstuhl 2026-08-12 20:49:07 e_MCP6_A5_STATE off
setstate Fahrstuhl 2026-08-12 20:49:07 e_MCP6_A5_events off
setstate Fahrstuhl 2026-08-12 20:22:45 e_MCP6_A7_STATE off
setstate Fahrstuhl 2026-07-28 16:34:40 e_Martha_1_STATE <table style= "\
border-spacing: 50px 41px;;;;\
border:solid;;;;\
color: black;;;;\
border-width: 4px 8px 8px 4px;;;;">\
<tr>\
    <th align="left" valign="left">&nbsp;;&nbsp;;Status</th>\
    <th align="right" valign="right">&nbsp;;&nbsp;;&nbsp;;&nbsp;;Fully charged &nbsp;;&nbsp;;</th>\
  </tr>\
    <tr>\
    <th align="left" valign="left">&nbsp;;&nbsp;;Batterie</th>\
    <th align="right" valign="right">100 %&nbsp;;&nbsp;;</th>\
   </tr>\
</table>
setstate Fahrstuhl 2026-07-28 16:34:40 e_Martha_1_events X_clean_time: 60,X_clean_area: 44.92
setstate Fahrstuhl 2026-08-12 20:49:08 error get Martha_1 data: XiaomiDevice Martha_1 is disabled. Aborting...
setstate Fahrstuhl 2026-08-12 20:42:40 mode enabled
setstate Fahrstuhl 2026-08-12 20:49:08 state cmd_2
setstate Fahrstuhl 2026-08-12 20:49:08 wait_timer no timer

und den I2C_MCP23017 MCP6
wenn ich das DOIF disable ist der Aufruf von allen MCP´s nicht mehr da.
Das scheinen mir irgend welche fiesen seiten Effekte zu sein.

Komisch ist nur das ich dieses Problem seit den update vor ca zwei Tagen habe.

Viele Grüsse

Stephan

Titel: Aw: readingsproxy nach update werden Events erzeugt die vorher nicht da waren
Beitrag von: Beta-User am 12 August 2026, 21:33:18
Keine Ahnung im Moment. Es gibt auch eine Testversion von vor einigen Wochen, weiß aber gerade nicht, was das damit gefixte Problem war...