mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 14:38:15 +01:00
feasibility to update fermentersteps (not reqwuired yet)
This commit is contained in:
parent
db4e75525f
commit
b1dc05b209
1 changed files with 5 additions and 0 deletions
|
@ -585,6 +585,11 @@ class FermentationController:
|
|||
#logging.info("FERMENTERSTEPUPDATE {}".format(key))
|
||||
fermentersteps=self.get_fermenter_steps()
|
||||
self.cbpi.ws.send(dict(topic=key, data=fermentersteps))
|
||||
|
||||
#not yet required and too much mqtt traffic for all steps
|
||||
#for fermenter in fermentersteps:
|
||||
# for step in fermenter['steps']:
|
||||
# self.cbpi.push_update("cbpi/{}/{}/{}".format(key,fermenter['id'],step['id']), step)
|
||||
|
||||
async def call_action(self, id, action, parameter) -> None:
|
||||
logging.info("FermenterStep Controller - call Action {} {}".format(id, action))
|
||||
|
|
Loading…
Reference in a new issue