Hi!
I wanted to build pilight for my esp32. But in the environment choice pilight is only vailable for nodemcu. Is it possible to build pilight for my esp32?
Best regards,
M
Hi!
I wanted to build pilight for my esp32. But in the environment choice pilight is only vailable for nodemcu. Is it possible to build pilight for my esp32?
Best regards,
M
I tried to make my own build, it builds, but it failed when using it:
[E][WiFiClient.cpp:365] write(): fail on fd 55, errno: 113, âSoftware caused connection abortâ
failure_number
1
failed, rc=
-4
try again in 5s
I did this platformio.ini:
Added:
default_envs = esp32dev-pilight
Added env:
[env:esp32dev-pilight]
platform = ${com.esp32_platform}
board = esp32dev
lib_deps =
${com-esp.lib_deps}
${libraries.rc-switch}
build_flags =
${com-esp.build_flags}
â-DZgatewayPilight=âPilightââ
â-DGateway_Name=âOpenMQTTGateway_ESP32_Pilightââ
And now its working, Problem was in the routerâŚ
Hello,
Your env definition should be :
[env:esp32dev-pilight]
platform = ${com.esp32_platform}
board = esp32dev
lib_deps =
${com-esp.lib_deps}
${libraries.pilight}
build_flags =
${com-esp.build_flags}
â-DZgatewayPilight=âPilightââ
â-DGateway_Name=âOpenMQTTGateway_ESP32_Pilightââ
The library used should be pilight and not rcswitch.
Thanks, I have my switches working but still not my Nexa NBA-001 Thermometer (Hideki). It does not seem to be supported by anythingâŚ
Have you checked/tried RFLink?