Problems with Shelly BLU Door/Window Sensor

I also tried to display the signal strength. But here too, even though the channel was assigned directly, I only get the value “NULL”. Therefore I assume that the status “CONFIG PENDING” really means: I have no connection. What is the problem and what am I doing wrong? If I don’t get the BLU Motions to OPENHAB, they are worthless to me and I can send them back or throw them in the trash. Somehow they are not compatible with openhab. Or are there also shellys that don’t work with openhab?

I’ve been reading through a number of German videos and forum posts over the last hour. What I understood is: If I create the thing via the OH UI, I cannot create an item via Visual Studio. So I would have to create thing and item via Visual Studio, right? Then I don’t need the binding because I only need it so that I can establish the connection with OH via the UI. Since I have never created things and items with the text editor, I am once again faced with the next big unsolvable problem: How do I create things and items for the BluMotion and Blu door/window sensor in Visual Studio? Is there a description somewhere? And how do I get them uploaded to openhab so that I can put the items in the model and therefore control and query them? So far I have created the bindings for 120 things and 844 items in the UI and they mostly work (unless some BMW or Mercedes or BLINK changes or closes the access :-))

You need the binding regardless. Creating things or items via files or via UI has no effect on how they work in openHAB.

1 Like

OK. Thank you for the clarification. Until now I had always understood it differently. But if I need the binding, why can’t it recognize my BluMotion sensors - even though it is explained in the description? It doesn’t even bother me that OH doesn’t automatically find the sensors via the scan and that I then have to add the thing manually. But the fact that you then have to add the motion detection channel manually via text is a sign to me that the binding is not working properly. Or am I wrong about that too? What do I have to do so that I can connect the BluMotion sensors to OPENHAB and query the “motion” or “open/closed” channel? Unfortunately I can’t do it via the UI. I’ve had the sensors here for a month and can’t get them integrated into the OH.
I take my hat off to you for being able to do this. I would like to learn from you.

Then I’ll probably look again for German-language instructions on how to get things and items into Openhab via text files. It’s interesting that the rules that you write in Visual Studio are immediately available in the OPENhab application. But I can’t find the item that I entered in “BLUMOTION.ITEMS” as described above anywhere. I hope that I can find a syntax description somewhere and that I will soon have my first experience of success here too. :slight_smile:

Switch MotionX “MotionX Bewegung” {channel=“shelly:shellyblumotion:xxxxxxxxxxxx:sensors#motion”}

What does “MotionX” mean to you? I don’t have MotionX!!! “MotionX movement” in the quotation marks is certainly the label that I can determine myself. Switch is clear to me and with “channel=” I then replace the area up to # with the THING-ID from the UI. Correct? At least that’s how I did it. But what did I do wrong to be able to access the channel in the UI in my Thing? Or is it no longer assigned to a thing and I then have to enter the channel differently?

Ok. All I know:
A) you need the Shelly Binding from openhab (I do not use the Shelly Beta Plus/Pro)
B) you need at least one Shelly device with Bluetooth Gateway. Eg. Shelly Plug S Gen 3 - which has WLAN and Bluetooth Gateway Shelly Plug S Gen3 White – Shelly Europe - but there are also other devices. Only with such a gateway you can use the Shelly BLU Motion.
C) You need to have connected and running the device from B) eg. the Shelly Plug S Gen 3
D) Then in the openhab UI of the Thing “Shelly Plug S Gen 3” you need to switch on (to enable) “Enable BLU Gateway Support”
E) This will install the script on that device. If you look at the Shelly Plug S Gen 3 web-interface (via the correct IP address) you should see under the left side menu “Script” the “oh-blu-scanner.js” - when you click on it - you see the source code. on the very top you see the version. In my case it is Version 0.4
F) Then - wenn all is working - you can add your Shelly BLU Motion. In order to find the device - make sure your BLU Motion device is close enough to the Plug S Gen 3 device. Press the reset button of the BLU Motion device (you have to open the device) and THEN you start to SCAN for the BLU Motion device. In the UI of openhab → Things → press the blue PLUS symbol at the bottom right → click on Shelly binding → check the discovered things if you find the BLU Motion (if yes all ok) if not click on SCAN button
Hope this helps. Let me know.

1 Like

MotionX is just any name you can give. Could be KichenMotion or LivingroomMotion

Thank you for your guidance.
hmerk explained the whole thing to me in German via PM because I was always missing important information.

I’ve done it now too. I always understood that I should turn off the Bluetooth gateway on my Shelly devices. I did it too. But I haven’t read anywhere that you have to activate the Bluetooth gateway for the devices in OH.

But that’s because of my bad English… And the lack of support in German.

However, I still had to uninstall the entire shelly binding, restart the Raspberry, re-integrate the shelly binding… but it now works perfectly for me too.

I often experience OH problems that others in the forum don’t have. I can’t say what it is…

I’ll have chatgpt create a German openhab manual for me. Then it will definitely be easier for me.

In any case: thanks to you for helping yourself too.

I wish you a happy new year.

Best regards
Frank