FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: The Spirit am 13 Juni 2016, 10:14:01

Titel: Notify löst nicht aus?
Beitrag von: The Spirit am 13 Juni 2016, 10:14:01
Hi.
Kann mir jemand sagen, warum das notify nicht auslöst?
Im Event Monitor und im Log sehe ich auch kein auslösen des notify.
Hier der Codeteil.
define Shell HTTPMOD http://www.clever-tanken.de/tankstelle_details/4871 10
attr Shell userattr reading01Expr reading01Name reading01Regex reading02Name reading02Regex
attr Shell enableControlSet 1
attr Shell event-on-update-reading state
attr Shell group Spritpreise
attr Shell icon tanken
attr Shell reading01Expr $val + 0.009
attr Shell reading01Name Diesel
attr Shell reading01Regex <span>Diesel</span>[^0-9]+([0-9\.]+)
attr Shell reading02Name SuperE5
attr Shell reading02Regex <span>Super E5</span>[^0-9]+([0-9\.]+)
attr Shell room Spritpreise
attr Shell stateFormat Liter_Diesel: Diesel
attr Shell timeout 5

define n_Shell notify Shell:.* {UDP_Msg("192.168.1.1" , "7000", "Shell:$EVENT")}

Danke
Titel: Antw:Notify löst nicht aus?
Beitrag von: marvin78 am 13 Juni 2016, 10:22:39
Wieso solltest du im Event-Monitor auch ein "auslösen des notifys" sehen? Im Eventmonitor siehst du Events, wie der Name sagt.

Du hast ein

event-on-update-reading state

Hat denn dein httmpod überhaupt ein Reading state?

Demnächst bitte ein list vom Device posten. Eine Kopie aus der Config ist wenig hilfreich. Bitte auch die angepinnten Beiträge lesen, damit du weißt, was wichtig ist.

Ach und Bitte (UDP_Msg)!  ::)