This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raymond Oung
committed
Aug 30, 2021
1 parent
0fbc421
commit 50ca857
Showing
8 changed files
with
62 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# MQTT Topics | ||
The following is a summary of MQTT topics used by this package. | ||
|
||
## Publish | ||
``` | ||
temi/{id}/command/move/turn_by | ||
temi/{id}/command/move/joystick | ||
temi/{id}/command/move/tilt | ||
temi/{id}/command/move/tilt_by | ||
temi/{id}/command/move/stop | ||
temi/{id}/command/follow/unconstrained | ||
temi/{id}/command/waypoint/goto | ||
temi/{id}/command/tts | ||
temi/{id}/command/media/video | ||
temi/{id}/command/media/webview | ||
``` | ||
|
||
## Subscribe | ||
``` | ||
temi/{id}/status/info | ||
temi/{id}/status/utils/battery | ||
temi/{id}/event/waypoint/goto | ||
temi/{id}/event/user/detection | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
python-dotenv | ||
paho-mqtt | ||
inputs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# pytemi/scripts | ||
Add a `.env` into this folder with the MQTT server parameters: | ||
Add a `.env` file to this folder with the MQTT server parameters: | ||
``` | ||
# MQTT server parameters | ||
MQTT_HOST="HOSTNAME" | ||
MQTT_PORT="PORT" | ||
MQTT_USERNAME="USERNAME" | ||
MQTT_PASSWORD="PASSWORD" | ||
MQTT_HOST="<mqtt-broker-hostname>" | ||
MQTT_PORT="<mqtt-broker-port>" | ||
MQTT_USERNAME="<mqtt-broker-username>" | ||
MQTT_PASSWORD="<mqtt-broker-password>" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters