@merck Thanks for the update! Iāve upgraded to v3.3.7-beta and the blue light still spins when I block the bridge at the router. Is this expected behavior?
Then reboot. It will still say enabled: true but this is actually disabled. We are fixing the polarity of the field and the typo for next beta. But this should get you going.
Would like to check with you all the desired behavior of the Config AP on a specific case.
In the event that Bond canāt connect to the Wi-Fi network (because of a SSID/Password wrong/changed, router shuts down, get out of the Wi-Fi range, etc), the Config AP should broadcast or not?
Right now it doesnāt broadcast, as the documentation says:
[Added in v3.3.3] If true (default), Bond will attempt MQTT connection. If MQTT connection fails, Bond becomes discoverable again via Config AP. If false, Bond will not attempt MQTT connection and Config AP will remain deactivated.
Iām asking because I faced this (took my office Bond to my home to work remotely some days) and would like to know what you think and want for the feature.
@endy I can definitely see how the config network can be useful even with MQTT disabled. My preference would be that the config network only be broadcast if the bridge canāt connect to wifi within 5 minutes of bootup. Requiring a power cycle makes it an intentional action and would satisfy the scenario of moving the bridge between locations without having it become reconfigurable just because the wifi is temporarily down.
Actually this scenario can be already handled by performing a Wi-Fi Reset aka āGreen resetā, where you hold down the setup button until the LED ring goes solid green then release. Only the network settings are erased, and the Config network re-appears.
@endy I think we can handle the expectation here by calling this an āOffline Modeā, with the expectation that Wi-Fi and/or internet connections will be unstable, and users do not want their devices rebooting (watchdog) or becoming discoverable (Config AP).
Lastly, for any security conscious users reading, we understand the concern that the Config AP reappearing after a Wi-Fi/Internet connection failure may be a security concern. For this reason, when the Config AP re-appears more than 10 minutes after power cycle, the PIN number is required before the Bond can be set up on a new account.
Accessing the API is done with a computer (Mac, Windows, 'nix) and a command line / terminal.
You will need some information from the Bond Bridge (which you can find in the Bond app) and have your computer connected to the same network as the Bond Bridge (whether or not is has internet).
In the computerās command line, you will put a variation of this command: curl -i http://< bridge >/v2/api/mqtt -H "BOND-Token: < token >" -X PATCH -d '{"enable": false}'
You will have to replace < bridge > with the IP address of your Bond Bridge, and the < token > with your ālocal tokenā; both of these are visible in the BOND app under the Bridgeās Settings page (expand advanced to see Local Token, and you can also tap Network Info from there to see the IP address).
Also, depending on Mac vs Windows vs 'nix computers / command line / terminals, you may have to mess with the " or ā after -d above, so that it properly formats the string of data.
If all of that gets you started down the right path, good!
If not, please let us know where you got lost.
Thank you for the detailed instructions. Appreciated.
I see that @y8yPE6AM reports making this change, but that āthe blue light is still there.ā By this I presume @y8yPE6AM means the blue light on the Bond is still blinking/spinning after making the change.
Although the instructions are clear, Iām somewhat reluctant to start doing things I really donāt understand. My entire reason for making the change is to stop the blinking/spinning bue light, and if the change does not do that, I wonāt mess around with something I donāt understand.
Soā¦
Has anyone else tested and can confirm making this command line change stops the blue light blinking/spinning? Can you also confirm that after the change you can still use the app to adjust the intensity/brightness of what I presume is now a solid blue light?
Any word from Bond on if / when they might add capability to the app to indicate the Bond should work offline?
When I change the MQTT setting on my bridge, I use enabled (with a d at the end), notenable as suggested above. The API Docs also say the name of the setting is āenabledā.
For anyone visiting this thread in the future, please refer to this post for the correct commands to put your bridge in offline mode, disable MQTT and the Watchdog service, and prevent the blue light from spinning.
Some of the early posts in this thread incorrectly specify the use of enable instead of enabled.