Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin no more updating beacon status #2

Open
chrispazz opened this issue Jan 24, 2018 · 1 comment
Open

Plugin no more updating beacon status #2

chrispazz opened this issue Jan 24, 2018 · 1 comment

Comments

@chrispazz
Copy link

Hello,
I am using latest domoticz beta version.
BLE Scanner is getting correct status from beacons (NUT2) but domoticz will no more update the status to ON.

2018-01-24 22:12:14.356 (BLE Presence) Protocol set to: 'None'.
2018-01-24 22:12:14.356 (BLE Presence) Received 51 bytes of data:
2018-01-24 22:12:14.356 (BLE Presence) 5b 22 62 65 61 63 6f 6e 22 2c 20 22 4c 69 76 69 6e 67 20 72 ["beacon",."Living.r
2018-01-24 22:12:14.356 (BLE Presence) 6f 6f 6d 22 2c 20 22 65 39 3a 39 64 3a 34 39 3a 35 61 3a 36 oom",."e9:9d:49:5a:6
2018-01-24 22:12:14.356 (BLE Presence) 31 3a 62 62 22 2c 20 2d 37 31 5d .. .. .. .. .. .. .. .. .. 1:bb",.-71]
2018-01-24 22:12:14.357 (BLE Presence) Calling message handler 'onMessage'.
2018-01-24 22:12:14.357 (BLE Presence) Update BLE Presence - Tag e9:9d:49:5a:61:bb: nValue 1 - sValue 100 - BatteryLevel 255
2018-01-24 22:12:14.357 (BLE Presence) e9:9d:49:5a:61:bb RSSI -71. Scanner: Living room
2018-01-24 22:12:14.357 (BLE Presence) Deallocating connection object 'UDP' (192.168.1.108:52767).
2018-01-24 22:12:15.059 (BLE Presence) Calling message handler 'onHeartbeat'.
2018-01-24 22:12:17.062 (BLE Presence) Calling message handler 'onHeartbeat'.
2018-01-24 22:12:17.614 (BLE Presence) Protocol set to: 'None'.
2018-01-24 22:12:17.614 (BLE Presence) Received 51 bytes of data:
2018-01-24 22:12:17.614 (BLE Presence) 5b 22 62 65 61 63 6f 6e 22 2c 20 22 4c 69 76 69 6e 67 20 72 ["beacon",."Living.r
2018-01-24 22:12:17.614 (BLE Presence) 6f 6f 6d 22 2c 20 22 64 65 3a 61 39 3a 66 65 3a 30 39 3a 65 oom",."de:a9:fe:09:e
2018-01-24 22:12:17.614 (BLE Presence) 63 3a 33 36 22 2c 20 2d 37 31 5d .. .. .. .. .. .. .. .. .. c:36",.-71]
2018-01-24 22:12:17.614 (BLE Presence) Calling message handler 'onMessage'.
2018-01-24 22:12:17.615 (BLE Presence) Update BLE Presence - Tag de:a9:fe:09:ec:36: nValue 1 - sValue 100 - BatteryLevel 255
2018-01-24 22:12:17.615 (BLE Presence) de:a9:fe:09:ec:36 RSSI -71. Scanner: Living room
2018-01-24 22:12:17.616 (BLE Presence) Deallocating connection object 'UDP' (192.168.1.108:52767).
2018-01-24 22:12:18.217 (BLE Presence) Protocol set to: 'None'.
2018-01-24 22:12:18.217 (BLE Presence) Received 51 bytes of data:
2018-01-24 22:12:18.217 (BLE Presence) 5b 22 62 65 61 63 6f 6e 22 2c 20 22 4c 69 76 69 6e 67 20 72 ["beacon",."Living.r
2018-01-24 22:12:18.217 (BLE Presence) 6f 6f 6d 22 2c 20 22 65 39 3a 39 64 3a 34 39 3a 35 61 3a 36 oom",."e9:9d:49:5a:6
2018-01-24 22:12:18.217 (BLE Presence) 31 3a 62 62 22 2c 20 2d 37 33 5d .. .. .. .. .. .. .. .. .. 1:bb",.-73]
2018-01-24 22:12:18.217 (BLE Presence) Calling message handler 'onMessage'.
2018-01-24 22:12:18.218 (BLE Presence) Update BLE Presence - Tag e9:9d:49:5a:61:bb: nValue 1 - sValue 100 - BatteryLevel 255
2018-01-24 22:12:18.219 (BLE Presence) e9:9d:49:5a:61:bb RSSI -73. Scanner: Living room
2018-01-24 22:12:18.219 (BLE Presence) Deallocating connection object 'UDP' (192.168.1.108:52767).
2018-01-24 22:12:19.072 (BLE Presence) Calling message handler 'onHeartbeat'.
2018-01-24 22:12:21.076 (BLE Presence) Calling message handler 'onHeartbeat'.
2018-01-24 22:12:22.078 (BLE Presence) Protocol set to: 'None'.
2018-01-24 22:12:22.078 (BLE Presence) Received 51 bytes of data:
2018-01-24 22:12:22.078 (BLE Presence) 5b 22 62 65 61 63 6f 6e 22 2c 20 22 4c 69 76 69 6e 67 20 72 ["beacon",."Living.r
2018-01-24 22:12:22.078 (BLE Presence) 6f 6f 6d 22 2c 20 22 65 39 3a 39 64 3a 34 39 3a 35 61 3a 36 oom",."e9:9d:49:5a:6
2018-01-24 22:12:22.078 (BLE Presence) 31 3a 62 62 22 2c 20 2d 38 31 5d .. .. .. .. .. .. .. .. .. 1:bb",.-81]
2018-01-24 22:12:22.078 (BLE Presence) Calling message handler 'onMessage'.
2018-01-24 22:12:22.079 (BLE Presence) Update BLE Presence - Tag e9:9d:49:5a:61:bb: nValue 1 - sValue 100 - BatteryLevel 255
2018-01-24 22:12:22.079 (BLE Presence) e9:9d:49:5a:61:bb RSSI -81. Scanner: Living room
2018-01-24 22:12:22.080 (BLE Presence) Deallocating connection object 'UDP' (192.168.1.108:52767).
2018-01-24 22:12:23.082 (BLE Presence) Calling message handler 'onHeartbeat'.
2018-01-24 22:12:25.085 (BLE Presence) Calling message handler 'onHeartbeat'.

@gumileeev
Copy link

gumileeev commented May 8, 2018

Аналогичная проблема, хотелось бы получить поддержку от автора. Версия domoticz 3.8153 (последняя стабильная).
Лог:

2018-05-09 00:38:43.749 (BLE Pink) Initialized version 0.0.2, author 'mrin'
2018-05-09 00:38:43.906 (BLE Lemon) Initialized version 0.0.2, author 'mrin'
2018-05-09 00:38:43.909 (BLE Pink) Debug log level set to: 'true'.
2018-05-09 00:38:43.909 (BLE Pink) 'Mode1':'ff:ff:10:16:5e:f3|20'
2018-05-09 00:38:43.909 (BLE Pink) 'Port':'0'
2018-05-09 00:38:43.909 (BLE Pink) 'Author':'mrin'
2018-05-09 00:38:43.909 (BLE Pink) 'Mode6':'Debug'
2018-05-09 00:38:43.909 (BLE Pink) 'HomeFolder':'/home/pi/domoticz/plugins/bt-presence/'
2018-05-09 00:38:43.909 (BLE Pink) 'HardwareID':'9'
2018-05-09 00:38:43.909 (BLE Pink) 'Version':'0.0.2'
2018-05-09 00:38:43.909 (BLE Pink) 'Name':'BLE Pink'
2018-05-09 00:38:43.909 (BLE Pink) 'Mode2':'192.168.2.18:2221'
2018-05-09 00:38:43.909 (BLE Pink) 'Key':'bt-beacon-presence'
2018-05-09 00:38:43.909 (BLE Pink) Device count: 1
2018-05-09 00:38:43.909 (BLE Pink) Device: 1 - ID: 72, Name: 'BLE Pink', nValue: 0, sValue: '0'
2018-05-09 00:38:43.909 (BLE Pink) Device ID: '72'
2018-05-09 00:38:43.909 (BLE Pink) Device Name: 'BLE Pink'
2018-05-09 00:38:43.909 (BLE Pink) Device nValue: 0
2018-05-09 00:38:43.909 (BLE Pink) Device sValue: '0'
2018-05-09 00:38:43.909 (BLE Pink) Device LastLevel: 0
2018-05-09 00:38:43.915 (BLE Lemon) Debug log level set to: 'true'.
2018-05-09 00:38:43.916 (BLE Lemon) 'Mode1':'ff:ff:10:15:f3:82|20'
2018-05-09 00:38:43.916 (BLE Lemon) 'Port':'0'
2018-05-09 00:38:43.916 (BLE Lemon) 'Author':'mrin'
2018-05-09 00:38:43.916 (BLE Lemon) 'Mode6':'Debug'
2018-05-09 00:38:43.916 (BLE Lemon) 'HomeFolder':'/home/pi/domoticz/plugins/bt-presence/'
2018-05-09 00:38:43.916 (BLE Lemon) 'HardwareID':'10'
2018-05-09 00:38:43.916 (BLE Lemon) 'Version':'0.0.2'
2018-05-09 00:38:43.916 (BLE Lemon) 'Name':'BLE Lemon'
2018-05-09 00:38:43.916 (BLE Lemon) 'Mode2':'192.168.2.18:2221'
2018-05-09 00:38:43.916 (BLE Lemon) 'Key':'bt-beacon-presence'
2018-05-09 00:38:43.916 (BLE Lemon) Device count: 1
2018-05-09 00:38:43.916 (BLE Lemon) Device: 2 - ID: 87, Name: 'BLE Lemon - Tag ff:ff:10:15:f3:82', nValue: 0, sValue: '0'
2018-05-09 00:38:43.916 (BLE Lemon) Device ID: '87'
2018-05-09 00:38:43.916 (BLE Lemon) Device Name: 'BLE Lemon - Tag ff:ff:10:15:f3:82'
2018-05-09 00:38:43.916 (BLE Lemon) Device nValue: 0
2018-05-09 00:38:43.916 (BLE Lemon) Device sValue: '0'
2018-05-09 00:38:43.916 (BLE Lemon) Device LastLevel: 0
2018-05-09 00:38:43.920 (BLE Pink) Protocol set to: 'None'.
2018-05-09 00:38:43.921 (BLE Pink) Transport set to: 'UDP/IP', 127.0.0.1:2221.
2018-05-09 00:38:43.921 (BLE Pink) Listen directive received, action initiation failed.
2018-05-09 00:38:43.921 (BLE Pink) Heartbeat interval set to: 2.
2018-05-09 00:38:43.921 (BLE Lemon) Protocol set to: 'None'.
2018-05-09 00:38:43.921 (BLE Lemon) Transport set to: 'UDP/IP', 127.0.0.1:2221.
2018-05-09 00:38:43.921 (BLE Lemon) Listen directive received, action initiation failed.
2018-05-09 00:38:43.921 (BLE Lemon) Heartbeat interval set to: 2.
2018-05-09 00:38:53.287 (BLE Pink) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:53.438 (BLE Lemon) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:55.291 (BLE Pink) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:55.442 (BLE Lemon) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:57.295 (BLE Pink) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:57.446 (BLE Lemon) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:59.299 (BLE Pink) Calling message handler 'onHeartbeat'.
2018-05-09 00:38:59.450 (BLE Lemon) Calling message handler 'onHeartbeat'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants