mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 08:28:23 +01:00
update cli and remove target temp to 0 at fermenterstep end
This commit is contained in:
parent
580bdd899a
commit
a503995d98
4 changed files with 6 additions and 6 deletions
|
@ -1 +1 @@
|
||||||
__version__ = "4.0.2.0.a5"
|
__version__ = "4.0.2.0.a6"
|
||||||
|
|
|
@ -339,7 +339,7 @@ def create():
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.argument('name')
|
@click.argument('name')
|
||||||
def autostart(name):
|
def autostart(name):
|
||||||
'''Enable or disable autostart'''
|
'''(on|off|status) Enable or disable autostart'''
|
||||||
if(name == "status"):
|
if(name == "status"):
|
||||||
if os.path.exists(os.path.join("/etc/systemd/system","craftbeerpi.service")) is True:
|
if os.path.exists(os.path.join("/etc/systemd/system","craftbeerpi.service")) is True:
|
||||||
print("CraftBeerPi Autostart is {}ON{}".format(Fore.LIGHTGREEN_EX,Style.RESET_ALL))
|
print("CraftBeerPi Autostart is {}ON{}".format(Fore.LIGHTGREEN_EX,Style.RESET_ALL))
|
||||||
|
@ -391,7 +391,7 @@ def autostart(name):
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.argument('name')
|
@click.argument('name')
|
||||||
def chromium(name):
|
def chromium(name):
|
||||||
'''Enable or disable autostart'''
|
'''(on|off|status) Enable or disable Kiosk mode'''
|
||||||
if(name == "status"):
|
if(name == "status"):
|
||||||
if os.path.exists(os.path.join("/etc/xdg/autostart/","chromium.desktop")) is True:
|
if os.path.exists(os.path.join("/etc/xdg/autostart/","chromium.desktop")) is True:
|
||||||
print("CraftBeerPi Chromium Desktop is {}ON{}".format(Fore.LIGHTGREEN_EX,Style.RESET_ALL))
|
print("CraftBeerPi Chromium Desktop is {}ON{}".format(Fore.LIGHTGREEN_EX,Style.RESET_ALL))
|
||||||
|
|
|
@ -208,7 +208,7 @@ class PluginController():
|
||||||
result.append({row: meta[row]
|
result.append({row: meta[row]
|
||||||
for row in list(metadata(key))})
|
for row in list(metadata(key))})
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("FAILED to load plugin {} ".fromat(key))
|
logger.error("FAILED to load plugin {} ".format(key))
|
||||||
logger.error(e)
|
logger.error(e)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
@ -75,7 +75,7 @@ class FermenterTargetTempStep(CBPiFermentationStep):
|
||||||
|
|
||||||
async def on_timer_done(self,timer):
|
async def on_timer_done(self,timer):
|
||||||
self.summary = ""
|
self.summary = ""
|
||||||
self.fermenter.target_temp = 0
|
#self.fermenter.target_temp = 0
|
||||||
await self.push_update()
|
await self.push_update()
|
||||||
if self.AutoMode == True:
|
if self.AutoMode == True:
|
||||||
await self.setAutoMode(False)
|
await self.setAutoMode(False)
|
||||||
|
@ -173,7 +173,7 @@ class FermenterStep(CBPiFermentationStep):
|
||||||
|
|
||||||
async def on_timer_done(self,timer):
|
async def on_timer_done(self,timer):
|
||||||
self.summary = ""
|
self.summary = ""
|
||||||
self.fermenter.target_temp = 0
|
#self.fermenter.target_temp = 0
|
||||||
if self.AutoMode == True:
|
if self.AutoMode == True:
|
||||||
await self.setAutoMode(False)
|
await self.setAutoMode(False)
|
||||||
#self.endtime = 0
|
#self.endtime = 0
|
||||||
|
|
Loading…
Reference in a new issue