Update to READ.ME
parent
8f04881c53
commit
1e98a6d73b
|
|
@ -4,6 +4,8 @@ A highly customisable state machine driven user interface that will communicate
|
||||||
|
|
||||||
Amaze your friends by controlling your robot, your house or any other BLE device from your watch!
|
Amaze your friends by controlling your robot, your house or any other BLE device from your watch!
|
||||||
|
|
||||||
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/acQxcoFe0W0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||||
|
|
||||||
To keep the messages small, commands are sent from the Controller to the BLE target in a text string. This is made up of a comma delimited string of the following elements:
|
To keep the messages small, commands are sent from the Controller to the BLE target in a text string. This is made up of a comma delimited string of the following elements:
|
||||||
* message number (3 characters)
|
* message number (3 characters)
|
||||||
* screen name (3 characters)
|
* screen name (3 characters)
|
||||||
|
|
@ -12,7 +14,8 @@ To keep the messages small, commands are sent from the Controller to the BLE tar
|
||||||
|
|
||||||
The combination of these variables will uniquely identify the status change requested from the watch to the target device that can then be programmed to respond appropriately.
|
The combination of these variables will uniquely identify the status change requested from the watch to the target device that can then be programmed to respond appropriately.
|
||||||
|
|
||||||
Gordon Williams' EspruinoHub is an excellent way to transform BLE advertisements into MQTT messages for further processing.
|
Gordon Williams' EspruinoHub is an excellent way to transform thse BLE advertisements into MQTT messages for further processing. They can be subscribed to via the following MQTT topic (change the watchaddress, to the MAC address of your Bangle.js)
|
||||||
|
/ble/advertise/wa:tc:ha:dd:re:ss/espruino/#
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
@ -25,9 +28,11 @@ Most changes are possible via data, rather than code change.
|
||||||
The default package contains three configurations:
|
The default package contains three configurations:
|
||||||
* a simple home light and sockets controller UI (app.js)
|
* a simple home light and sockets controller UI (app.js)
|
||||||
* a robot controller UI with joystick (app-joy.js)
|
* a robot controller UI with joystick (app-joy.js)
|
||||||
* a simple static assistant controller (app-ass.js)
|
* a simple static assistant controller (app-ex2.js)
|
||||||
|
|
||||||
You can try out the other configurations by deleting app.js and renaming the file you want to app.js.
|
You can try out the other configurations by deleting app.js and renaming the file you want to try as app.js.
|
||||||
|
|
||||||
|
I have tested out the application to as many as eight screens without problems, but four screens are usually enough for most situations.
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|
||||||
|
|
@ -37,7 +42,7 @@ I have used the convention of red/green for buttons that are switches and blue b
|
||||||
|
|
||||||
## Requests
|
## Requests
|
||||||
|
|
||||||
In the first instance, please consult my blog post on this application here.
|
In the first instance, please consult my blog post on this application [here](https://k9-build.blogspot.com/2020/05/controlling-k9-using-bluetooth-ble-from.html)
|
||||||
|
|
||||||
## Creator
|
## Creator
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue