repository to manage all files related to the makeathon farm bot project (Software + Documentation).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

defines.py 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. """
  2. created by caliskan at 19.04.2023
  3. contains all constants for the backend architecture of the smart garden project
  4. """
  5. MQTT_BROKER_LOCAL = "lorem ipsum"
  6. MQTT_BROKER_GLOBAL = "mqtt.eclipseprojects.io"
  7. RASPI_CLIENT_ID = "smart_farming_raspi"
  8. BACKEND_CLIENT_ID = "smart_farming_server"
  9. # Topics:
  10. Topics = {
  11. "ROBOT_ACTION_DRIVE": "ROBOT/ACTION/DRIVE",
  12. "ROBOT_ACTION_GETPOSITION": "ROBOT/ACTION/GETPOSITION",
  13. "ROBOT_ACTION_GETBATTERY": "ROBOT/ACTION/GETBATTERY",
  14. "ROBOT_DATA_SENSORDATA": "ROBOT/DATA/SENSORDATA",
  15. "ROBOT_DATA_BATTERY": "ROBOT/DATA/BATTERY",
  16. "ROBOT_DATA_POSITION": "ROBOT/DATA/POSITION",
  17. "ROBOT_DATA_PICTURE": "ROBOT/DATA/PICTURE",
  18. "BACKEND_ACTION_DRIVE": "BACKEND/ACTION/DRIVE",
  19. "BACKEND_ACTION_GETPOSITION": "BACKEND/ACTION/GETPOSITION",
  20. "BACKEND_ACTION_GETBATTERY": "BACKEND/ACTION/GETBATTERY",
  21. "BACKEND_ACTION_GETALLDATA": "BACKEND/ACTION/GETALLDATA",
  22. "BACKEND_DATA_SENSORDATA": "BACKEND/DATA/SENSORDATA",
  23. "BACKEND_DATA_SENSORDATAALL": "BACKEND/DATA/SENSORDATA_ALL",
  24. "BACKEND_DATA_POSITION": "BACKEND/DATA/POSITION",
  25. "BACKEND_DATA_BATTERY": "BACKEND/DATA/BATTERY",
  26. "BACKEND_DATA_PICTURE": "BACKEND/DATA/PICTURE"
  27. }