You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm building an MQ2 sensor on NodeMCU v3 board and I'd like to use deep sleep feature so that to run on low power profile. Having read many guides of how to build such a system with thinger IoT I came up with a code that (from my perspective) should run well, but it doesn't and I receive Fatal exception 28(LoadProhibitedCause) error.
One more note: I had to set #define DISABLE_TLS because otherwise it would fail with [_SOCKET] Error while connecting! error.
But then another issue turns up.
2. client_.available() always returns 0; To solve this problem we need to set a constant delay(50);
3. Another issue occurs when using write_bucket() method and ESP.deepsleep(). With confirm_write set to false (default value) the board ESP8266 goes sleep before data has been written. confirm_write=true by default solves the problem.
Hi,
I'm building an MQ2 sensor on NodeMCU v3 board and I'd like to use deep sleep feature so that to run on low power profile. Having read many guides of how to build such a system with thinger IoT I came up with a code that (from my perspective) should run well, but it doesn't and I receive Fatal exception 28(LoadProhibitedCause) error.
One more note: I had to set #define DISABLE_TLS because otherwise it would fail with [_SOCKET] Error while connecting! error.
My set-up:
thinger-io 1.6.2
NodeMCU v3 LoLin 1.0
Arduino IDE 1.8.8
esp8266 2.5.2
thinger.io 2.13.0
ESP code
https://justpaste.it/5gbmh
Stack trace:
https://justpaste.it/1lig7
The text was updated successfully, but these errors were encountered: