Open frspp opened 1 year ago
Is your feature request related to a problem? Please describe. Script https://github.com/ALLTERCO/shelly-script-examples/blob/main/ble-ruuvi.js does not give an error if bluetooth is off. It runs but without any results.
Describe the solution you'd like Give an error and stop script execution if bluetooth is off.
Additional context Add any other context or screenshots about the feature request here.
@frspp Thank you for the report. The same logic for checking the Bluetooth will be applied to all scripts that are using BLE as the ble-shelly-blu.js example.
ble-shelly-blu.js
Is your feature request related to a problem? Please describe. Script https://github.com/ALLTERCO/shelly-script-examples/blob/main/ble-ruuvi.js does not give an error if bluetooth is off. It runs but without any results.
Describe the solution you'd like Give an error and stop script execution if bluetooth is off.
Describe alternatives you've considered
Additional context Add any other context or screenshots about the feature request here.