[gelöst] structure Aktualisiert sich nicht mehr

Begonnen von Thoffi1978, 26 Juli 2017, 00:31:38

Vorheriges Thema - Nächstes Thema

Thoffi1978

Hallo,
Ich habe ein "Structure" angelegt um zu sehen ob eines der Geräte im Netzwerk sich befinden.
Seit graumer Zeit funktioniert dies aber nicht mehr.
Könnt Ihr mir vielleicht weiterhelfen, bzw, sagen woran das liegt.

Alle Geräte sind Absent. Trotzdem wird der state nicht geändet.
Anbei die List.:

Internals:
   ATTR       room
   CHANGEDCNT 0
   DEF        room Coolstream Petra_Handy Torsten_Handy
   NAME       handy_da
   NR         141
   NTFY_ORDER 50-handy_da
   STATE      statusRequest
   TYPE       structure
   CONTENT:
     Coolstream 1
     Petra_Handy 1
     Torsten_Handy 1
   READINGS:
     2017-07-20 15:28:53   LastDevice      Coolstream
     2017-07-20 15:28:53   LastDevice_Abs  Coolstream
     2017-07-25 21:41:35   state           statusRequest
Attributes:
   clientstate_behavior relative
   clientstate_priority present absent
   event-on-update-reading 1
   room       Steckdosen


Probably associated with
Coolstream
absent
PRESENCE
Petra_Handy
absent
PRESENCE
SchlafZi_hinten
cmd_2
DOIF
Torsten_Handy
absent
PRESENCE
di_handy_da
cmd_1
DOIF


Vielen Dank
Hoffi

amenomade

Haben die DOIFs ein attr <doidname> handy_da_map?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

Thoffi1978

Hallo,
Nein. Nicht das ich das sehe.
Anbei die List der beiden DoIf´s

di_Handy_da:
Internals:
   DEF        ([15:00-21:00] and [handy_da] eq "present" and [Helligkeit:state] < 50)  (set Schalter7 on)
DOELSEIF
([handy_da] eq "absent" or [Helligkeit:state] > 80)  (set Schalter7 off)
   NAME       di_handy_da
   NR         143
   NTFY_ORDER 50-di_handy_da
   STATE      cmd_2
   TYPE       DOIF
   READINGS:
     2017-07-26 07:31:23   Device          Helligkeit
     2017-07-26 07:07:43   cmd             2
     2017-07-26 07:07:43   cmd_event       Helligkeit
     2017-07-26 07:07:43   cmd_nr          2
     2017-07-26 07:31:23   e_Helligkeit_state 188.7
     2017-07-15 00:03:08   e_handy_da_STATE present
     2017-07-26 07:07:43   state           cmd_2
     2017-07-25 21:45:20   timer_01_c01    26.07.2017 15:00:00
     2017-07-25 21:45:20   timer_02_c01    26.07.2017 21:00:00
     2017-07-26 07:07:43   wait_timer      no timer
   condition:
     0          DOIF_time($hash,0,1,$wday,$hms) and InternalDoIf($hash,'handy_da','STATE') eq "present" and ReadingValDoIf($hash,'Helligkeit','state') < 50
     1          InternalDoIf($hash,'handy_da','STATE') eq "absent" or ReadingValDoIf($hash,'Helligkeit','state') > 80
   days:
   devices:
     0           handy_da Helligkeit
     1           handy_da Helligkeit
     all         handy_da Helligkeit
   do:
     0:
       0          set Schalter7 on
     1:
       0          set Schalter7 off
     2:
   helper:
     event      188.7
     globalinit 1
     last_timer 2
     sleepdevice Helligkeit
     sleepsubtimer -1
     sleeptimer -1
     timerdev   Helligkeit
     timerevent 188.7
     triggerDev Helligkeit
     timerevents:
       188.7
     timereventsState:
       state: 188.7
     triggerEvents:
       188.7
     triggerEventsState:
       state: 188.7
   internals:
     0           handy_da:STATE
     1           handy_da:STATE
     all         handy_da:STATE
   interval:
     0          -1
     1          0
   itimer:
   localtime:
     0          1501074000
     1          1501095600
   readings:
     0           Helligkeit:state
     1           Helligkeit:state
     all         Helligkeit:state
   realtime:
     0          15:00:00
     1          21:00:00
   regexp:
     0:
     1:
     all:
   state:
     STATE:
   time:
     0          15:00:00
     1          21:00:00
   timeCond:
     0          0
     1          0
   timer:
     0          0
     1          0
   timers:
     0           0  1
   trigger:
   triggertime:
     1501074000:
       localtime  1501074000
       hash:
     1501095600:
       localtime  1501095600
       hash:
Attributes:
   room       Steckdosen
   wait       160:500


test_an_aus:
Internals:
   DEF        ( [Schlaf_Heizung:actuator:d] > 10 and [Coolstream] eq "absent") (set Schalter7 off)
DOELSE
()
   NAME       test_an_aus
   NR         257
   NTFY_ORDER 50-test_an_aus
   STATE      deactivated
   TYPE       DOIF
   READINGS:
     2017-07-25 21:45:16   state           deactivated
   condition:
   do:
     0:
Attributes:
   disable    1

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Thoffi1978

Guten Morgen.

die zu überwachenden Geräte haben
userattr    room_map structexclude
und auch
event-on-update-reading 1

handy_da hat auch event-on-update-reading 1

Muss da das Attribut verändert werden.
Das hat bis zum 20.7 funktioniert. Da wurde PRESENCE.pm u.a. aktualisiert. Ich habe aber kein extra Hinweis unter
"New entries in the CHANGED file:"
gefunden.

Hoffi

CoolTux

Ich bezweifel ganz stark das das jemals funktioniert hat.
event-on-update-reading 1

Bedeutet nur das Reading 1 soll bei einem update ein Event auslösen. Hast Du ein Reading 1. Ich denke nicht, daher keine Events, strukture arbeitet mit Events, daher keine structure Aktuallisierung.
Nimm mal bei den handys das event-on raus und genauso bei der structure auch.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Thoffi1978

Hallo CoolTux,

ohne das Attribut funktionierts.
Wenn ich das Attribut event-on-update-reading 1 in handy_da lösche, ist es auch bei den einzelnen Geräten nicht mehr zu sehen.

Vielen Dank für die super schnelle Hilfe hier.

Hoffi

CoolTux

Das ist richtig. Du hast es sicherlich mal nur bei der structure gesetzt. structure vererbt Attribute, und somit bei Dir auch das falsch gesetzte.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Thoffi1978

Alles klar.

Vielen Dank für die schnelle Hilfe.

Danke.