• Please visit and share your knowledge at our sister communities:
  • If you have not, please join our official Homebrewing Facebook Group!

    Homebrewing Facebook Group

Yet another DYI Plato scale

Homebrew Talk

Help Support Homebrew Talk:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
1000001203.png
1000001203.png
 
What does your hardware setup look like ? I see you have 4 displays, how many of those are connected to kegmon ?
I have 2 esp's for kegmon to support 3 scales (one have 2 scales and another 1 scale) ... 4th screen is Arduino code looking into 3 pressure inputs so not related to kegmon (will be nice to add pressure readings to kegmon in future 😁)
 
I have 2 esp's for kegmon to support 3 scales (one have 2 scales and another 1 scale) ... 4th screen is Arduino code looking into 3 pressure inputs so not related to kegmon (will be nice to add pressure readings to kegmon in future 😁)
That explains the setup then, thanks. Well pressure sensor is a project that I have been working on for a while but more focused on fermentation. I will do some tests to see if I can figure out why the graphs are not rendering correctly. Can you capture and share some logs from the serial that would help to figure out what is happening. you can DM me instead of putting in the forum
 
That explains the setup then, thanks. Well pressure sensor is a project that I have been working on for a while but more focused on fermentation. I will do some tests to see if I can figure out why the graphs are not rendering correctly. Can you capture and share some logs from the serial that would help to figure out what is happening. you can DM me instead of putting in the forum
Great, will do it as DM today evening (CET). Thanks a lot
 
Finally KegMon now has a new vue based user interface similar to Gravitymon and my other projects. Feel free to reach out with any issues, I still have the docs to update

https://github.com/mp-se/kegmon/releases/tag/v1.0.0-beta1
ESP32s2:
Upgraded from 0.8 via web interface.
The 20x4 LED displays went slooow, like on the first v0.8
Web interface turned black in Firefox - and Vivaldi, on my Linux Mint PC.
Tried to flash 1.0.0b1 via esptool.py. Same result.
I forgot to try an erease_flash before write_flash. Maybe that would give a working result.
I guess partitions is the same as on 0.8 (?)
Reverted to 0.8 via esptool.py
 
ESP32s2:
Upgraded from 0.8 via web interface.
The 20x4 LED displays went slooow, like on the first v0.8
Web interface turned black in Firefox - and Vivaldi, on my Linux Mint PC.
Tried to flash 1.0.0b1 via esptool.py. Same result.
I forgot to try an erease_flash before write_flash. Maybe that would give a working result.
I guess partitions is the same as on 0.8 (?)
Reverted to 0.8 via esptool.py
Update:
I grabbed my old kegmon box with 0.96" displays. This one also has/had v0.8.
Updated via web interface to v1.0.0b1. Success!
 
Last edited:
ESP32s2:
Upgraded from 0.8 via web interface.
The 20x4 LED displays went slooow, like on the first v0.8
Web interface turned black in Firefox - and Vivaldi, on my Linux Mint PC.
Tried to flash 1.0.0b1 via esptool.py. Same result.
I forgot to try an erease_flash before write_flash. Maybe that would give a working result.
I guess partitions is the same as on 0.8 (?)
Reverted to 0.8 via esptool.py
Thanks for the update, i will check that and do an upgrade from 0.8. The partitions are the same so that should not cause any issues.
 
Update:
I grabbed my old kegmon box with 0.96" displays. This one also has/had v0.8.
Updated via web interface to v1.0.0b1. Success!
ok, good to know. I have not tested the LCD option in a while (i dont have a build for that) but I will test that on the different boards then.
 
ok, good to know. I have not tested the LCD option in a while (i dont have a build for that) but I will test that on the different boards then.
I can confirm that the LCD update is slow both in 0.9 and 1.0 but I have not changed any code since 0.8 in that part so the source is probably something in the arduino version which will require some detective work to figure out why.....
 
beta2 on ESP32s2/ 20x4 LED's:
Upping wire speed to 400MHz made a good improvement of the LED's rendering!
I still have the same issues with web interface as in beta1. Just turns black in the browser. Sometimes I get a correct view if I use url for one of the submenus. Sometimes the box even reboots during tinkering with the url's.
 
beta2 on ESP32s2/ 20x4 LED's:
Upping wire speed to 400MHz made a good improvement of the LED's rendering!
I still have the same issues with web interface as in beta1. Just turns black in the browser. Sometimes I get a correct view if I use url for one of the submenus. Sometimes the box even reboots during tinkering with the url's.
Can you open the developer console and see if there are any errors?
 
Can you open the developer console and see if there are any errors?
Looks normal:
12282 I: Main: Setup completed.
13778 I: WEB : webServer callback /api/status.
17217 I: WEB : webServer callback for /index.html (Memory).
17268 I: WEB : webServer callback for /app.js (Memory).
17283 I: WEB : webServer callback for /app.css (Memory).
17767 I: LOOP: Reading data

I flashed once more using esptool with same result.
Maybe there are some v0.8 data stored that affects this version.
I can give it a try by erasing the s2mini completely first
 
Looks normal:
12282 I: Main: Setup completed.
13778 I: WEB : webServer callback /api/status.
17217 I: WEB : webServer callback for /index.html (Memory).
17268 I: WEB : webServer callback for /app.js (Memory).
17283 I: WEB : webServer callback for /app.css (Memory).
17767 I: LOOP: Reading data

I flashed once more using esptool with same youresult.
Maybe there are some v0.8 data stored that affects this version.
I can give it a try by erasing the s2mini completely first
There is new config file for 1.0, you can browse, delete and upload files under the tools menu. You can download a backup file and try a full erase before flashing, this can sometimes fix problems.

There is also an option to do a hardware scan (not fully implemented for all hw options yet), that could give some clues to what can be detected
 
There is new config file for 1.0, you can browse, delete and upload files under the tools menu. You can download a backup file and try a full erase before flashing, this can sometimes fix problems.

There is also an option to do a hardware scan (not fully implemented for all hw options yet), that could give some clues to what can be detected
I think I found an issue:
After installing from scratch and cloning config from my other spare beta2 -box, I ended up with the same black webpage as before.
(This is in Firefox or Vivaldi on a Linux Mint 20.3 laptop).

Tried to access the box from my phone (Android/Firefox) - Success!
Tried from my wife's Win10/Firefox - Success!

I suspect there are some java incompatibilities vs Linux.
Maybe some libraries has been changed between v0.8, which worked ok in Linux, and v1.0
 
I think I found an issue:
After installing from scratch and cloning config from my other spare beta2 -box, I ended up with the same black webpage as before.
(This is in Firefox or Vivaldi on a Linux Mint 20.3 laptop).

Tried to access the box from my phone (Android/Firefox) - Success!
Tried from my wife's Win10/Firefox - Success!

I suspect there are some java incompatibilities vs Linux.
Maybe some libraries has been changed between v0.8, which worked ok in Linux, and v1.0
The ui has been rewritten from scratch and should support modern (newer) web browsers. This is the min version required in the current setup (browsers that support the core javascript functions). What was the version that failed older than this?
  • Chrome >=87
  • Firefox >=78
  • Safari >=14
  • Edge >=88
 
The ui has been rewritten from scratch and should support modern (newer) web browsers. This is the min version required in the current setup (browsers that support the core javascript functions). What was the version that failed older than this?
  • Chrome >=87
  • Firefox >=78
  • Safari >=14
  • Edge >=88
Firefox 130.0.1 in both Linux and the Android phone.
I did see a difference between config backups from the box with 0.96" displays and the freshly installed one with 20x4 displays.
Do not know if it makes any difference.

0.96:
"http_post_header1": "",
"http_post2_header1": "Content-Type: application/json",
20x4:
"http_post_header1": "Content-Type: application/json",
"http_post2_header1": "Content-Type: application/json",

From the browser's console, I see these messages:

Loading failed for the module with source “http://192.168.165.xxx/js/app.js”. 192.168.165.xxx:1:341
Source map error: Error: NetworkError when attempting to fetch resource.Resource URL: http://192.168.165.xxx/css/app.cssSource Map URL: bootstrap.css.map
Error in parsing value for '-webkit-text-size-adjust'. Declaration dropped.

I wonder why this only happens connecting to the 20x4 box.
The 0.96" behaves normal.
Anyway, this is not a big issue. Both boxes have working MQTT and displays, and now I know a way around my web access challenge
 
Firefox 130.0.1 in both Linux and the Android phone.
I did see a difference between config backups from the box with 0.96" displays and the freshly installed one with 20x4 displays.
Do not know if it makes any difference.

0.96:
"http_post_header1": "",
"http_post2_header1": "Content-Type: application/json",
20x4:
"http_post_header1": "Content-Type: application/json",
"http_post2_header1": "Content-Type: application/json",

From the browser's console, I see these messages:

Loading failed for the module with source “http://192.168.165.xxx/js/app.js”. 192.168.165.xxx:1:341
Source map error: Error: NetworkError when attempting to fetch resource.Resource URL: http://192.168.165.xxx/css/app.cssSource Map URL: bootstrap.css.map
Error in parsing value for '-webkit-text-size-adjust'. Declaration dropped.

I wonder why this only happens connecting to the 20x4 box.
The 0.96" behaves normal.
Anyway, this is not a big issue. Both boxes have working MQTT and displays, and now I know a way around my web access challenge
The config entries is for the intergrationa so that should not matter.

It looks like it fails to load the css file which is strange. But since this file is compressed it could be that on some devices it fails with the decompression and it stops trying to start the application

I will see if i can find some info on that
 
@mper As a matter of interest,why do you switch the DS18B20 power supply from an IO and not leave it permanently powered from 3v3 like in most other designs that use this sensor ?
 
@mper As a matter of interest,why do you switch the DS18B20 power supply from an IO and not leave it permanently powered from 3v3 like in most other designs that use this sensor ?
The design supports multiple sensors and some others are less stable which sometimes require a restart to function so thats why. If you use a ds18 you can power it from 3v
 
Is there something special to do with green hx711 cant get it to comminicate with esp...
 

Attachments

  • 20241211_203526.jpg
    20241211_203526.jpg
    3 MB
It started to work... i hawe no idea why... happy camper..
 

Attachments

  • Screenshot_20241227_203742_Chrome.jpg
    Screenshot_20241227_203742_Chrome.jpg
    344.5 KB
Hello, new member here found the forum via this project which I just wanna say is amazing! Great job @mper!!!

I am building a version based on the S3Mini where there will be a single LCD screen on the keggerator showing only the graphical bars and I will use the web/app to see/manage all the other details. I also have opted to use a single UTP cable for both scales and then a audio cable for the DS18B20 sensor, primarily to minimise the cable/connector sizes going into the keggerator since I found that getting two ethernet cables was more challenging. I have written a detailed wiring plan for this setup and I am attaching it here for anyone that may find it helpful.
I have also designed a 3D printable case and I will post it on Printables once I get it a bit more finalised, but I am attaching some photos of the prototype for now.

Software-wise I plan to add the following features and will make pull requests via github if you feel comfortable adding them to your main project:
  1. Ability to define a third "fixed" wifi network outside of the two that can be stored on the ESP wifi module. Think of it like a "developer" wifi that whenever present the device will connect to that first before searching for other networks or requiring you to perform a wifi scan.
  2. Ability to password protect the web page.
Once again, thanks for the amazing work @mper!!
Nik
 

Attachments

  • IMG_9489.jpeg
    IMG_9489.jpeg
    1.4 MB
  • IMG_9490.jpeg
    IMG_9490.jpeg
    1.6 MB
  • IMG_9493.jpeg
    IMG_9493.jpeg
    3.2 MB
  • KegMon Schematic - Single LCD.pdf
    178.1 KB
I have started to plan for the next generation of kegmon and would like to get some ideas and feedback. So far I have these points:

* Use a TFT touch display
* ESP32 based (probably an ESP32 s3 PRO)
* Up to 4 scales with scale detection in background thread

I have been looking for another option than the HX711 but I have not really found a good alternative that does not cost a fortune....

What would you like to see ?
 
I have started to plan for the next generation of kegmon and would like to get some ideas and feedback. So far I have these points:

* Use a TFT touch display
* ESP32 based (probably an ESP32 s3 PRO)
* Up to 4 scales with scale detection in background thread

I have been looking for another option than the HX711 but I have not really found a good alternative that does not cost a fortune....

What would you like to see ?
It's a pity CYD's (Cheap Yellow Display's) do not have more than 3 easily available gpio ports, and runs on ESP-WROOM-32.
If not, they would have been a really cheap alternative with touch screen available in different sizes.
What is wrong with DS18B20, except from missing humidity data?
 
It's a pity CYD's (Cheap Yellow Display's) do not have more than 3 easily available gpio ports, and runs on ESP-WROOM-32.
If not, they would have been a really cheap alternative with touch screen available in different sizes.
What is wrong with DS18B20, except from missing humidity data?
Yes, I would need more than 3 pins for that many scales. The DS18B20 is a good and stable sensor. I'm not sure that one needs to support other sensors than that one. The question is how many ? Currently I support one sensor but one per scale base could be supported, not sure if that would add any benefits though.
 
New version of kegmon is now available on github

https://github.com/mp-se/kegmon/releases/tag/v1.1.0

Main change is update of Arduino libraries and some new features related to my other Brewlogger project (Pour logging and TapList integration)
Great!
On v1.0.0b2, I was not able to access from Ubuntu/Mint/RPi with Firefox/Chromium/Vivaldi. Black background.
Upgrading from an Android tablet with Firefox was ok.
v1.1.0 works fine on all my platforms/browsers.
Thank you!
 
Great!
On v1.0.0b2, I was not able to access from Ubuntu/Mint/RPi with Firefox/Chromium/Vivaldi. Black background.
Upgrading from an Android tablet with Firefox was ok.
v1.1.0 works fine on all my platforms/browsers.
Thank you!
Thanks, but thats probably a but someone else fixed in one of the dependecies…
 
I have started to plan for the next generation of kegmon and would like to get some ideas and feedback. So far I have these points:

* Use a TFT touch display
* ESP32 based (probably an ESP32 s3 PRO)
* Up to 4 scales with scale detection in background thread

I have been looking for another option than the HX711 but I have not really found a good alternative that does not cost a fortune....

What would you like to see ?
Co2 pressures for kegs?
Co2 bottle scale?
Is It possible to use 2 esp 32 and combine data to only one display?
If More inputs are needed for scales...
 
Co2 pressures for kegs?
Co2 bottle scale?
Is It possible to use 2 esp 32 and combine data to only one display?
If More inputs are needed for scales...
I'm working on a pressure sensor that I plan to integrate with the kegmon software to measure pressure. I already have my fridge controller integrated for temperature.

But i like the idea of allowing multiple devices to report into one display. I think I can do a design of 4 scales and make that work on an esp32 if I use the multithreading capability of the esp32 boards (one that has multiple cores). I have a prototype PCB (with 4 scales) in transit so I will see if this will work, if not then having multiple controllers reporting into a central device with display is a good option.
 
Back
Top