BrewManiacEsp8266 icon indicating copy to clipboard operation
BrewManiacEsp8266 copied to clipboard

heat control heatWindowSize

Open felipeserta opened this issue 3 years ago • 7 comments

Nice new interface 0.5, how to update de htm file by hand? It does not appear at bm.local:8008/filemanager I changed calibration functiion in the code but I dont know how to change de htm now.

Small issue at ln 2107 that keep blinking primary heater SSR or relay once per cycle at max output 255.

if ((pidOutput / 255) * ((unsigned long)_heatWindowSize * 250) > now - _windowStartTime)

corrected if ((pidOutput / 255) * ((unsigned long)_heatWindowSize * 250) >= now - _windowStartTime)

Allways amazing work at BMEx

felipeserta avatar Jun 22 '21 14:06 felipeserta

It does not appear at bm.local:8008/filemanager I changed calibration functiion in the code but I dont know how to change de htm now. Im using esp32

felipeserta avatar Jun 22 '21 18:06 felipeserta

@felipeserta,

The html files are embedded in the code, this process is explained in issue #79. #

lekrom avatar Jun 23 '21 09:06 lekrom

@lekrom thanks! How did you run the script? Im using VScode +platformio and have no ideia. As commented in issue 79 looks like something in linux.

felipeserta avatar Jun 23 '21 11:06 felipeserta

Jip, It is a shell script. I ran it linux (Ubuntu) (had to change the shebang from #!/bin/sh to #!/bin/bash to get it to work). I believe the script will also run in IOS. On a linux system you can run the script from the normal terminal or the Platformio (vscode) terminal, both works. I read somewhere that you can run bash scripts in windows but need to install cygwin. I have not tried this though as I do all my coding on my linux machine.

lekrom avatar Jun 23 '21 13:06 lekrom

@lekrom Thanks a lot. I´m using Windows só i will look how to run those scripts. I think the web page in the code works better but I can paste the web page in spiffs and works fine also.

felipeserta avatar Jun 23 '21 14:06 felipeserta

I dont believe the webpage in spiffs is supported anymore.

lekrom avatar Jun 24 '21 04:06 lekrom

I dont believe the webpage in spiffs is supported anymore.

works not so well (also removed embbedded from BrewManiacEx.cpp), but my code has lots of modifications and features and I experience other problems. For now thinking about wait for a stable version and later try to upgrade to new version and esp32 also. Base code 0.5 works perfect in esp32 with minor corrections.

felipeserta avatar Jun 24 '21 14:06 felipeserta