Da ich mehrere Türmodule habe. schicke ich die Alive Bestätigung einfach zu einem anderen Modul was das dort auch bestätigt wird. Wenn ich es versuche an die Sendeadresse zurück zu schicken, kommt der Fehler.
Also der Aufruf ist von 192.168.176.161
http://door:pi@192.168.176.6:8080/control/trigger_event?event_name=OnKeyPressed_virtual.e2&event_source=doorpi.keyboard.from_filesystem
Code: doorpi.ini
[EVENT_OnKeyPressed_virtual.e2]
10 = sleep:0
20 = url_call:http://192.168.176.163:8080/dopirec?alive=on
Code: log
2020-02-27 23:03:34,778 [DEBUG] [doorpi.status.webserver_lib.request_handler_static_functions] {
"event_name": [
"OnKeyPressed_virtual.e2"
],
"event_source": [
"doorpi.keyboard.from_filesystem"
]
}
2020-02-27 23:03:34,800 [DEBUG] [doorpi.action.handler] [MWNH2G] fire for event OnKeyPressed_virtual.e2 this actions [<doorpi.action.SingleActions.sleep.SleepAction instance at 0xb2799828>, <doorpi.action.SingleActions.url_call.UrlCallAction instance at 0xb2799968>, <doorpi.action.SingleActions.sleep.SleepAction instance at 0xb27999b8>]
2020-02-27 23:03:34,808 [TRACE] [doorpi.action.handler] [MWNH2G] try to fire action SleepAction with args (0.0,) and kwargs {}
2020-02-27 23:03:34,815 [TRACE] [doorpi.action.base] run SleepAction with args (0.0,) and kwargs {}
2020-02-27 23:03:34,823 [TRACE] [doorpi.action.handler] [MWNH2G] try to fire action UrlCallAction with args () and kwargs {'url': 'http://192.168.176.163:8080/dopirec?alive=on'}
2020-02-27 23:03:34,831 [TRACE] [doorpi.action.base] run UrlCallAction with args () and kwargs {'url': 'http://192.168.176.163:8080/dopirec?alive=on'}
2020-02-27 23:03:34,953 [TRACE] [doorpi.action.handler] [MWNH2G] try to fire action SleepAction with args (0.0,) and kwargs {}
2020-02-27 23:03:34,961 [TRACE] [doorpi.action.base] run SleepAction with args (0.0,) and kwargs {}
2020-02-27 23:03:34,971 [TRACE] [doorpi.action.handler] [MWNH2G] finished fire_event for event_name OnKeyPressed_virtual.e2
Alles anzeigen