Hi to all.
I’m new to wled but know how to compile and stuff.
Lights work almost perfectly, sometimes need powercycle but otherwise perfect.
I had really bad flickering on esp8266 at colder weathers.
I have a problem with ESP32S2 and DS18B20, just can’t get it to work.
ESPHome worked just fine with same setup.
platformio_override.ini:
; Options
; -------
; USERMOD_DALLASTEMPERATURE - define this to have this user mod included wled00\usermods_list.cpp
; USERMOD_DALLASTEMPERATURE_CELSIUS - define this to report temperatures in degrees celsius, otherwise fahrenheit will be reported
; USERMOD_DALLASTEMPERATURE_MEASUREMENT_INTERVAL - the number of milliseconds between measurements, defaults to 60 seconds
; USERMOD_DALLASTEMPERATURE_FIRST_MEASUREMENT_AT - the number of milliseconds after boot to take first measurement, defaults to 20 seconds
;
[env:lolin_s2_mini_usermod_dallas_temperature_C]
extends = env:lolin_s2_mini
build_flags = ${common.build_flags} ${esp32s2.build_flags}
-D WLED_RELEASE_NAME=LolinS2Mini_Temp
-D USERMOD_DALLASTEMPERATURE
-D USERMOD_DALLASTEMPERATURE_CELSIUS
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_INFRARED
-D WLED_DISABLE_HUESYNC
-D WLED_ENABLE_ADALIGHT
-D WLED_DISABLE_LOXONE
;-D WLED_WATCHDOG_TIMEOUT=5
; DEBUG reserves GPIO1
;-D WLED_DEBUG
-D TEMPERATURE_PIN=17
;-D CONFIG_ASYNC_TCP_USE_WDT=1
lib_deps = ${env.lib_deps}
makuna/NeoPixelBus @ 2.6.9
https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
milesburton/DallasTemperature@^3.9.0
;milesburton/DallasTemperature
;paulstoffregen/OneWire@^2.3.7
https://github.com/PaulStoffregen/OneWire.git
;OneWire@~2.3.5
;robtillaart/DS18B20@^0.1.12
Sorry I don’t speak Spanish but I kinda know what you say.
ESP32S2 is not supported, I should use another type ESP32?
As i said, WLED is working perfectly fine (occasional hickups with wifi connection but nothing major).
Usermod is not working right or there is some library issue or something else.
I compiled firmware myself.
as i told you esp32 s2 mini is not compatible with wled. I don’t know how you managed to install it on s2 mini. however if you use an esp 32 it works great bye
Check the “.pio/libdeps” folder for your custom build environment.
Not sure if you’re having the same issue, but I was having problems compiling the Temperature usermod for a D1 mini, and after some poking around found it wasn’t copying all the libraries to my new build environment.
I just copied the libraries over from another build and everything compiles OK now. Hopefully that gets it going for you too.
I’m hoping to get it going on a lolin s2 next as well