Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RF Bridge -- missing "RF" item if I add a BME280 sensor #1157

Closed
kuppe234 opened this issue Aug 25, 2018 · 7 comments
Closed

RF Bridge -- missing "RF" item if I add a BME280 sensor #1157

kuppe234 opened this issue Aug 25, 2018 · 7 comments

Comments

@kuppe234
Copy link

Hello,
If I add a BME280 sensor to the RFBridge, the menu item "RF" will be lost. How can I fix this?
My build flags:
build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT -DBMX280_SUPPORT=1 -DI2C_SDA_PIN=14 -DI2C_SCL_PIN=12
It still worked in 1.13.0, not anymore in 1.13.1 and 1.13.2b.

Greetings, kuppe

@kuppe234 kuppe234 changed the title RF Bridge -- missing "RF menu" if I add a BME280 sensor RF Bridge -- missing "RF" item if I add a BME280 sensor Aug 25, 2018
@xoseperez
Copy link
Owner

There was an issue in the web UI image inclusion that was introduced about a week ago and solved just yesterday in the dev branch. Check #1142. Update your copy and reflash.

@kuppe234
Copy link
Author

Sorry, but it does not work. I have the current dev branch (5104b4c), but the RF menu item does not exist.

@xoseperez
Copy link
Owner

Can you check what does the info command return? It should specify what web UI image is using and it should be the "FULL" one.

@kuppe234
Copy link
Author

INFO return:
....
[923395] [INIT] BOARD: ITEAD_SONOFF_RFBRIDGE
[923399] [INIT] SUPPORT: BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB HOMEASSISTANT I2C LED MDNS_SERVER MQTT NTP SCHEDULER SENSOR TELNET TERMINAL WEB
[923413] [INIT] SENSORS: BMX280
[923415] [INIT] WEBUI IMAGE: FULL
....

@xoseperez
Copy link
Owner

I see. The full webUI image was not including the RFBridge code. I didn't foresee that anyone would add sensors to the RFBRIDGE... I have fixed it now (it adds ~800bytes to the full image). Can you please test the latest version in dev?

@xoseperez xoseperez added this to the 1.13.2 milestone Aug 27, 2018
@kuppe234
Copy link
Author

Great, it works, all menu items are present.
I have no problem with the size of the full image (476832 bytes for rfbridge-direct without API, with SENSORS)
Thank you, kuppe.

@xoseperez
Copy link
Owner

Cool, I think I will release 1.13.2 now.
Thak you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants