I erased, re-flashed it and rebooted. This time I got a different error with picoweb which happened even before I added a BME280 or any other device in the web interface.
Here is the full log for you to look at, HTH.
Still on LOLIN32 LITE. Firmware is v53, the modified version you mentioned in your message at 16:13 yesterday. Just one device physically connected, that is a DS18B20, but I never got as far as defining devices this time round.
Code: Select all
>>>
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_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:4364
load:0x40078000,len:0
load:0x40078000,len:10992
entry 0x4007a6c4
[0;32mI (438) cpu_start: Pro cpu up.[0m
[0;32mI (438) cpu_start: Single core mode[0m
[0;32mI (438) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (442) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (448) heap_init: At 3FFDCDD0 len 00003230 (12 KiB): DRAM[0m
[0;32mI (454) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (460) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (467) heap_init: At 4009005C len 0000FFA4 (63 KiB): IRAM[0m
[0;32mI (473) cpu_start: Pro cpu start user code[0m
[0;32mI (43) cpu_start: Starting scheduler on PRO CPU.[0m
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-254-g41a9bdc-dirty on 2018-01-06; ESP32 module with ESP32
Type "help()" for more information.
>>>
import upyeasy
[0;32mI (44029) modsocket: Initializing[0m
>>> upyeasy.main()
loaded sink log
loaded sink console
loaded sink syslog
2000-01-01T00:00:44.005 [debug] uPyEasy: Init: Init constructor
2000-01-01T00:00:44.005 [debug] uPyEasy: Init: Entering init
2000-01-01 00:00:44 [debug] uPyEasy: Init: Create directory config
2000-01-01 00:00:45 [debug] uPyEasy: Init: Create directory plugins
2000-01-01 00:00:45 [debug] uPyEasy: Init: Create directory protocols
2000-01-01 00:00:45 [debug] uPyEasy: Init: Create directory scripts
2000-01-01 00:00:45 [debug] uPyEasy: Init: config Table
2000-01-01 00:00:45 [debug] uPyEasy: Init: network Table
2000-01-01 00:00:45 [debug] uPyEasy: Init: protocol Table
2000-01-01 00:00:46 [debug] uPyEasy: Init: controller Table
2000-01-01 00:00:46 [debug] uPyEasy: Init: hardware Table
2000-01-01 00:00:46 [debug] uPyEasy: Init: dxpin Table
2000-01-01 00:00:46 [debug] uPyEasy: Init: dxmap Table
2000-01-01 00:00:46 [debug] uPyEasy: Init: plugin Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: pluginstore Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: device Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: service Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: notification Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: advanced Table
2000-01-01 00:00:47 [debug] uPyEasy: Init: Create Config Record
2000-01-01 00:00:48 [debug] uPyEasy: Init: Create Network Record
2000-01-01 00:00:48 [debug] uPyEasy: Init: Create Hardware Record
2000-01-01 00:00:48 [debug] uPyEasy: Hal: hardwaredb init
2000-01-01 00:00:48 [debug] uPyEasy: Hal: hardwaredb esp32
2000-01-01 00:00:48 [debug] uPyEasy: Init: Create dxpin Record
2000-01-01 00:00:49 [debug] uPyEasy: Hal: dxpins_init
2000-01-01 00:00:49 [debug] uPyEasy: Hal: dxpins_init esp32
2000-01-01 00:00:49 [debug] uPyEasy: Init: Create advanced Record
2000-01-01 00:00:49 [debug] uPyEasy: Hal: Init
2000-01-01 00:00:49 [debug] uPyEasy: Hal: init, network record present
2000-01-01 00:00:49 [debug] uPyEasy: Hal: esp32
I (62789) wifi: wifi firmware version: 111e74d
I (62789) wifi: config NVS flash: enabled
I (62789) wifi: config nano formating: disabled
[0;32mI (62789) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (62799) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (62819) wifi: Init dynamic tx buffer num: 32
I (62819) wifi: Init data frame dynamic rx buffer num: 64
I (62819) wifi: Init management frame dynamic rx buffer num: 64
I (62829) wifi: wifi driver task: 3ffde13c, prio:23, stack:4096
I (62829) wifi: Init static rx buffer num: 10
I (62839) wifi: Init dynamic rx buffer num: 0
I (62839) wifi: Init rx ampdu len mblock:7
I (62839) wifi: Init lldesc rx ampdu entry mblock:4
I (62849) wifi: wifi power manager task: 0x3ffe8734 prio: 21 stack: 2560
[0;33mW (62859) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration[0m
[0;32mI (63019) phy: phy_version: 362.0, 61e8d92, Sep 8 2017, 18:48:11, 0, 2[0m
I (63029) wifi: mode : null
I (63029) wifi: mode : sta (30:ae:a4:39:16:e4)
[0;32mI (63029) wifi: STA_START[0m
2000-01-01 00:00:49 [debug] uPyEasy: Hal: esp32, ssid empty
[0;32mI (65479) network: event 1[0m
2000-01-01 00:00:52 [debug] uPyEasy: Hal: esp32, Scan: Ssid found: TALKTALK65AFF2 Strength: -40 dBm Security: 0
2000-01-01 00:00:52 [debug] uPyEasy: Hal: esp32, Scan: Open ssid found: TALKTALK65AFF2
2000-01-01 00:00:52 [debug] uPyEasy: Hal: esp32, Scan: Ssid found: ESPeasy3_Boiler_3 Strength: -82 dBm Security: 3
I (67079) wifi: n:11 2, o:1 0, ap:255 255, sta:11 2, prof:1
I (67079) wifi: state: init -> auth (b0)
I (67229) wifi: state: auth -> assoc (0)
I (67299) wifi: state: assoc -> run (10)
I (67299) wifi: connected with TALKTALK65AFF2, channel 11
[0;32mI (67299) network: event 4[0m
I (70299) wifi: pm start, type:0
[0;32mI (75899) event: sta ip: 192.168.1.6, mask: 255.255.255.0, gw: 192.168.1.1[0m
[0;32mI (75899) network: GOT_IP[0m
2000-01-01 00:01:02 [debug] uPyEasy: Hal: esp32, ip: 192.168.1.6
2000-01-01 00:01:02 [debug] uPyEasy: Hal: nic present
2000-01-01 00:01:02 [debug] uPyEasy: Protocols: Load
2000-01-01 00:01:02 [debug] uPyEasy: Protocols: Init protocol records
2000-01-01 00:01:03 [debug] uPyEasy: Protocols: Load protocol domoticz_mqtt
2000-01-01 00:01:03 [debug] uPyEasy: Protocols: Create protocol Record: domoticz_mqtt
2000-01-01 00:01:03 [debug] uPyEasy: Protocols: Load protocol domoticz_http
2000-01-01 00:01:03 [debug] uPyEasy: Protocols: Create protocol Record: domoticz_http
2000-01-01 00:01:03 [debug] uPyEasy: Protocols: Init protocol records, run async loop
2000-01-01 00:01:03 [debug] uPyEasy: Plugins: Load
2000-01-01 00:01:03 [debug] uPyEasy: Plugins: init plugin records
2000-01-01 00:01:03 [debug] uPyEasy: Plugins: Load frozen plugin switch
2000-01-01 00:01:03 [debug] uPyEasy: Plugin: switch contruction
2000-01-01 00:01:03 [debug] uPyEasy: Plugins: Create frozen plugin Record: switch
2000-01-01 00:01:04 [debug] uPyEasy: Plugins: Load frozen plugin bme280
2000-01-01 00:01:04 [debug] uPyEasy: Plugins: Create frozen plugin Record: bme280
2000-01-01 00:01:04 [debug] uPyEasy: Plugins: Load frozen plugin ds18
2000-01-01 00:01:04 [debug] uPyEasy: Plugin: ds18 contruction
2000-01-01 00:01:04 [debug] uPyEasy: Plugins: Create frozen plugin Record: ds18
2000-01-01 00:01:04 [debug] uPyEasy: Plugins: Init plugin records, run async loop
2000-01-01 00:01:04 [debug] uPyEasy: Utils: Sys hostname
2000-01-01 00:01:05 [debug] uPyEasy: Utils: uPyEasy Name
Set syslog hostname 0.0.0.0
reloaded sink syslog
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Entering SetTime
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Entering GetNtpTime
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: network Table
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Using NTP Hostname: pool.ntp.org
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: TimeZome offset: 60
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Received UTC NTP Time: 568630782
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Timezone corrected NTP Time: 568634382
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: DST corrected NTP Time: 568634382
2000-01-01 00:01:05 [debug] uPyEasy-uPyEasy: Hal: Received NTP Time: 568634382
2000-01-01 00:01:06 [debug] uPyEasy-uPyEasy: Hal: StartTime: 568634382
2018-01-06 09:59:42 [debug] uPyEasy-uPyEasy: Main: Pre-loading home page
2018-01-06 09:59:42 [debug] uPyEasy-uPyEasy: Hal: get_ip_address esp32, ip: 192.168.1.6
2018-01-06 09:59:42 [debug] uPyEasy-uPyEasy: Main: uPyEasy Main Async Loop
* Running on http://192.168.1.6:80/
stack: 2032 out of 15360
GC: total: 96000, used: 61552, free: 34448
No. of 1-blocks: 955, 2-blocks: 129, max blk sz: 868, max free sz: 1496
568547964.096 <HTTPRequest object at 3ffb9a20> <StreamWriter <socket>> "GET /"
stack: 2032 out of 15360
GC: total: 96000, used: 62912, free: 33088
No. of 1-blocks: 999, 2-blocks: 133, max blk sz: 868, max free sz: 1496
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Pages: Entering Home Page
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Utils: Unit Number
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Hal: Getting local time in seconds
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Hal: get_ip_address esp32, ip: 192.168.1.6
2018-01-06 09:59:49 [debug] uPyEasy-uPyEasy: Pages: Home Page Data collected
568547964.096 <HTTPRequest object at 3ffbe4d0> <StreamWriter <socket>> "GET /static/upyeasy.css"
static/upyeasy.css
stack: 2032 out of 15360
GC: total: 96000, used: 74992, free: 21008
No. of 1-blocks: 1155, 2-blocks: 157, max blk sz: 868, max free sz: 1312
568547964.096 <HTTPRequest object at 3ffc56d0> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 80416, free: 15584
No. of 1-blocks: 1269, 2-blocks: 172, max blk sz: 868, max free sz: 973
568547964.096 <HTTPRequest object at 3ffb8400> <StreamWriter <socket>> "GET /config"
2018-01-06 09:59:53 [debug] uPyEasy-uPyEasy: Pages: Display Config Page
2018-01-06 09:59:53 [debug] uPyEasy-uPyEasy: Pages: Init Config Table
stack: 2032 out of 15360
GC: total: 96000, used: 71664, free: 24336
No. of 1-blocks: 1051, 2-blocks: 138, max blk sz: 868, max free sz: 968
568547964.096 <HTTPRequest object at 3ffbeaa0> <StreamWriter <socket>> "GET /static/upyeasy.css"
stack: 2032 out of 15360
GC: total: 96000, used: 72912, free: 23088
No. of 1-blocks: 1085, 2-blocks: 143, max blk sz: 868, max free sz: 968
568547964.096 <HTTPRequest object at 3ffc2280> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.css
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 64640, free: 31360
No. of 1-blocks: 1020, 2-blocks: 133, max blk sz: 868, max free sz: 805
568548011.779 <HTTPRequest object at 3ffb9a90> <StreamWriter <socket>> "POST /config"
2018-01-06 10:00:01 [debug] uPyEasy-uPyEasy: Pages: Update config
stack: 2032 out of 15360
GC: total: 96000, used: 71264, free: 24736
No. of 1-blocks: 1271, 2-blocks: 142, max blk sz: 868, max free sz: 1117
568548011.779 <HTTPRequest object at 3ffc39b0> <StreamWriter <socket>> "GET /config"
2018-01-06 10:00:03 [debug] uPyEasy-uPyEasy: Pages: Display Config Page
2018-01-06 10:00:03 [debug] uPyEasy-uPyEasy: Pages: Init Config Table
stack: 2032 out of 15360
GC: total: 96000, used: 71552, free: 24448
No. of 1-blocks: 1045, 2-blocks: 137, max blk sz: 868, max free sz: 982
568548011.779 <HTTPRequest object at 3ffba5e0> <StreamWriter <socket>> "GET /static/upyeasy.css"
static/upyeasy.css
stack: 2032 out of 15360
GC: total: 96000, used: 78768, free: 17232
No. of 1-blocks: 1158, 2-blocks: 154, max blk sz: 868, max free sz: 982
568548011.779 <HTTPRequest object at 3ffc4450> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 65232, free: 30768
No. of 1-blocks: 1022, 2-blocks: 134, max blk sz: 868, max free sz: 853
568548011.779 <HTTPRequest object at 3ffb9c60> <StreamWriter <socket>> "GET /"
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Pages: Entering Home Page
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Utils: Unit Number
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Hal: Getting local time in seconds
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Hal: get_ip_address esp32, ip: 192.168.1.6
2018-01-06 10:00:13 [debug] uPyEasy-uPyEasy: Pages: Home Page Data collected
stack: 2032 out of 15360
GC: total: 96000, used: 67904, free: 28096
No. of 1-blocks: 1046, 2-blocks: 137, max blk sz: 868, max free sz: 1421
568548011.779 <HTTPRequest object at 3ffbe6c0> <StreamWriter <socket>> "GET /static/upyeasy.css"
stack: 2032 out of 15360
GC: total: 96000, used: 69440, free: 26560
No. of 1-blocks: 1092, 2-blocks: 143, max blk sz: 868, max free sz: 1421
568548011.779 <HTTPRequest object at 3ffc3440> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.css
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 80496, free: 15504
No. of 1-blocks: 1271, 2-blocks: 170, max blk sz: 868, max free sz: 968
568548011.779 <HTTPRequest object at 3ffc6c40> <StreamWriter <socket>> "GET /tools"
2018-01-06 10:00:20 [debug] uPyEasy-uPyEasy: Pages: Entering Tools Page
2018-01-06 10:00:20 [debug] uPyEasy-uPyEasy:
2018-01-06 10:00:20 [debug] uPyEasy-uPyEasy: Pages: Display Tools Page
2018-01-06 10:00:20 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
stack: 2032 out of 15360
GC: total: 96000, used: 66720, free: 29280
No. of 1-blocks: 1043, 2-blocks: 134, max blk sz: 868, max free sz: 918
568548011.779 <HTTPRequest object at 3ffbe0e0> <StreamWriter <socket>> "GET /static/upyeasy.css"
static/upyeasy.css
stack: 2032 out of 15360
GC: total: 96000, used: 73904, free: 22096
No. of 1-blocks: 1154, 2-blocks: 151, max blk sz: 868, max free sz: 918
568548011.779 <HTTPRequest object at 3ffc50a0> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 79344, free: 16656
No. of 1-blocks: 1268, 2-blocks: 165, max blk sz: 868, max free sz: 918
568548011.779 <HTTPRequest object at 3ffc65d0> <StreamWriter <socket>> "GET /info"
2018-01-06 10:00:23 [debug] uPyEasy-uPyEasy: Pages: Entering info Page
2018-01-06 10:00:23 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Utils: Unit Number
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: python info
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: python esp32
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: board info
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: board esp32
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Pages: Entering info Page unicode machine id error: UnicodeError()
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: Getting local time in seconds
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: get_ip_address esp32, ip: 192.168.1.6
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: get_ip_gw pyboard, ip: 192.168.1.1
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: get_ip_netmask pyboard, ip: 255.255.255.0
2018-01-06 10:00:24 [debug] uPyEasy-uPyEasy: Hal: get_ip_dns pyboard, ip: 192.168.1.1
stack: 2032 out of 15360
GC: total: 96000, used: 71136, free: 24864
No. of 1-blocks: 1086, 2-blocks: 143, max blk sz: 868, max free sz: 1018
568548011.779 <HTTPRequest object at 3ffbfb50> <StreamWriter <socket>> "GET /static/upyeasy.css"
stack: 2032 out of 15360
GC: total: 96000, used: 72672, free: 23328
No. of 1-blocks: 1132, 2-blocks: 149, max blk sz: 868, max free sz: 1018
568548011.779 <HTTPRequest object at 3ffc5420> <StreamWriter <socket>> "GET /static/upyeasy.js"
static/upyeasy.css
static/upyeasy.js
stack: 2032 out of 15360
GC: total: 96000, used: 65232, free: 30768
No. of 1-blocks: 1031, 2-blocks: 134, max blk sz: 868, max free sz: 862
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "upyeasy/__init__.py", line 56, in main
File "picoweb/__init__.py", line 275, in run
File "uasyncio/core.py", line 138, in run_forever
File "uasyncio/core.py", line 97, in run_forever
File "picoweb/__init__.py", line 193, in _handle
File "picoweb/__init__.py", line 192, in _handle
NameError: local variable referenced before assignment
>>>