LisaM wrote: ↑26 Mar 2018, 22:26
V0.2.2 released, firmware can be found in the release section.
Issues solved:
- Async ESP32 not working (work-around implemented: devices should be sending data to domoticz now)
Features added:
- Fixed IP Address possible for ESP32
Hi Lisa,
Thanks for all your hard work on this!
I just tried the latest (20180326) binaries for ESP32 on my Lolin32 Lite board. Getting closer but still some issues.
2048.bin:
Working with only the BME280 and DomoticzMQTT, can see Async processes running, values being updated - all good.
BUT, when I tried to add DS18B20, after clicking Submit to select DS18B20 the bottom two thirds of the screen was the one for BME280 (I2C address, three value settings (Temp, Press, Hum)!
I tried 'Submit' at the bottom anyway...
The main Devices page showed the "real" BME280, plus a device with three values (Temperature, Pressue, Humidity)! (It's a mutant!!
)
4096.bin:
Similar to above. OK with Domoticz and BME280, Async process running, values being updated, all good.
This time when I tried to add DS18B20, it crashed as soon as I clicked 'Submit' to select it. See log below.
Code: Select all
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: Pages: Entering Device Settings Page
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: Pages: POST
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: id
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: 0
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: New Plugin: 4
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: Pages: Create Device
2018-03-27 15:06:20 [debug] uPyEasy-uPyEasy: Pages: New Device and plugin choosen: 4
2018-03-27 15:06:21 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
2018-03-27 15:06:22 [debug] uPyEasy-uPyEasy: Plugins: Init device: dummy with plugin: 4
2018-03-27 15:06:22 [debug] uPyEasy-uPyEasy: Protocols: GetQueue controller 192.168.1.12-Domoticz MQTT-1
2018-03-27 15:06:22 [debug] uPyEasy-uPyEasy: Plugin: ds18 contruction
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Plugin: ds18 contruction
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Plugins: Init device: dummy ,instantiate plugin: DS18B20
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Utils: uPyEasy Name
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Plugin: ds18 init
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Plugins: Read device store: dummy
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Plugin: ds18 init, pin used:
2018-03-27 15:06:23 [debug] uPyEasy-uPyEasy: Hal: pin =
Traceback (most recent call last):
File "boot.py", line 3, in <module>
File "upyeasy/__init__.py", line 65, in main
File "picoweb/__init__.py", line 298, in run
File "uasyncio/core.py", line 146, in run_forever
File "uasyncio/core.py", line 101, in run_forever
File "picoweb/__init__.py", line 210, in _handle
File "picoweb/__init__.py", line 210, in _handle
AttributeError: 'Log' object has no attribute 'exc'
OSError: [Errno 2] ENOENT
MicroPython v1.9.3-479-gb63cc1e-dirty on 2018-03-26; ESP32 module with ESP32
Type "help()" for more information.
>>>
Hope this helps to hunt down the problem.
So it looks like Async processes are fixed now, but an issue with DS18B20.
I really appreciate all the work you are doing on this. If there's any more information you'd like, let me know. Can I help in any way with debugging?
Cheers
Andrew