Skip to main content
11 events
when toggle format what by license comment
Oct 30, 2023 at 15:18 answer added kleurbleur timeline score: 0
Apr 22, 2023 at 20:11 answer added Giorgio timeline score: 0
Apr 17, 2023 at 18:16 answer added Thomas Weller timeline score: 2
Apr 17, 2023 at 18:03 comment added Thomas Weller if (WiFi.status() == WL_CONNECTED){ return true; } else {return false; } is cargo cult programming. It can be simplified to return WiFi.status() == WL_CONNECTED. Similar for if (setupWifi() == true), which is equal to if (setupWifi())
Apr 17, 2023 at 18:02 comment added Thomas Weller Also, I don't get why esp_sleep_enable_timer_wakeup() is only activated if it was possible to connect to the Wifi. If it was not possible to connect to the Wifi, you still goto into deep sleep. But you don't want to wake up after 30 seconds then?
Apr 17, 2023 at 17:58 comment added Thomas Weller If setupWifi() == false, then dht.begin(); is never called but it still enters loop() and tries to read temperatures. Not sure if that's good or eventually runs into undefined behavior.
Apr 17, 2023 at 17:29 comment added Thomas Weller FD probably means File Descriptor and 48 is the number. If it's Linux-like, basically everything is treated as a file: files, sockets, processes, ...
Mar 6, 2023 at 5:08 comment added Damiano Miazzi I’m using VS code with platformio, I see this error on the esp32 serial print out, the one that post the data to the server .
Mar 6, 2023 at 3:44 comment added jsotola at which device and in which program are you seeing the error?
S Mar 6, 2023 at 3:16 review First questions
Mar 6, 2023 at 3:25
S Mar 6, 2023 at 3:16 history asked Damiano Miazzi CC BY-SA 4.0