12345678910111213141516171819202122232425262728293031323334 |
- """
- created by caliskan at 19.04.2023
-
- contains all constants for the backend architecture of the smart garden project
- """
-
- MQTT_BROKER_LOCAL = "lorem ipsum"
- MQTT_BROKER_GLOBAL = "mqtt.eclipseprojects.io"
- RASPI_CLIENT_ID = "smart_farming_raspi"
- BACKEND_CLIENT_ID = "smart_farming_server"
-
- # Topics:
- Topics = {
- "ROBOT_ACTION_DRIVE": "ROBOT/ACTION/DRIVE",
- "ROBOT_ACTION_GETPOSITION": "ROBOT/ACTION/GETPOSITION",
- "ROBOT_ACTION_GETBATTERY": "ROBOT/ACTION/GETBATTERY",
-
- "ROBOT_DATA_SENSORDATA": "ROBOT/DATA/SENSORDATA",
- "ROBOT_DATA_BATTERY": "ROBOT/DATA/BATTERY",
- "ROBOT_DATA_POSITION": "ROBOT/DATA/POSITION",
- "ROBOT_DATA_PICTURE": "ROBOT/DATA/PICTURE",
-
- "BACKEND_ACTION_DRIVE": "BACKEND/ACTION/DRIVE",
- "BACKEND_ACTION_GETPOSITION": "BACKEND/ACTION/GETPOSITION",
- "BACKEND_ACTION_GETBATTERY": "BACKEND/ACTION/GETBATTERY",
- "BACKEND_ACTION_GETALLDATA": "BACKEND/ACTION/GETALLDATA",
-
- "BACKEND_DATA_SENSORDATA": "BACKEND/DATA/SENSORDATA",
- "BACKEND_DATA_SENSORDATAALL": "BACKEND/DATA/SENSORDATA_ALL",
- "BACKEND_DATA_POSITION": "BACKEND/DATA/POSITION",
- "BACKEND_DATA_BATTERY": "BACKEND/DATA/BATTERY",
- "BACKEND_DATA_PICTURE": "BACKEND/DATA/PICTURE"
-
- }
|