kw123 wrote:is there a line with http ... in the debug log?
This is on the Pi
20170617-21:45:43 msg: ['/usr/bin/curl', '-u', u'Simon:xxxxxx', '--digest', '-X', 'PUT', '-d', 'value={"pi":"0","sensors":{"BLEconnect":{"1428643960":{"BC:54:36:1E:68:B2":{"txPower":-999,"signal":-999}}}},"program":"BLEconnect","ipAddress":"192.168.0.23","ts":"1497732343=BST"}', u'http://192.168.0.138:8176/variables/pi_IN_0']
20170617-21:46:59 timeout -s SIGINT 10s hcitool cc A4:67:06:36:7C:92; hcitool rssi A4:67:06:36:7C:92; hcitool tpl A4:67:06:36:7C:92
20170617-21:46:59 A4:67:06:36:7C:92 1. try ret: --- err>>Can't create connection: Connection timed out
Read RSSI failed: Input/output error
HCI read transmit power level request failed: Input/output error<<
20170617-21:46:59 timeout -s SIGINT 10s hcitool cc BC:54:36:1E:68:B2; hcitool rssi BC:54:36:1E:68:B2; hcitool tpl BC:54:36:1E:68:B2
20170617-21:46:59 BC:54:36:1E:68:B2 1. try ret: --- err>>Read RSSI failed: Input/output error
HCI read transmit power level request failed: Input/output error<<
20170617-21:47:06 timeout -s SIGINT 10s hcitool cc A4:67:06:36:7C:92; hcitool rssi A4:67:06:36:7C:92; hcitool tpl A4:67:06:36:7C:92
20170617-21:47:06 A4:67:06:36:7C:92 1. try ret: RSSI return value: -26
Current transmit power level: 12 --- err>><<
20170617-21:47:06 msg: ['/usr/bin/curl', '-u', u'Simon:xxxxxx', '--digest', '-X', 'PUT', '-d', 'value={"pi":"0","sensors":{"BLEconnect":{"1871373428":{"A4:67:06:36:7C:92":{"txPower":12,"signal":-26}}}},"program":"BLEconnect","ipAddress":"192.168.0.23","ts":"1497732426=BST"}', u'http://192.168.0.138:8176/variables/pi_IN_0']
20170617-21:48:28 timeout -s SIGINT 10s hcitool cc A4:67:06:36:7C:92; hcitool rssi A4:67:06:36:7C:92; hcitool tpl A4:67:06:36:7C:92
20170617-21:48:28 A4:67:06:36:7C:92 1. try ret: RSSI return value: -27
Current transmit power level: 12 --- err>><<
20170617-21:48:28 msg: ['/usr/bin/curl', '-u', u'Simon:xxxxxx', '--digest', '-X', 'PUT', '-d', 'value={"pi":"0","sensors":{"BLEconnect":{"1871373428":{"A4:67:06:36:7C:92":{"txPower":12,"signal":-27}}}},"program":"BLEconnect","ipAddress":"192.168.0.23","ts":"1497732508=BST"}', u'http://192.168.0.138:8176/variables/pi_IN_0']
20170617-21:48:33 timeout -s SIGINT 10s hcitool cc BC:54:36:1E:68:B2; hcitool rssi BC:54:36:1E:68:B2; hcitool tpl BC:54:36:1E:68:B2
20170617-21:48:33 BC:54:36:1E:68:B2 1. try ret: --- err>>Can't create connection: Input/output error
Not connected.
From what I can see above it looks to be not seeing my iPhone, theBC:54:36:1E:68:B2 address, which is correct as bluetooth has been off for 30 minutes, but the device still shows as up.
This is on debug log when I turn on the phone bluetooth
17 Jun 2017 22:01:50
WebServer request to set variable "pi_IN_Alive" value to "{"program":"master","i2c":[],"ipAddress":"192.168.0.23","pi":"0","ts":"1497733310=BST"}" from 192.168.0.23
WebServer request to set variable "pi_IN_0" value to "{"pi":"0","sensors":{"BLEconnect":{"1428643960":{"BC:54:36:1E:68:B2":{"txPower":12,"signal":-22}}}},"program":"BLEconnect","ipAddress":"192.168.0.23","ts":"1497733320=BST"}" from 192.168.0.23
piBeacon bleconenct data: {u'1428643960': {u'BC:54:36:1E:68:B2': {u'txPower': 12, u'signal': -22}}}
piBeacon BLEconnect 0 mac BC:54:36:1E:68:B2 -22.0 12.0
piBeacon dev Simon Iphone BLE
piBeacon rssi txP dist -22.0 12.0 50.1 -22.0
WebServer request to set variable "pi_IN_Alive" value to "{"program":"master","i2c":[],"ipAddress":"192.168.0.23","pi":"0","ts":"1497733326=BST"}" from 192.168.0.23