-
Notifications
You must be signed in to change notification settings - Fork 55
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
local_name empty #47
Comments
What scan are you doing? Active or passive? |
Hi I'm ussing the follow example: `/**
// Shelly BLU devices: let ALLTERCO_DEVICE_NAME_PREFIX = ["SBBT", "SBDW"]; let ALLTERCO_MFD_ID_STR = "0ba9"; let SCAN_DURATION = BLE.Scanner.INFINITE_SCAN; let SHELLY_BLU_CACHE = {}; function scanCB(ev, res) { BLE.Scanner.Start({ duration_ms: SCAN_DURATION, active: true }, scanCB);` Local name is empty always Note that i commented the line that checks local_name |
From what device you are receding this data? Update the device to latest beta firmware version. |
Thanks it's an issue with the beta4, unfortunately you have to wait for fix to use it |
Ops, the scanner can be used with stable 0.14.1, just downgrade from the app |
Hello @taulfsime local name doesn't work either used the https://github.com/ALLTERCO/shelly-script-examples/blob/main/ble-shelly-scanner.js |
Hi @taulfsime, |
@sciestep can you post the output of Shelly.GetConfig here? |
Hi @taulfsime,
|
Thanks, @sciestep. Could you please open the web page of the device, disable the ble gateway option, reboot the device and check again? |
Hi @taulfsime , |
Yeah, as for now you can not change the default scan stared by the firmware which is used to forward the packets to the cloud. If you need only packets from some devices, you can make a map in the script for each bluetooth device as Mac address and its type. furthermore its not good running always active scan because this will drain the battery of the device faster. |
@ayasystems Please check the conversation above, I know that probably this isn't the answer you were looking for, but this is how it works for now. Let's close the issue, as it isn't related to the script directly. Thank you. |
My blu has not local name so all scripts are not working....
Whats the way to rename the local_name of blu device?
Regards
The text was updated successfully, but these errors were encountered: