Keg Cop: Keg Monitoring and Control

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Hi Lee

i have a single flowmeter system set up now, with a single room temp sensor. I am running 1.2.0 and have had similar issues to tomakana where the tap config resets. It seems like having the relay and remote sensors upsets it , but with just the single room sensor it seems to be fine. dont really need either so not a worry for me

flowmeter reading just fine but the update to TIO doesn’t seem to be working, in kegcop once the pour is finished it updates in 2-3 seconds but TIO isn’t getting the update. It does periodically update but this is anywhere from 1 hour to several hours so the API is working

any thoughts on where to look next, I have a couple of esp32’s and it’s not wired into my bar yet so can easily try different software versions or pull it apart to check anything

cheers
mike
 
Gotta love USPS. Ordered the Swissflow meters not quite two weeks back, and they were sent via NL Post. They arrived in the US in Chicago on 1/26, in Orlando on 1/28, and Jacksonville, FL later on 1/28, departing on 1/29. I figured I'd see them 1/30 in Savannah, but no, for some reason they went to Denver, arriving (and departing) there today. Who knows where they'll go next?
 
I sent something from Kansas City to Wichita and it went via NJ once. They could probably save some money if they didn't carry things all over the country for no good reason.
 
Well, that's weird. I'm still waiting on the flowmeters to get back here from Denver, but I have a few temp sensors connected to the breakout board, placed inside the fridge, and I've had the ESP32 (on the KegCop board) flashed and up on my WiFi before. But now it won't connect to the WiFi. I have a couple of networks available, and I've tried both. I've made sure I entered the password correctly. I've even re-flashed version 1.2.0 of the firmware using web.brewflasher.com. Here's the output on the serial console of the latest attempt:
Code:
0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip:
1970-01-01T00:00:00Z N: Serial logging started at 115200.
1970-01-01T00:00:00Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect
*wm:[2] ESP32 event handler enabled
*wm:[2] Connecting as wifi client...
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] No wifi saved, skipping
*wm:[2] Connection result: WL_NO_SSID_AVAIL
*wm:[1] AutoConnect: FAILED
*wm:[2] Starting Config Portal
*wm:[2] AccessPoint set password is VALID
*wm:[2] Disabling STA
*wm:[2] Enabling AP
*wm:[1] StartAP with SSID:  kegcop
*wm:[2] Starting AP on channel: 1
*wm:[1] AP IP address: 192.168.4.1
*wm:[2] [CB] _apcallback calling
1970-01-01T00:00:01Z V: [CALLBACK]: setAPCallback fired.
1970-01-01T00:00:01Z N: Entered portal mode; name: kegcop, IP: 192.168.4.1.
*wm:[1] Starting Web Portal
*wm:[2] HTTP server started
*wm:[2] Config Portal Running, blocking, waiting for clients...
*wm:[2] Portal Timeout In 120 seconds
*wm:[2] Portal Timeout In 90 seconds
[ 35969][E][WebServer.cpp:635] _handleRequest(): request handler not found
*wm:[2] <- Request redirected to captive portal
*wm:[2] <- HTTP Root
[ 36840][E][WebServer.cpp:635] _handleRequest(): request handler not found
*wm:[2] <- Request redirected to captive portal
*wm:[2] <- HTTP Root
[ 36900][E][WebServer.cpp:635] _handleRequest(): request handler not found
*wm:[2] <- Request redirected to captive portal
*wm:[2] <- HTTP Root
*wm:[2] <- HTTP Wifi
*wm:[2] WiFi Scan SYNC started
*wm:[2] WiFi Scan ASYNC completed in 2833 ms
*wm:[2] WiFi Scan ASYNC found: 12
*wm:[2] WiFi Scan completed in 2833 ms
*wm:[1] 12 networks found
*wm:[2] DUP AP: Brown WiFi
*wm:[2] DUP AP: Brown WiFi
*wm:[2] DUP AP: FBI Surveillence Van
*wm:[2] DUP AP: FBI Surveillence Van
*wm:[2] DUP AP: IDIoT
*wm:[2] DUP AP: IDIoT
*wm:[2] AP:  -38 Brown Ruckus Wireless
*wm:[2] AP:  -40 Technical.Support-
*wm:[2] AP:  -52 Test Network
*wm:[2] AP:  -70 Brown WiFi
*wm:[2] AP:  -71 FBI Surveillence Van
*wm:[2] AP:  -71 IDIoT
[ 43693][E][WebServer.cpp:635] _handleRequest(): request handler not found
*wm:[2] <- Request redirected to captive portal
*wm:[2] <- HTTP Root
*wm:[2] Portal Timeout In 103 seconds
*wm:[2] <- HTTP WiFi save 
*wm:[2] Parameters
*wm:[2] --------------------
*wm:[2] name: kegcop
*wm:[2] --------------------
1970-01-01T00:01:02Z V: [CALLBACK]: setSaveParamsCallback fired.
*wm:[2] processing save
*wm:[2] Connecting as wifi client...
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] Connecting to NEW AP: Brown Ruckus Wireless
*wm:[1] connectTimeout not set, ESP waitForConnectResult...
E (76444) wifi:Association refused temporarily, comeback time 1228 mSec
*wm:[2] [EVENT] WIFI_REASON:  203
*wm:[2] [EVENT] WIFI_REASON: AUTH FAIL
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] Connect to new AP [SUCCESS]
*wm:[1] Got IP Address:
*wm:[1] 192.168.1.152
*wm:[2] [CB] _savewificallback calling
1970-01-01T00:01:06Z V: [CALLBACK]: setSaveConfigCallback fired.
*wm:[2] shutdownConfigPortal
[ 66194][E][WebServer.cpp:635] _handleRequest(): request handler not found
*wm:[2] <- Request redirected to captive portal
*wm:[2] restoring usermode STA
*wm:[2] wifi status: WL_CONNECTED
*wm:[2] wifi mode: STA
*wm:[2] configportal closed
*wm:[1] config portal exiting
1970-01-01T00:01:07Z N: Saving custom hostname configuration: kegcop.
1970-01-01T00:01:07Z N: Restarting to pick up custom hostname.
1970-01-01T00:01:07Z N: Reboot request - rebooting system.
1970-01-01T00:01:07Z V: Keg Cop Save: Saving configuration.
1970-01-01T00:01:07Z V: Keg Cop Save: Configuration saved.
1970-01-01T00:01:07Z V: Flowmeter Config Save: Saving configuration.
1970-01-01T00:01:07Z V: Flowmeter Config Save: Configuration saved.
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac
1970-01-01T00:01:09Z N: Serial logging started at 115200.
1970-01-01T00:01:09Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect
*wm:[2] ESP32 event handler enabled
*wm:[2] Connecting as wifi client...
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] Connecting to SAVED AP: Brown Ruckus Wireless
*wm:[2] 30000 ms timeout, waiting for connect...
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] [EVENT] WIFI_REASON:  201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] .
*wm:[2] Connection result: WL_NO_SSID_AVAIL
*wm:[1] AutoConnect: FAILED
*wm:[2] Starting Config Portal
*wm:[2] AccessPoint set password is VALID
*wm:[2] Disabling STA
*wm:[2] Enabling AP
*wm:[1] StartAP with SSID:  kegcop
*wm:[2] Starting AP on channel: 1
*wm:[1] AP IP address: 192.168.4.1
*wm:[2] [CB] _apcallback calling
1970-01-01T00:01:41Z V: [CALLBACK]: setAPCallback fired.
1970-01-01T00:01:41Z N: Entered portal mode; name: kegcop, IP: 192.168.4.1.
*wm:[1] Starting Web Portal
*wm:[2] HTTP server started
*wm:[2] Config Portal Running, blocking, waiting for clients...
*wm:[2] Portal Timeout In 120 seconds
*wm:[2] Portal Timeout In 118 seconds

Reset the controller, and now it connects, but the software seems to be crashing:
Code:
E (2379) wifi:Association refused temporarily, comeback time 1228 mSec
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] [EVENT] WIFI_REASON:  203
*wm:[2] [EVENT] WIFI_REASON: AUTH FAIL 
*wm:[2] . 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 2040 ms
*wm:[1] STA IP Address: 192.168.1.152
2023-02-06T18:50:49Z N: Connected. IP address: 192.168.1.152.
2023-02-06T18:50:49Z N: Entering blocking loop to get NTP time.
2023-02-06T18:50:49Z N: NTP time set.
2023-02-06T18:50:49Z V: Flow Load: Loading flowmeter configuration.
2023-02-06T18:50:49Z V: Flowmeter Config Save: Saving configuration.
2023-02-06T18:50:49Z V: Flowmeter Config Save: Configuration saved.
2023-02-06T18:50:50Z V: Keg Cop Save: Saving configuration.
2023-02-06T18:50:51Z V: Keg Cop Save: Configuration saved.
2023-02-06T18:50:52Z V: No OTA pending.
2023-02-06T18:50:52Z N: mDNS responder started for kegcop.local.
2023-02-06T18:50:52Z N: Async HTTP server started on port 80.
2023-02-06T18:50:52Z N: Open: http://kegcop.local to view application.
2023-02-06T18:50:52Z N: Sensors: Initializing sensors.
2023-02-06T18:50:53Z N: MQTT: Creating process.
2023-02-06T18:50:53Z V: KegScreen TV: JSON file written.
2023-02-06T18:50:53Z N: Deserialized version information.
2023-02-06T18:50:54Z N: UPTIME: This was a restart/reset/crash.
2023-02-06T18:50:56Z V: Taplist.io: secret or venue not set, skipping send. ('' / '')
2023-02-06T18:50:56Z N: Started Keg Cop version 1.2.0/1.2.0 (main) [18b27a2].
2023-02-06T18:50:56Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:50:59Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:01Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:02Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:04Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:06Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:08Z V: Processing 404 for /rootDesc.xml.
E (25469) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (25469) task_wdt:  - async_tcp (CPU 1)
E (25469) task_wdt: Tasks currently running:
E (25469) task_wdt: CPU 0: IDLE
E (25469) task_wdt: CPU 1: loopTask
E (25469) task_wdt: Aborting.
abort() was called at PC 0x40147bbc on core 0

Backtrace:0x400838a5:0x3ffbebdc |<-CORRUPTED



ELF file SHA256: 0000000000000000
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac
2023-02-06T18:51:12Z N: Serial logging started at 115200.
2023-02-06T18:51:14Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect 
*wm:[2] ESP32 event handler enabled 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to SAVED AP: Brown Ruckus Wireless
*wm:[2] 30000 ms timeout, waiting for connect...
*wm:[2] . 
E (5472) wifi:Association refused temporarily, comeback time 1228 mSec
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] [EVENT] WIFI_REASON:  203
*wm:[2] [EVENT] WIFI_REASON: AUTH FAIL 
*wm:[2] . 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 2042 ms
*wm:[1] STA IP Address: 192.168.1.152
2023-02-06T18:51:16Z N: Connected. IP address: 192.168.1.152.
2023-02-06T18:51:16Z N: Entering blocking loop to get NTP time.
2023-02-06T18:51:16Z N: NTP time set.
2023-02-06T18:51:16Z V: Flow Load: Loading flowmeter configuration.
2023-02-06T18:51:16Z V: Flowmeter Config Save: Saving configuration.
2023-02-06T18:51:16Z V: Flowmeter Config Save: Configuration saved.
2023-02-06T18:51:16Z V: Keg Cop Save: Saving configuration.
2023-02-06T18:51:17Z V: Keg Cop Save: Configuration saved.
2023-02-06T18:51:17Z V: No OTA pending.
2023-02-06T18:51:17Z N: mDNS responder started for kegcop.local.
2023-02-06T18:51:17Z N: Async HTTP server started on port 80.
2023-02-06T18:51:17Z N: Open: http://kegcop.local to view application.
2023-02-06T18:51:17Z N: Sensors: Initializing sensors.
2023-02-06T18:51:18Z N: MQTT: Creating process.
2023-02-06T18:51:18Z N: Deserialized version information.
2023-02-06T18:51:18Z V: KegScreen TV: JSON file written.
2023-02-06T18:51:19Z N: UPTIME: This was a restart/reset/crash.
2023-02-06T18:51:19Z V: Taplist.io: secret or venue not set, skipping send. ('' / '')
2023-02-06T18:51:19Z N: Started Keg Cop version 1.2.0/1.2.0 (main) [18b27a2].
2023-02-06T18:51:34Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:35Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:35Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:36Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:36Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:36Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:55Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:55Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:56Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:56Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:56Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:56Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:57Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:57Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:51:57Z V: Processing 404 for /rootDesc.xml.
[ 47424][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
2023-02-06T18:52:14Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:14Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:14Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:15Z V: Processing 404 for /rootDesc.xml.
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core  0 register dump:
PC      : 0x4015b905  PS      : 0x00060b30  A0      : 0x8015bc59  A1      : 0x3ffb35a0  
A2      : 0x3ffdb0de  A3      : 0x3ffdbc14  A4      : 0x3ffdbabc  A5      : 0x0000059c  
A6      : 0xd9181f02  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffb3580  
A10     : 0x00000000  A11     : 0x00000006  A12     : 0x00000014  A13     : 0x0000ffff  
A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x00000004  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000005  LBEG    : 0x40089ac8  LEND    : 0x40089ade  LCOUNT  : 0xffffffff  

Backtrace:0x4015b902:0x3ffb35a00x4015bc56:0x3ffb35c0 0x4015d272:0x3ffb35f0 0x4016221a:0x3ffb3660 0x4016628e:0x3ffb3690 0x40156cc9:0x3ffb36b0 



ELF file SHA256: 0000000000000000
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac
2023-02-06T18:52:15Z N: Serial logging started at 115200.
2023-02-06T18:52:16Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect 
*wm:[2] ESP32 event handler enabled 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to SAVED AP: Brown Ruckus Wireless
*wm:[2] 30000 ms timeout, waiting for connect...
*wm:[2] . 
E (2483) wifi:Association refused temporarily, comeback time 1228 mSec
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] [EVENT] WIFI_REASON:  203
*wm:[2] [EVENT] WIFI_REASON: AUTH FAIL 
*wm:[2] . 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 2041 ms
*wm:[1] STA IP Address: 192.168.1.152
2023-02-06T18:52:18Z N: Connected. IP address: 192.168.1.152.
2023-02-06T18:52:18Z N: Entering blocking loop to get NTP time.
2023-02-06T18:52:18Z N: NTP time set.
2023-02-06T18:52:18Z V: Flow Load: Loading flowmeter configuration.
2023-02-06T18:52:18Z V: Flowmeter Config Save: Saving configuration.
2023-02-06T18:52:18Z V: Flowmeter Config Save: Configuration saved.
2023-02-06T18:52:18Z V: Keg Cop Save: Saving configuration.
2023-02-06T18:52:18Z V: Keg Cop Save: Configuration saved.
2023-02-06T18:52:18Z V: No OTA pending.
2023-02-06T18:52:18Z N: mDNS responder started for kegcop.local.
2023-02-06T18:52:18Z N: Async HTTP server started on port 80.
2023-02-06T18:52:18Z N: Open: http://kegcop.local to view application.
2023-02-06T18:52:18Z N: Sensors: Initializing sensors.
2023-02-06T18:52:19Z N: MQTT: Creating process.
2023-02-06T18:52:19Z V: KegScreen TV: JSON file written.
2023-02-06T18:52:19Z N: Deserialized version information.
2023-02-06T18:52:19Z N: UPTIME: This was a restart/reset/crash.
2023-02-06T18:52:20Z V: Taplist.io: secret or venue not set, skipping send. ('' / '')
2023-02-06T18:52:20Z N: Started Keg Cop version 1.2.0/1.2.0 (main) [18b27a2].
2023-02-06T18:52:34Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:35Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:35Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:35Z V: Processing 404 for /rootDesc.xml.
2023-02-06T18:52:35Z V: Processing 404 for /rootDesc.xml.
 
Last edited:
Do you have an access point you can try that is simpler? Maybe something like an old DLink and/or changing a name to be a simpler name (no spaces?)
 
I don't think I have a "simpler" AP, but I could set up a separate SSID on the Ruckus R710, make it 2.4 GHz-only, no spaces in the name. But it seems that after re-flashing, configuring for my WiFi, and then resetting (again) the controller, it's now connecting. But the web interface is very flaky, it isn't saving settings, and it seems pings fail pretty much any time I click anything in the web interface.

Ping response is weird; it's mostly 5-10 ms, but occasionally a few in a row time out completely, and every now and then there reponses with hundreds of ms roundtrip time. And when I had it plugged in with the console up, I was seeing frequent crashes (a sample message is above).

On the chance that I'm dealing with a defective D32, I've ordered a new one, which should be here in a couple of days.
 
I had something like that happen once with the USPS. A very small package (with 10 post poppets) took forever to move from one location to the next and then they finally punted and sent it back to the sender. The problem was the sender wrapped the shipping label over a package corner and the automated scanners on the sorting lines couldn't pick it up, so it just sat in each place until someone finally hand-scanned it and sent it on the next leg, only to have the same thing happen again.

Shipped from California, eventually made it as far as Springfield, MA after nearly a month and where it sat for over another week before it got bounced all the way back home...
 
Wonder of wonders, the flowmeters made it! It took a second trip from .nl to get here, but they did, on Monday. I also, earlier, received a few new ESP32 boards, and flashed KegCop to one of them. It now has a stable WiFi connection and seems to save settings as it should. Good deal. Now to finish extending the wiring on the sensors and get them installed...
 
It now has a stable WiFi connection
Well, I spoke too soon. It stayed connected on the WiFi until I saved the details for the fourth keg, then it dropped off. It's now failing to connect to my WiFi. I've tried three different SSIDs, including a newly-created "testnetwork" with password "12345678." Here's what I'm seeing in the serial log:
Code:
1970-01-01T00:00:10Z N: Serial logging started at 115200.
[ 10474][E][vfs_api.cpp:314] VFSFileImpl(): fopen(/spiffs/drd.dat) failed
1970-01-01T00:00:10Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect 
*wm:[2] ESP32 event handler enabled 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to SAVED AP: testnetwork
*wm:[2] 30000 ms timeout, waiting for connect...
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] . 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 1846 ms
*wm:[1] STA IP Address: 192.168.1.200
1970-01-01T00:00:12Z N: Connected. IP address: 192.168.1.200.
1970-01-01T00:00:12Z N: Entering blocking loop to get NTP time....
2023-04-01T11:45:20Z N: NTP time set.
2023-04-01T11:45:20Z V: Flow Load: Loading flowmeter configuration.
2023-04-01T11:45:20Z W: Flow Load: Failed to load flowmeter configuration from filesystem, default values have been used.
2023-04-01T11:45:20Z V: Flowmeter Config Save: Saving configuration.
2023-04-01T11:45:20Z V: Flowmeter Config Save: Configuration saved.
2023-04-01T11:45:20Z V: Flow Load: Loading flowmeter configuration.
(snip, repeated 50 times)
2023-04-01T11:45:34Z W: Flow Load: Failed to load flowmeter configuration from filesystem, default values have been used.
2023-04-01T11:45:34Z V: Flowmeter Config Save: Saving configuration.
2023-04-01T11:45:34Z V: Flowmeter Config Save: Configuration saved.
2023-04-01T11:45:34Z V: Flow Load: Loading flowmeter configuration.
2023-04-01T11:45:34Z W: Flow Load: Failed to load flowmeter configuration from filesystem, default values have been used.
2023-04-01T11:45:34Z V: Flowmeter Config Save: Saving configuration.
Guru Meditation Error: Core  1 panic'ed (Unhandled debug exception). 
Debug exception reason: Stack canary watchpoint triggered (loopTask) 
Core  1 register dump:
PC      : 0x4008e403  PS      : 0x00060936  A0      : 0x40084b40  A1      : 0x3ffb0880  
A2      : 0x3ffc3c08  A3      : 0x3ffb1a18  A4      : 0x3ffb0e20  A5      : 0x3ffb19f8  
A6      : 0x3f4023f0  A7      : 0x3f4023f0  A8      : 0x00000000  A9      : 0x3ffb0930  
A10     : 0x00000008  A11     : 0x3f4023e8  A12     : 0x000000ff  A13     : 0x0000ff00  
A14     : 0x00ff0000  A15     : 0x40404040  SAR     : 0x00000012  EXCCAUSE: 0x00000001  
EXCVADDR: 0x00000000  LBEG    : 0x4008a649  LEND    : 0x4008a66d  LCOUNT  : 0x800df79f  

Backtrace:0x4008e400:0x3ffb08800x40084b3d:0x3ffb0cf0 0x400e442a:0x3ffb0e00 0x400e44c9:0x3ffb1a70 0x400e463b:0x3ffb1ab0 0x400e4655:0x3ffb1af0 0x400e4655:0x3ffb1b30 0x400e4655:0x3ffb1b70 0x400e4655:0x3ffb1bb0 0x400e4655:0x3ffb1bf0 0x400e4655:0x3ffb1c30 0x400e4655:0x3ffb1c70 0x400e4655:0x3ffb1cb0 0x400e4655:0x3ffb1cf0 0x400e4655:0x3ffb1d30 0x400e4655:0x3ffb1d70 0x400e4655:0x3ffb1db0 0x400e4655:0x3ffb1df0 0x400e4655:0x3ffb1e30 0x400e4655:0x3ffb1e70 0x400e4655:0x3ffb1eb0 0x400e4655:0x3ffb1ef0 0x400e4655:0x3ffb1f30 0x400e4655:0x3ffb1f70 0x400e4655:0x3ffb1fb0 0x400e4655:0x3ffb1ff0 0x400e4655:0x3ffb2030 0x400e4655:0x3ffb2070 0x400e4655:0x3ffb20b0 0x400e4655:0x3ffb20f0 0x400e4655:0x3ffb2130 0x400e4655:0x3ffb2170 0x400e4655:0x3ffb21b0 0x400e4655:0x3ffb21f0 0x400e4655:0x3ffb2230 0x400e4655:0x3ffb2270 0x400e4655:0x3ffb22b0 0x400e4655:0x3ffb22f0 0x400e4655:0x3ffb2330 0x400e4655:0x3ffb2370 0x400e4655:0x3ffb23b0 0x400e4655:0x3ffb23f0 0x400e4655:0x3ffb2430 0x400e4655:0x3ffb2470 0x400e4655:0x3ffb24b0 0x400e4655:0x3ffb24f0 0x400e4655:0x3ffb2530 0x400e4655:0x3ffb2570 0x400e4655:0x3ffb25b0 0x400e4655:0x3ffb25f0 0x400e4655:0x3ffb2630 0x400e4655:0x3ffb2670 0x400e4655:0x3ffb26b0 0x400e4655:0x3ffb26f0 0x400e4655:0x3ffb2730 0x400e4655:0x3ffb2770 0x400e47a1:0x3ffb27b0 0x400ee871:0x3ffb27d0 0x401373a7:0x3ffb2820 



ELF file SHA256: 0000000000000000
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac
2023-04-01T11:45:35Z N: Serial logging started at 115200.
[   493][E][vfs_api.cpp:314] VFSFileImpl(): fopen(/spiffs/drd.dat) failed
2023-04-01T11:45:36Z N: DRD: Portal requested.
*wm:[2] Added Parameter: name
*wm:[2] Starting Config Portal 
*wm:[2] AccessPoint set password is VALID 
*wm:[2] Disabling STA 
*wm:[2] Enabling AP 
*wm:[1] StartAP with SSID:  kegcop
*wm:[2] Starting AP on channel: 1
*wm:[1] AP IP address: 192.168.4.1
*wm:[2] [CB] _apcallback calling 
2023-04-01T11:45:37Z V: [CALLBACK]: setAPCallback fired.
2023-04-01T11:45:37Z N: Entered portal mode; name: kegcop, IP: 192.168.4.1.
*wm:[1] Starting Web Portal 
*wm:[2] HTTP server started 
*wm:[2] Config Portal Running, blocking, waiting for clients... 
*wm:[2] Portal Timeout In 120 seconds
*wm:[2] Portal Timeout In 90 seconds
It's looking like it does initially connect (enough to set date/time via NTP), but then cycles through loading/saving the flowmeter configuration about 50x and crashes. After that, it can't/won't reconnect.

Could this be because I don't yet have the flowmeters connected? I'm using the latest version of the firmware available on web.brewflasher.com, which I believe is 1.2.0.
 
I'm using the latest version of the firmware available on web.brewflasher.com, which I believe is 1.2.0.
1.1 should be more stable right now (or the one before 1.2) - freaking Espressif! Also that looks like SPIFFS is corrupt. Erase firmware (should be a checkbox on the flasher) before you try again.
 
All right, downloaded Brewflasher (the web version doesn't have the option to erase the flash) and flashed 1.1.1. Tap 1 won't save name or volume (edit: had this problem with 1.2.0 too). Otherwise seems to be working as expected, though it's only been up < 10 minutes so far.
 
Last edited:
This would be a lot easier if Espressif would just fix things before they release. It's worse than Microsoft.

ETA: I have to finish a ham radio project that @Thorrak graciosly helped me with. Then I need to try to get Brew Bubbles to "work" on an ESP32, then I will be back to this. Maybe a day. (That was a joke that only people who do microcontroller projects will think is funny.)
 
Last edited:
This would be a lot easier if Espressif would just fix things before they release. It's worse than Microsoft.

ETA: I have to finish a ham radio project that @Thorrak graciosly helped me with. Then I need to try to get Brew Bubbles to "work" on an ESP32, then I will be back to this. Maybe a day. (That was a joke that only people who do microcontroller projects will think is funny.)
Brew Bubbles doesn't work on an esp32?
 
So Keg Cop 1.1.1 has been up for over 48 hours, it's still connected to my WiFi, I can still reach the web interface and navigate around--all good. Tap 1 still doesn't save anything--and unlike with the other taps, there's no indication of anything happening when I click the Update button. With taps 2-4, there's a bit of delay, a spinny-circly thing (I'm sure that's the highly-technical term for it), and then the changes are saved. Nothing like that happens when I click that button for tap 1.
 
Yep - now I remember why I started "messing with perfection." I had this discussion with @Thorrak about 0-based arrays and I renumbered things internally and I screwed it up. :)

You should be able to just not use Tap 1 for now.

The struggle is real getting back into that. The platform libs have released a new full major version, all of the supporting libs have changed (or not changed enough to still work....)

I think one of the things I am going to have to give up is the online update. There's not enough room in the dev board I am using to allow that + a platform update.
 
Yep - now I remember why I started "messing with perfection." I had this discussion with @Thorrak about 0-based arrays and I renumbered things internally and I screwed it up. :)

You should be able to just not use Tap 1 for now.

The struggle is real getting back into that. The platform libs have released a new full major version, all of the supporting libs have changed (or not changed enough to still work....)

I think one of the things I am going to have to give up is the online update. There's not enough room in the dev board I am using to allow that + a platform update.
You mean where I literally suggested you “add one to the index before you send it”, and you decided to completely restructure everything in memory to avoid having to type “index_ext = index+1;”?

I don’t remember that conversation. Nope, not at all. :)
 
You should be able to just not use Tap 1 for now.
So, rather than taps 1-4, use 2-5? Easy enough, I guess. That's not why I designed a breakout board for six flowmeters, exactly, but it'll come in handy. I presume I'd need to make corresponding adjustments in RaspberryPints (i.e., serving on taps 2-5 rather than 1-4)? And presumably with KegScreen when that becomes available?
 
Well, this is curious. I started moving all the information down--tap 4's name/volume to tap 5, tap 3 to tap 4, etc. But when I went to put tap 1's information into tap 2, tap 2 started behaving the same way--no response at all to the update button. Turns out the remaining volume (which I'd copied from Raspberry Pints) had too many digits (3.32419). Shortening it to 3.3242 allowed it to accept the value. So then I moved all the data back up one slot, and tap 1 saves properly now. There's surely no need to measure volume to 0.00001 gal., but this seems an odd failure mode.
 
Brew Bubbles doesn't work on an esp32?

Don't you have a project to finish?

You mean where I literally suggested you “add one to the index before you send it”, and you decided to completely restructure everything in memory to avoid having to type “index_ext = index+1;”?

I don’t remember that conversation. Nope, not at all. :)

Just gonna sit back here and watch...

(he reaches for the🍿)
 
You mean where I literally suggested you “add one to the index before you send it”, and you decided to completely restructure everything in memory to avoid having to type “index_ext = index+1;”?
Hey, how about an update on KegScreen?

There's surely no need to measure volume to 0.00001 gal., but this seems an odd failure mode.
You mean it breaks when you use a volume of 0.04ml? Why, what about the micro-flights?!

That is strange, but hey, it's JavaScript at that level so nothing will surprise me. I opened this issue so I do not forget.
 
Hey, how about an update on KegScreen?

I finally converted to the right kind of tubing (and received the fittings!) to actually be able to use Keg Cop in a real build. My tap tower is still together with thoughts and prayers, but who needs non-foamy beer when you can have data!

Focus at the moment is on my Other Project though, as you know (but that’s not getting built to completion, just to MVP).
 
...and after calibrating the third flowmeter (out of four), something panicked, the controller rebooted, and all the settings have disappeared--brewery name, kegerator name, all the tap information, everything. Grrr...

