-
Notifications
You must be signed in to change notification settings - Fork 228
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
Upgrade from .105 to .106 seems to break something - BK7231T #387
Comments
BK7231T. My device is Light Bulb. I am running NTP without problems. |
First I would like to note that in Safe Mode, the pins are disabled, so it's normal that you can't toggle relays. The idea is that in Safe Mode, you can revert breaking changes and then put back device in normal mode. Same goes for "can't open the Web App". Safe Mode has only basic features enabled, otherwise it wouldnt' be "Safe" Maybe it's LFS related? Was your autoexec.bat lost? |
Yes, that's what I thought as well. Fair enough. I'm not sure how to proceed and downgrade via OTA, when I only can connect in AP mode. I don't have an http-server in that AP-mode-network. Only way would be to open up the plugs again and flash via UART/serial. |
I don't use the LFS or autoexec.bat. Also I usually press the "quick OTA" button because I don't need to preserve the LFS. |
remove mqtt and ntp config in safe mode. disable other drivers if present? ensure it's run for >30s, then reboot and see if it comes back on normal wifi? |
@mariusbach are you on T platform or N? @btsimonh is it possible that N platform packs config struct differently than T? Just a wild guess. |
@openshwprojects I'm using the T platform.
This worked! It's back online. I'll try to re-enable the drivers one by one. |
I did setup the MQTT server as a first step, no driver enabled. Return:
Device behaves normal otherwise. |
Once I enable |
we'll need someone who has BL0942 + serial logs. Or to comb source code changes.... |
also, try |
Did some testing: MQTT settings always empty.
|
I did execute this as custom command: Device immediately is offline. |
I did use the webapp for logging and sent command startdriver BL0942 from the webapp, result:
|
@mariusbach there is a "TESTPOWER" driver which acts like a BL0937/BL0942 device. Can you try again but with "startDriver TESTPOWER" instead of BL0942 and see what happens? |
@openshwprojects Ok, done, result:
|
I did an downgrade to .105, all working nicely. Upgraded to .106 and the issue is present. I changed the title of this issue accordingly. |
I just noticed the new issue, I propose to continue there: #389 |
I have upgraded 4 wifi sockets from .105 to .108.
3 have BL942, Periodic Energy Statistics and NTP drivers enabled - all of them are not reachable after the upgrade. No ping possible, not even a reaction to a button press on the device itself.
However, I can unplug/plug a few times until they start in AP mode; I can connect and use the menus, but I cannot downgrade the firmware because the web app doesn't open. Also I cannot toggle the relais of the plug, not via software and not via hardware device button.
1 socket has no driver enabled - upgrade went through but MQTT connection results in error. I was able to downgrade to .105 though.
The text was updated successfully, but these errors were encountered: