Hi, I’m a new user of OMG,
I have a sonoff rf-bridge which is on my network and announcing to Mosquito MQTT but no test device/sensor messages are appearing on MQTT despite the red led flashing which I believe indicates a transmission has been received(?).
I’m hoping someone can help me understand why I’m not seeing device/sensor messages as I seem to have exhausted steps/ideas from the docs and community posts.
I have a rev2 board. Since no message had been received (and not knowing why/or better) I modified the board with the direct hack (Hardware Itead Sonoff RF Bridge Direct Hack · xoseperez/espurna Wiki · GitHub) to give a wider set of remote control code support.
In follow-up I found a suggested platformio.ini env configuration in the forum which I have embellished with wifi ssid and password, and mqtt server params, as:
[env:rfbridge-pilight]
platform = ${com.esp8266_platform}
board = esp8285
lib_deps =
${com-esp.lib_deps}
${libraries.esppilight}
${libraries.esp8266_mdns}
build_flags =
${com-esp.build_flags}
‘-DZgatewayPilight=“Pilight”’
‘-DGateway_Name=“OMG-rf”’
‘-Dwifi_ssid=“redacted”’
‘-Dwifi_password=“redacted”’
‘-DMQTT_SERVER=“redacted”’
board_build.flash_mode = dout
(wifi credentials dont seem to take and I still need to use the network manager wizard to configure ssid/password ?)
I have performed an erase (pio run --target erase) as re-flash for good measure but with the same outcome.
In MQTT explorer I see 2 topic trees:
(1 - OMG server name I set)
- LWT = Online
- version = version_tag (should this have a value?)
- SYStoMQTT = (shortened)uptime:version:freemem:rssi:SSID:ip:mac:wifiprt:modules=PilightHADDiscovery
(2 - homeassistant)
binary_sensor
- [MAC Address]
switch
- [MAC Address]restart
- [MAC Address]erase
sensor
- [MAC Address]gatewayPilight
I assume home assistant is out of the box, its not anything I’ve configured. None of binary_sensor, switch, sensor topics/values change when I activate my test devices.
My test devices are a magnetic door open sensor and a generic 433 keyfob with 4 buttons that I acquired from banggood - as mentioned previously all actions with either door sensor or keyfob trigger a red led on the rf-bridge.
Let me know if there is any other detail I can proivde to explain my setup.
Please let me know what I’ve overlooked or done wrong.
Thanks.