[ NUKI Smartlock ] 73_NUKIBridge.pm und 74_NUKDevice.pm

Begonnen von CoolTux, 18 Juli 2016, 23:50:11

Vorheriges Thema - Nächstes Thema

CoolTux

Ok das sieht super aus. Und nun bitte ein shutdown restart und dann schauen wir noch mal. nun sollte es gehen
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

samh

Ja, manuelle Betätigung wird erkannt und Status geändert...


2017.01.09 21:11:16 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:16 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:16 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:17 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:17 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:11:17 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:11:17 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":98978,"currentTime":"2017-01-09T20:11:21Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-75,"paired":true}]}
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:17 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:11:23 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:23 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:23 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:23 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:23 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:23 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:23 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:23 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:30 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:30 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:30 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:30 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:30 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:30 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:30 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:30 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:37 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:37 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:37 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:38 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:38 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:38 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:38 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:38 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:39 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:11:39 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:11:39 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:11:39 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":98996,"currentTime":"2017-01-09T20:11:43Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-75,"paired":true}]}
2017.01.09 21:11:39 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:39 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:39 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:11:44 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:44 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:44 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:44 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:44 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:44 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:44 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:44 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:51 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:51 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:51 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:51 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:51 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:51 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:51 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:51 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:58 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:11:58 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:11:58 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:11:58 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:11:58 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:11:58 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:11:58 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:11:58 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:03 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:03 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:12:03 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:03 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":99010,"currentTime":"2017-01-09T20:12:07Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-76,"paired":true}]}
2017.01.09 21:12:03 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:03 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:03 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:12:05 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:05 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:05 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:05 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:05 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:05 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:05 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:05 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:12 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:12 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:12 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:12 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:12 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:12 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:12 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:12 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:19 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:19 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:19 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:20 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:20 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:20 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:20 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:20 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:24 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:24 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:12:24 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:24 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":99017,"currentTime":"2017-01-09T20:12:28Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-76,"paired":true}]}
2017.01.09 21:12:24 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:24 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:24 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:12:26 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:26 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:26 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:27 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:27 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:27 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:27 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:27 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:33 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:33 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:33 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:33 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:33 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:33 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:33 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:33 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:39 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:39 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:12:39 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:12:39 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":99020,"currentTime":"2017-01-09T20:12:43Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-78,"paired":true}]}
2017.01.09 21:12:39 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:39 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:39 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:12:40 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:40 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:40 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:40 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:40 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:40 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:40 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:40 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:47 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:47 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:47 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:47 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:47 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:47 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:47 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:47 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:54 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:12:54 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:12:54 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:12:54 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:12:54 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:12:54 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:12:54 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:12:54 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:13:01 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:01 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:01 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:02 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:13:02 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:02 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:02 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:02 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:13:04 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:13:04 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:13:04 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:13:04 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":99037,"currentTime":"2017-01-09T20:13:09Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-77,"paired":true}]}
2017.01.09 21:13:04 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:04 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:04 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:13:08 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:08 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:08 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:09 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:13:09 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:09 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:09 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:09 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":1,"stateName":"locked","batteryCritical":false}}]
2017.01.09 21:13:15 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:15 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:15 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:15 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:15 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:15 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:15 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:15 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:22 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:22 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:22 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:23 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:23 4: NUKIBridge (NBridge1) - NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:13:23 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/info?token=YYYYYYYYYYY
2017.01.09 21:13:23 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_GetCheckBridgeAlive
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response JSON: {"bridgeType":2,"ids":{"serverId":ZZZZZZZZZ},"versions":{"appVersion":"0.2.14"},"uptime":99048,"currentTime":"2017-01-09T20:13:27Z","serverConnected":true,"scanResults":[{"nukiId":CCCCCCC,"name":"Nuki_ABABABAB","rssi":-76,"paired":true}]}
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:23 5: NUKIBridge (NBridge1) - Bridge ist online
2017.01.09 21:13:29 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:29 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:29 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:29 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:29 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:29 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:29 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:29 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:36 4: NUKIBridge (NBridge1) - NUKIBridge_LockStateTimer
2017.01.09 21:13:36 4: NUKIBridge (NBridge1) - Send HTTP POST with URL http://192.168.XXX.XXX:8080/list?token=YYYYYYYYYYY
2017.01.09 21:13:36 4: NUKIBridge (NBridge1) - Call InternalTimer for NUKIBridge_LockStateTimer
2017.01.09 21:13:36 5: NUKIBridge (NBridge1) - Response JSON: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]
2017.01.09 21:13:36 5: NUKIBridge (NBridge1) - Response ERROR:
2017.01.09 21:13:36 5: NUKIBridge (NBridge1) - Response CODE: 200
2017.01.09 21:13:36 4: NUKIDevice (NUKIDeviceCCCCCCC) - Received LockState for matching NukiID CCCCCCC at device NUKIDeviceCCCCCCC
2017.01.09 21:13:36 5: NUKIBridge (NBridge1) - Run NUKIBridge_LockStateResponse with Path:list and JSON-Data: [{"nukiId":CCCCCCC,"name":"HT vorn","lastKnownState":{"nukiId":CCCCCCC,"state":3,"stateName":"unlocked","batteryCritical":false}}]


Schalten mit  Fhem geschieht zeitnah und Status wird auch upgedated. SUPER !
Sieht so aus, als ob das Ziel erreicht sei. Danke Dir Leon !

Gruß Sam

CoolTux

Bitte versuche es intensiv zu testen. Wäre wichtig. Wenn Ende der Woche nichts schlimmes dazwischen kommt können wir es gerne offiziell machen  ;D

Vielen Dank fürs fleißige testen.
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

samh


CoolTux

Ich habe gerade erfahren das Callbacks auch mit der Software Bridge gehen sollen. Werde mal versuchen damit zu testen.
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

CoolTux

Ok ich glaube wir sind da etwas zu schnell vorgeprecht  ;D
Eigentlich sollte bereits alles super mit der aktuellen in FHEM befindlichen Version funktionieren. Man muß nur die Callbacks einrichten. Ich werde für heute Abend mal eine Version fertig machen wo das für die Softwarebridge wieder geht und dann kann Sam bitte mal versuchen zu testen.
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

CoolTux

#621
Ich habe da mal angepasste Versionen fertig gemacht.

Sam Du musst nur die Callbacks einrichten. Und dann das Schloß mit der App schalten.
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

samh

Ja hallo,

das sind ja tolle Nachrichten. Deine Infos kommen sicher aus besser informierten Kreisen,
denn die API 1.3 Doku behauptet ja, "Callbacks are not yet available on the software bridge".

Bezüglich der Callbacks muß ich mich noch reindenken. Hoffe das klappt.

Gruß Sam



CoolTux

#623
Ja deswegen war ich ja auch der Überzeugung. Die Info kommt direkt von Nuki. Die Unterstützung soll wohl seit Weihnachten für die Softwarebridge vorhanden sein.
Zitat
Kompatibilität zu HTTP-API 1.3 wurde vor Weihnachten mit der v0.2.14 released. Also ja, Callbacks gehen auch mit der Softwarebridge.
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

samh

hmm...

finde gerade keine hilfreiche Doku für die Callback-Einrichtung. Hast Du einen Tipp ?

Gruß Sam

CoolTux

Als erstes schaust mal mit get callBacks bei der Bridge ob was eingerichtet ist.

Wenn nichts eingerichtet ist dann gehe zum Smartlock Device und richte dort als Attribut den webhook ein. Danach noch mal getestet callBacks um zu schauen ob es geklappt hat.
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

samh

So schaut's nun aus:


Internals:
   DEF        77399938 IODev=NBridge1
   IODev      NBridge1
   NAME       NUKI_HT_vorn
   NR         524
   NUKIID     77399938
   STATE      unlocked
   TYPE       NUKIDevice
   VERSION    0.4.5patch2
   WEBHOOK_COUNTER 0
   WEBHOOK_PORT 8085
   WEBHOOK_REGISTER sent
   WEBHOOK_URI /fhem/NUKIDevice
   WEBHOOK_URL http://192.168.268.100:8085/fhem/NUKIDevice-77399938
   Readings:
     2017-01-10 18:06:01   battery         ok
     2017-01-10 18:06:01   batteryCritical false
     2017-01-10 18:06:01   lockState       unlocked
     2017-01-10 18:06:01   state           unlocked
     2017-01-10 18:06:01   success         true
   Fhem:
     infix      NUKIDevice
   Helper:
Attributes:
   IODev      NBridge1
   alias      HT vorn
   devStateIcon locked:secur_locked unlocked:secur_open unlatched:hue_room_other
   icon       hm_keymatic
   room       NUKI
   verbose    0
   webhookFWinstance NUKI
   webhookHttpHostname 192.168.268.100


Leider ändert sich bei einem manuellen Schließvorgang kein Status.
Was mach ich nicht richtig ?

Gruß Sam

CoolTux

Sieht gut ais. Was sagt ein get callBacks bei der Nuki Bridge?
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

samh

Antwort: 0       http://192.168.268.100:8085/fhem/NUKIDevice-77399938

WEB Instanz ist HTTP ohne Passwortabfrage.




CoolTux

Super. Jetzt bitte das Smartlock Device auf verbose 5 und dann mal mit App schalten und warten.
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