ALLTERCO/shelly-script-examples

ble-shelly-dw.js does not do anything

Closed this issue · 4 comments

Hello!

I've got an issue with the script of: ble-shelly-dw.js

I got a Shelly BLU DoorWindow. As you can see in the screenshot, I copied the address inserted and run the script. Nothing happens. Where is my error?

image

Thank you for your help!

I'm not sure, but could it be, that there is something running in the back? When I restart the device and start /stop the script I get in the log:

shelly_user_script.:371 Running 'script_1.js'...  14:42:48
shelly_bluetooth_sca:65 bluetoth scanner already taken

Now I disabled the gateway option in the Bluetooth settings. Now I get rif of the "scanner already taken" issue. But still no reation.

image

Hello, @DaveMe81
Yeah the Bluetooth scan is shared across the device between observer, scripts and etc.

For the script "to do" something you have to populate both window open/close functions.

I installed FW 1.2.2 now, and it working now. So, deactive the bluetooth gateway in the settings, starting the script and voila works.