Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heat control heatWindowSize #94

Open
felipeserta opened this issue Jun 22, 2021 · 7 comments
Open

heat control heatWindowSize #94

felipeserta opened this issue Jun 22, 2021 · 7 comments

Comments

@felipeserta
Copy link

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
Copy link
Author

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
Copy link
Contributor

lekrom commented Jun 23, 2021

@felipeserta,

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

@felipeserta
Copy link
Author

@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
Copy link
Contributor

lekrom commented Jun 23, 2021

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
Copy link
Author

@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
Copy link
Contributor

lekrom commented Jun 24, 2021

I dont believe the webpage in spiffs is supported anymore.

@felipeserta
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants