Browse Source

TEST+

master
caliskanbi 1 year ago
parent
commit
a16c313a6c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      software/backend/data_functions.py

+ 2
- 2
software/backend/data_functions.py View File

"CurrentCount": mydatabase.plant_count(), "CurrentCount": mydatabase.plant_count(),
"MaxCount": MAX_PLANT_COUNT "MaxCount": MAX_PLANT_COUNT
} }
print("BACKEND_DATA_PLANTCOUNT SENDED DATA:" + str(count_payload))
client.publish(Topics["BACKEND_ACTION_PLANTCOUNT"], json.dumps(count_payload, indent=4))
print(type(json.dumps(count_payload)))
client.publish(Topics["BACKEND_ACTION_PLANTCOUNT"], json.dumps(count_payload))

Loading…
Cancel
Save