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 = "lorem ipsum"
  8. BACKEND_CLIENT_ID = "lorem ipsum"
  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. }