...and it's in some kind of loop, rebooting itself every few minutes now even after a power cycle.
Code:
2023-04-06T20:26:22Z V: Sending /api/v1/config/taps/.
[664908][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[664908][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[664911][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[664918][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
2023-04-06T20:26:23Z V: KegScreen reporting not enabled, skipping.
2023-04-06T20:26:27Z V: Sending /api/v1/config/taps/.
2023-04-06T20:26:30Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:26:30Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:26:34Z V: Sending /api/v1/config/taps/.
2023-04-06T20:26:39Z V: Sending /api/v1/config/taps/.
2023-04-06T20:26:40Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:26:40Z V: Sending /api/v1/info/sensors/.
[684907][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[684908][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[684911][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[684917][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
2023-04-06T20:26:44Z V: Sending /api/v1/config/taps/.
2023-04-06T20:26:49Z V: Sending /api/v1/config/taps/.
2023-04-06T20:26:50Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:26:50Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:26:54Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:00Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:01Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:27:01Z V: Sending /api/v1/info/sensors/.
[704907][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[704908][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[704911][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[704917][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
2023-04-06T20:27:05Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/heap/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/heap/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/resetreason/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/resetreason/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/uptime/.
2023-04-06T20:27:06Z V: Sending /api/v1/info/uptime/.
2023-04-06T20:27:10Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:11Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:27:11Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:27:15Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:16Z V: MQTT: No broker configured.
2023-04-06T20:27:21Z V: Sending /api/v1/config/taps/.
2023-04-06T20:27:22Z V: Sending /api/v1/info/sensors/.
2023-04-06T20:27:22Z V: Sending /api/v1/info/sensors/.
[724907][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[724908][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[724911][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
[724917][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/uptime.json) failed
2023-04-06T20:27:23Z V: KegScreen reporting not enabled, skipping.
2023-04-06T20:27:26Z V: Sending /api/v1/config/taps/.
[732177][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/about.htm) failed
[732264][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/404.htm) failed
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x400fec33  PS      : 0x00060230  A0      : 0x8011a386  A1      : 0x3ffd9460  
A2      : 0x3ffda318  A3      : 0x00000000  A4      : 0x3ffd950f  A5      : 0x0000ff00  
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x800fec33  A9      : 0x3ffd9440  
A10     : 0x3ffd948c  A11     : 0x10efc5bc  A12     : 0x10efc5bc  A13     : 0x3ffd947c  
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x00000004  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x40089c30  LEND    : 0x40089c3b  LCOUNT  : 0x00000000  


Backtrace:0x400fec30:0x3ffd94600x4011a383:0x3ffd94c0 0x4011a3be:0x3ffd94f0 0x40116dc9:0x3ffd9540 0x40116e89:0x3ffd9590 0x40117141:0x3ffd95f0 0x401d49e3:0x3ffd9610 0x401d4a32:0x3ffd9640 0x401d4a75:0x3ffd9660 0x401d4bbe:0x3ffd9680 0x401d4c3c:0x3ffd96a0 




ELF file SHA256: 0000000000000000

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10044
load:0x40080400,len:5872
entry 0x400806ac
[   321][E][vfs_
2023-04-06T20:27:29Z N: Serial logging started at 115200.
2023-04-06T20:27:29Z N: Starting WiFi.
*wm:[2] Added Parameter: name
*wm:[1] AutoConnect 
*wm:[2] ESP32 event handler enabled 
*wm:[2] Connecting as wifi client... 
*wm:[2] setSTAConfig static ip not set, skipping 
*wm:[1] Connecting to SAVED AP: Brown WiFi
*wm:[2] 30000 ms timeout, waiting for connect...
*wm:[2] . 
*wm:[2] Connection result: WL_CONNECTED
*wm:[1] AutoConnect: SUCCESS 
*wm:[2] Connected in 744 ms
*wm:[1] STA IP Address: 192.168.1.200
2023-04-06T20:27:30Z N: Connected. IP address: 192.168.1.200.
2023-04-06T20:27:30Z N: Entering blocking loop to get NTP time.
2023-04-06T20:27:30Z N: NTP time set.
2023-04-06T20:27:30Z E: Error: Unable to deserialize flow config.
2023-04-06T20:27:30Z W: Warning: Unable to load flowmeter configuration.
2023-04-06T20:27:30Z E: Error: Unable to deserialize flow config.
2023-04-06T20:27:30Z E: Error: Unable to generate default flowmeter configuration.
2023-04-06T20:27:30Z E: Unable to load flowmeters.
2023-04-06T20:27:30Z V: Config: Saving configuration.
[  2109][E][vfs_api.cpp:283] VFSFileImpl(): fopen(/spiffs/config.json) failed
2023-04-06T20:27:30Z V: No OTA pending.
2023-04-06T20:27:30Z N: mDNS responder started for kegcop.local.
2023-04-06T20:27:30Z N: HTTP registered via mDNS on port 80.
2023-04-06T20:27:30Z N: Async HTTP server started on port 80.
2023-04-06T20:27:30Z N: Open: http://kegcop.local to view application.
2023-04-06T20:27:30Z N: Sensors: Initializing sensors.
2023-04-06T20:27:32Z N: MQTT: Creating process.
2023-04-06T20:27:32Z N: Deserialized version information.
2023-04-06T20:27:34Z N: UPTIME: Started with no history.
2023-04-06T20:27:38Z V: Taplist.io: secret or venue not set, skipping send. ('' / '')
2023-04-06T20:27:39Z N: Started Keg Cop version 1.1.1/1.1.1 (main) [916eada].
2023-04-06T20:27:39Z V: Sending /api/v1/info/tempcontrol/.
2023-04-06T20:27:39Z N: Not processing /api/v1/info/tempcontrol/; request type was GET.
2023-04-06T20:27:39Z V: Sending /api/v1/info/thisVersion/.
2023-04-06T20:27:39Z V: Sending /api/v1/info/thisVersion/.
2023-04-06T20:27:39Z V: Sending /api/v1/info/uptime/.
2023-04-06T20:27:40Z V: Sending /api/v1/info/uptime/.
2023-04-06T20:27:40Z V: Sending /api/v1/info/heap/.
2023-04-06T20:27:40Z V: Sending /api/v1/info/heap/.
2023-04-06T20:27:40Z V: Sending /api/v1/info/resetreason/.
2023-04-06T20:27:40Z V: Sending /api/v1/info/resetreason/.
 
Last edited:
His ears perk up. Other project?
It's Fermentrack related. I'll announce it over there when it's ready for preview/public consumption, but I'm partially blocked due to Espressif's software issues.

Anyways, here's a pic of my Swissflow sensor build I just finished following the conversion of my kegerator to Duotight:


IMG_5307 Medium.jpg


I still have a fair bit of work left to get my kegerator completely converted over, but I'm looking forward to getting everything assembled into a nice, well-structured Keg Cop build!
 
The crashing is (as Thorrak knows) part of the Core libs. I was able to get it back to the 1.0.6 and compiled so now I should be able to get a stable but updated version out here soon. Who wants to test?
 
Reset the controller, and now it connects, but the software seems to be crashing:
That's because the SPIFFS partition is corrupt.

Simple instructions here.... I am not a programmer or expert in HA.... All of this has been scrapped together from what I found on the web.
Can we not share another project on this thread? Sooner or later someone is going to ask for help with it and that will just confuse people.
 
Can we not share another project on this thread? Sooner or later someone is going to ask for help with it and that will just confuse people.
Ditto. Maybe @doug293cz can spin those off to their own thread?
I expect creating a separate thread will be left to those that will own same. It's not the realm of a moderator...

Member @lagerbeer666 started his own thread here:
https://www.homebrewtalk.com/threads/home-assistant-port-of-kegcop.726488/
I've deleted his posts in this thread that were related to that, as well as any (obsolete) responses to it.
 
Back
Top