vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
155 stars 71 forks source link

heat control heatWindowSize #94

Open felipeserta opened 3 years ago

felipeserta commented 3 years ago

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 commented 3 years ago

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

lekrom commented 3 years ago

@felipeserta,

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

felipeserta commented 3 years ago

@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.

lekrom commented 3 years ago

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.

felipeserta commented 3 years ago

@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.

lekrom commented 3 years ago

I dont believe the webpage in spiffs is supported anymore.

felipeserta commented 3 years ago

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.