mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-22 06:58:17 +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
|
@ -586,6 +586,11 @@ class FermentationController:
|
||||||
fermentersteps=self.get_fermenter_steps()
|
fermentersteps=self.get_fermenter_steps()
|
||||||
self.cbpi.ws.send(dict(topic=key, data=fermentersteps))
|
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:
|
async def call_action(self, id, action, parameter) -> None:
|
||||||
logging.info("FermenterStep Controller - call Action {} {}".format(id, action))
|
logging.info("FermenterStep Controller - call Action {} {}".format(id, action))
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue