Hello,Thanks again for the project and the learning opportunities it gives!!
i have a new issue as i am trying to migrate from mega2560 to wt32-eth board.
IR is working correctly, RF receive doesn’t seem to respond.
I’ve tried swapping the pins, but the available pins are quite limited on this device.
I’ve tried 12, 14,15, 36 and 39 without any luck.
[platformio]
default_envs =
esp32-wt32-eth01-ble-eth-OTA
[env:esp32-wt32-eth01-ble-eth]
platform = ${com.esp32_platform}
board = esp32-gateway
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager32}
${libraries.irremoteesp}
${libraries.rc-switch}
; ${libraries.decoder}
build_flags =
${com-esp.build_flags}
;'-DZgatewayBT="BT"'
'-DZgatewayRF="RF"' ;only IR for testing.
; '-DZgatewayIR="IR"'
'-DESP32_ETHERNET=true'
'-DETH_PHY_ADDR=1'
'-DETH_PHY_POWER=16'
'-DETH_CLK_MODE=ETH_CLOCK_GPIO0_IN'
;'-DGateway_Name="OpenMQTTGateway_ESP32_WT32-ETH01"'
;'-DjsonPublishing=false'
;'-DjsonReceiving=false'
'-DsimpleReceiving=true'
'-DsimplePublishing=true'
'-DGateway_Name="OMqGW_ir_rf"'
'-DMQTT_USER="xxx"'
'-DMQTT_PASS="xxx"'
'-DMQTT_SERVER="192.168.1.77"'
'-DMQTT_PORT="1883"'
'-DpubIRunknownPrtcl=false'
'-DRawDirectForward=false'
'-DrepeatIRwMQTT=true'
'-DRF_DISABLE_TRANSMIT'
'-DLED_INFO_ON=LOW'
'-DLED_ERROR_ON=LOW'
'-DLED_SEND_RECEIVE_ON=LOW'
'-Dmqtt_max_packet_size=1024'
'-DIR_EMITTER_GPIO=14'
'-DIR_RECEIVER_GPIO=39'
;
'-DRF_EMITTER_GPIO=12'
'-DRF_RECEIVER_GPIO=36'
'-Dota_password="otapassword"'
[env:esp32-wt32-eth01-ble-eth-OTA]
extends = env:esp32-wt32-eth01-ble-eth
upload_protocol = espota
upload_port = 192.168.1.100 ;OpenMQTTGateway_ESP32_WT32-ETH01.local
upload_flags =
--auth=otapassword
--port=8266
Could it be related to the board definition in platformio? i can see that there is a board definition available:-
[env:wt32-eth01]
platform = espressif32@4.2.0
framework = arduino
board = wt32-eth01
but only from @4.2.0 I have no idea how this impacts the compilation of the project, is it worth trying?
Also tried a second SRX882 to be sure
Thanks for pointers.