webclient finish, socket io finish, some changes in main

This commit is contained in:
derlole
2025-05-12 10:36:25 +00:00
parent 41b276c734
commit f7d9c3e8c7
11 changed files with 92 additions and 46 deletions

View File

@@ -1,4 +1,23 @@
# this function is processing the cyclic data from the esp format:
# [off_value/on_value]
# {
# # eingänge
# "an": [1/0],
# "bereit": [1/0],
# "fehler": [1/0],
# "bohnen_voll": [1/0],
# "Wasser_voll": [1/0],
#
# # ausgänge
# "einschalten": [0/1],
# "starten": [0/1],
#
# # status
# "kaffee_machen": [0/1],
# "vorbereitung": [0/1],
# "kaffee_fertig": [0/1],
# }
def refactor_and_use_esp_data(data):
return