Closed LordJashin32 closed 4 years ago
Apr 25 01:12:13 r128rpi4 python3[5965]: number of current threads is 5
Apr 25 01:12:13 r128rpi4 python3[5965]: MainThread
Apr 25 01:12:13 r128rpi4 python3[5965]: Thread-6
Apr 25 01:12:13 r128rpi4 python3[5965]: Thread-7
Apr 25 01:12:13 r128rpi4 python3[5965]: Thread-8
Apr 25 01:12:13 r128rpi4 python3[5965]: Thread-9
Add disconnect message if possible
added disconnect message. Works on remote when I press disconnect button:
Apr 28 20:52:37 treehouses python3[4371]: 7D:B7 S - RPI4B
Apr 28 20:52:41 treehouses python3[4371]: 7D:B7 R treehouses detectrpi
Apr 28 20:52:41 treehouses python3[4371]: 7D:B7 S - RPI4B
Apr 28 20:52:42 treehouses python3[4371]: 7D:B7 R treehouses detectrpi
Apr 28 20:52:42 treehouses python3[4371]: 7D:B7 S - RPI4B
Apr 28 20:52:43 treehouses python3[4371]: 7D:B7 R docker ps
Apr 28 20:52:44 treehouses python3[4371]: 7D:B7 S - CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Apr 28 20:52:47 treehouses python3[4371]: 7D:B7 R treehouses remote version 2418
Apr 28 20:52:47 treehouses python3[4371]: treehouses remote version 2418
Apr 28 20:52:48 treehouses python3[4371]: 7D:B7 S - version: true
Apr 28 20:52:48 treehouses python3[4371]: 7D:B7 S - version: true
Apr 28 20:52:48 treehouses python3[4371]: 7D:B7 R treehouses remote check
Apr 28 20:52:49 treehouses python3[4371]: 7D:B7 S - dc:a6:32:54:ae:f7 release-128 1.19.8 RPI4B
Apr 28 20:52:49 treehouses python3[4371]: 7D:B7 R treehouses internet
Apr 28 20:52:50 treehouses python3[4371]: 7D:B7 S - true
Apr 28 20:52:50 treehouses python3[4371]: 7D:B7 R treehouses upgrade --check
Apr 28 20:52:54 treehouses python3[4371]: 7D:B7 S - false
Apr 28 20:53:08 treehouses python3[4371]: Disconnected from 64:BC:0C:E2:7D:B7
Apr 28 20:54:42 treehouses python3[4371]: Accepted connection from 64:BC:0C:E2:7D:B7
Apr 28 20:54:42 treehouses python3[4371]: Main thread waiting for connections
Apr 28 20:54:43 treehouses python3[4371]: 7D:B7 R treehouses remote version 2418
Apr 28 20:54:43 treehouses python3[4371]: 7D:B7 S - version: true
Apr 28 20:54:43 treehouses python3[4371]: 7D:B7 R treehouses remote check
Apr 28 20:54:44 treehouses python3[4371]: 7D:B7 S - dc:a6:32:54:ae:f7 release-128 1.19.8 RPI4B
Apr 28 20:54:44 treehouses python3[4371]: 7D:B7 R treehouses internet
Apr 28 20:54:45 treehouses python3[4371]: 7D:B7 S - true
Apr 28 20:54:45 treehouses python3[4371]: 7D:B7 R treehouses upgrade --check
Apr 28 20:54:54 treehouses python3[4371]: 7D:B7 S - false
Apr 28 20:54:54 treehouses python3[4371]: 7D:B7 S - Error when trying to run the command 'treehouses upgrade --check
Apr 28 20:54:54 treehouses python3[4371]: '
Apr 28 20:54:54 treehouses python3[4371]: Disconnected from 64:BC:0C:E2:7D:B7
Apr 28 20:55:04 treehouses python3[4371]: Accepted connection from 64:BC:0C:E2:7D:B7
Apr 28 20:55:04 treehouses python3[4371]: Main thread waiting for connections
Apr 28 20:55:04 treehouses python3[4371]: 7D:B7 R treehouses remote version 2418
Apr 28 20:55:05 treehouses python3[4371]: 7D:B7 S - version: true
Apr 28 20:55:06 treehouses python3[4371]: 7D:B7 R treehouses remote check
Apr 28 20:55:06 treehouses python3[4371]: 7D:B7 S - dc:a6:32:54:ae:f7 release-128 1.19.8 RPI4B
Apr 28 20:55:07 treehouses python3[4371]: 7D:B7 R treehouses internet
Apr 28 20:55:07 treehouses python3[4371]: 7D:B7 S - true
Apr 28 20:55:08 treehouses python3[4371]: 7D:B7 R treehouses upgrade --check
Apr 28 20:55:11 treehouses python3[4371]: 7D:B7 S - false
Apr 28 20:55:12 treehouses python3[4371]: Disconnected from 64:BC:0C:E2:7D:B7
Trial 1
/usr/local/bin/bluetooth-server.py
use
treehouses bluetooth restart
andjournalctl -u rpibluetooth -u bluetooth -f
To test