Closed murfy76 closed 1 year ago
Hello,
Do you have a development environement to try the newesr versions of the library? It is located into platformio.ini
Helllo,
I've tried download recent development OMG version and compared platformio.ini in dev and 1.5.0 version but can't find any newer libraries. After flash dev version ESP freeze and OTA not working anymore. Access to the ESP USB is not easy. I'll try to fix it tomorrow. Thank you.
Hello,
I found out that to reproduce this bug you don't need even sensor connected. Just ESP32 and TSL2561 enabled. I also tried Nodemcu and there is no problem, just on ESP32 boards. All other modules was disabled, just wifimanager and TSL2561. No compilation errors. Thanks.
Peter
--- [env:nodemcuv2-all-test] ---
***** WELCOME TO OpenMQTTGateway **
N: WiFi ok with manual config credentials
N: Setup TSL2561 on adress:
E: No TSL2561 detected
N: OpenMQTTGateway modules: ["TSL2561"]
N: ** Setup OpenMQTTGateway end **
W: MQTT connection...
N: Connected to broker
--- [env:esp32dev-all-test] ---
***** WELCOME TO OpenMQTTGateway ** N: OpenMQTTGateway Version: 1.5.0-dev N: WiFi ok with manual config credentials N: Setup TSL2561 on adress: (freeze)
Try maybe to update the library version to the latest in platformio.ini:
tsl2561 = Adafruit TSL2561@1.0.3
to
tsl2561 = Adafruit TSL2561@1.1.0
If it doesn't work, try to go down the platform version for the ESP32 https://github.com/1technophile/OpenMQTTGateway/blob/bf004b078beb40e268ca8423e7e1e4fc4bf2a4a8/platformio.ini#L173 from 6.1.0 to 3.5.0
I tried upgrade library to TSL2561@1.1.0 then also to Adafruit Unified Sensor@1.1.9 but with same result - ESP freeze at boot. Downgrade to espressif32@3.5.0 did the trick :-) Tested on two ESP32 boards with and without sensor. Thank you.
I was suspecting this, maybe open an issue into the TSL2561 repository about compatibility with the latest ESP32 platform
Issue opened on TSL2561 repository, thank you.
I was not able to explain changes needed to make on TSL2561 repository. Same issue is on OMG 1.6.0 release - need to downgrade to espressif32@3.5.0. Thank you.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
TSL2561 setup will complete freeze ESP boot after upgrade from OMG 1.4.0 to 1.5.0. To run OMG v1.5.0, TSL2561 needs to be disabled. Same result on two boards - ESP32 and Lolin32 Lite. Thanks.
Steps to reproduce the behavior:
N: OpenMQTTGateway Version: 1.5.0 N: WiFi ok with manual config credentials N: Setup BME280/BMP280 on address: 0x76 N: Bosch BME280 successfully initialized: 0x60 N: Setup TSL2561 on adress:
(freeze)
Expected behavior ESP will continue to run no matter of setup result of TSL2561.