Closed sergeolkhovik closed 10 months ago
Hi, I think it could be
# ${libraries.wifimanager8266}
being commented out.
Introduced in 0.9.9 under BREAKING.
Hope this helps
@DigiH thanks for the note, but that might work only for self-build image. I have problems only with RF module, when I flash sonoff-rfbridge-direct-firmware.bin that includes Pilight - all is fine, no exception and reboot. But I need RF due to Digoo PIR sensor. I think I'm OK even with 0.9.4 - all my sensors in that location work OK, the only thing that stopped working - RF relay (don't know why, may be version, may be anything else), but I replaced it with Sonoff Basic + ESPHome and all is fine now (even better, now I know the state of the relay).
@sergeolkhovik Sorry, I thought you made a self-built image for that with the above environment details ;)
[env:rfbridge]
platform = ${com.esp8266_platform}
board = esp8285
lib_deps =
${com-esp.lib_deps}
# ${libraries.wifimanager8266}
${libraries.esp8266_mdns}
# ${libraries.rc-switch}
build_flags =
${com-esp.build_flags}
'-DZgatewayRF="RF"'
; '-DZgatewaySRFB="SRFB"'
'-DOMG_VERSION="0.9.11"'
'-DRF_RECEIVER_GPIO=4'
'-DRF_EMITTER_GPIO=5'
'-DLED_INFO=13'
'-DLED_INFO_ON=0'
'-DGateway_Name="N6"'
'-DBase_Topic="homeassistant/"'
'-DESPWifiManualSetup=true'
'-Dwifi_ssid="xx"'
'-Dwifi_password="xx"'
'-DMQTT_USER=""'
'-DMQTT_PASS=""'
'-DMQTT_SERVER="xx"'
'-UMQTTsetMQTT'
Did you also try basing it on the sonoff-rfbridge-direct environment and making your changes/additions there, instead of using the rfbridge environment? Especially with the platform definition differences.
All the best
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
I have Sonoff RF bridge (with hw modification) and it ran 0.9.3 (self-compiled with some settings, including MQTT server configured as DNS name, not an IP), so I decided to reflash with some fresh version and I found that version 0.9.11 constantly throws an exception and reboots. Here's some MQTT log:
And here's the exception info:
I did decoding and here's the info:
That is rfbridge-firmware.bin, and I even tried to recompile 0.9.11 with my settings:
The problem is still here. OK, I decided to flash precompiled rfbridge 0.9.3 and all is fine, 0.9.4 runs OK as well. 0.9.5 fails, after some short time it stops responding, here's the log
And then AP with very strange name (like �) appears on my phone (looks like it writes something wrong into flash storage).