-
Notifications
You must be signed in to change notification settings - Fork 506
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
Support for Osram Smart+ Motion Sensor #881
Comments
I have this sensor running in my home for two weeks now. |
Sounds great, thanks. I'll put them aside for the time being. |
Hey could you please describe the "manual fiddling" a little bit further? I added the sensor and its reporting changes in the presence. I can see this through the deCONZ GUI. When I am trying to get the sensor data through REST with a request. The answer is always the following:
So the interesting values are always set with null. |
The most important step is configuring the ConBee as CIE in the motion sensor
This should be enough to make the motion sensor work. I have also created bindings of the following clusters to the gateway via the Binding Dropbox:
|
Thank you very much for the fast response. After the CIE configuration it works. I am a little bit confused about the reporting of the presence value (unoccupied). I think there are two values to influence this behaviour. The first is the "PIR Occupied to Unoccupied Delay" and the second the "config.duration" value of the sensor. For testing purposes I set the "PIR Occupied to Unoccupied Delay" to value 2 and the "config.duration" via REST API to the value 60 (default I think). Unoccupied to Occupied: The difference is 32s. When I observe this in the deCONZ GUI I can see the the Occupancy value being 0x01 for just 2s. Exactly how I set it up. Why takes it 32s to report it via the websocket? |
Are there any options to connect the sensor just by the rest module? |
Currently the GUI is needed to do the missing steps as described above. Looking forward to add these steps to the automatic join process, as well as the temperature cluster setup, in the next two releases. |
Issue #881 Fix resources and binding for temperature clusters are created.
The sensor is supported in 2.05.57 and added in the wiki supported devices section. |
I am not sure if the update added the sensor. I am not able to pair the Osram smart+ motion Sensor to my deconz gateway. I am currently on 2.05.59 and did a reset of the sensor. When searching for a sensor device (others) it won't find the osram sensor. |
The following sequence is needed to join the sensor:
After 5–30 seconds the sensor should be added. |
I added the Sensor to the deconz phoscon app with the latest version. What about the „????????“ within the Data Code Line? |
Are there any plans for a configuration of the sensor via phoscon? |
What do you mean by configuration? You can use the sensor in the Motion sensor control of the Phoscon App. https://phoscon.de/en/app/doc#group-edit-sensors-en |
The package says something about configuration via app. As I previous had a Tradfri motion sensor I thought one could configure something like a Lux-level or a switching duration. |
The sensor doesn't provide light measurement only motion trigger and temperature measurement. |
Any chance to get rid of the tampered flag? |
This annoys me as well. |
Hello, for the additon of an Osram Smart+ Motion Sensor to Phoscon (I tried both stable and beta), I reset it by pressing and holding the sensor button for more than 10 seconds and then followed these steps:
I can see the Osram Smart+ Motion Sensor in Deconz - see screenshot: However, I cannot add it as sensor in Phoscon. I tried adding it as switch, but that did not work either. Do you have any hints for me how to add the Osram Smart+ Motion Sensor to Phoscon? Thank you so much! |
It s possible this device is invisible in phoscon. If the device is realy invisible, can you compare the capture from this issue with your configuration ? |
There are no 3rd party apps connected to Deconz. What exactly should I check in the API? And what do you mean by "capture from this issue with your configuration"? EDIT: I tried to give it a name in Deconz, instead. After hitting [return], I see the following message:
... without the name sticking, i.e. the field is reset back to empty when clicking on another node/device and then back to that sensor. |
Yep to fill the fields, you need to press the "read" button, and make the device react to wake it up. The name is not important, better to compare the values in the table. Without third applications, you need to check direclty the API for exemple with Cf https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/ |
I clicked on all "read" buttons on that node/sensor, and all fields (see above linked screenshot) are filled. They look the same as here in the first post of this thread. I don't know, however, where the other screenshots in the first post on the right hand side of the "Node Info" tab are coming from (same with the first screenshot titled "Basic Cluster": Where is that from?). Can I get the API key from Phoscon or Deconz? I will call it a day for today. But thank you so much for your help. I am going to try and investigate further in the coming days. |
If you haven't the "node info" panel, on the deconz menu, "channel" then check "node info". The other panel can be enabled here too. On the previous link you have a way to obtain an API key else with curl But if you have all like the capture, no reason for your sensor don't be created, perhaps invisible and only usable with third applications, but for me it s strange, it s an osram sensor .... |
Do you know of other cases of invisible devices and if/how this was fixed? What could be a reason for a device like a sensor from a known manufacturer (like Osram) to not be visible on Phoscon but visible on Deconz? Which 3rd party app would you recommend? I have Android devices at home but would like to primarily use the switches. The normal-sized Osram Switch works nicely, but the mini switch does not (a different topic, though). |
Has any other owner of an Osram Smart+ Motion Sensor found a way to get it working in Phoscon? How? If I had to allow a 3rd party app access to my Phoscon gateway, how secure would this be, and which one would be recommendable? |
Good question ^^, the phoscon dev have perhaps not included it yet, but as you said, it s a big manufacture, so wait for some other return, perhaps the problem is from deconz. But if you can't see the device in "sensor" part in API, the problem is from deconz, and using third will change nothing. I think deconz is supported by all third app possible ^^, depend of what you need, something light, something complete, something easy to use, power user, ect .... No problem for security or recommandation. But first, try to see in the API if the device is realy invisible, or wait for some days for a return from an other user that have the device. You can too ask for the phoscon dev (there is a github for that), phoscon is perhaps enought for you. BTW , you have too problem with the 3 button switch ? You have the issue link ? |
I have checked with But there is not the Osram Smart+ Motion Sensor that appears in Deconz but not in Phoscon. So if it does not appear with the aforementioned method And yes, I have a similar problem with the 3-buttons mini switches: They do appear both in Deconz and also in Phoscon under switches, but they are not listed when I try to apply a light to a switch - then only the 2 normal-sized (4 buttons) switches are listed for selection. Maybe it is better to have a separate issue about this, though. EDIT: Regarding the Mini Switch, please see there: |
OK so it mean propably the API don't support it. But it s strange, it seem it have worked before ... Just can you compare, the model ID (need to be "Motion Sensor-A"), the IEE address (need to start by 0x000DEF) and the manufacture code (need to be 0x104E) After that, as your device is already in deconz.
It will trigger an inclusion. But if after that, the entry is still not created in the sensor part in the API, I m sorry but I think we will need to use log. Remark: |
Deconz shows for the Motion Sensor correctly |
The "Cluster Info" tab in Deconz is always empty, even why I click on any object in the right-side window. Is this normal? |
Well, the sensor is shown in Deconz, and there is no change in comparison to yesterday: It still does not appear in Phoscon, though. How can I provide a log? |
RESOLVED! 👍 I have manually updated both the Deconz FW and Phoscon according to this guide on my RaspBee II module: With these files: Then I physically powered off all lights. Actually, I assume that this was the trick and vaguely remember to have read somewhere that for pairing the Osram Smart+ Motion Sensor to Phoscon, all devices within 10 metres around the Phoscon gateway should be physically powered off before inserting the battery into the sensor (holding it close to the gateway) and while pressing the little button on the side of that sensor and releasing it after the battery is inserted. Obviously, other powered devices/lights that are connected to the Phoscon gateway seem to disturb a correct pairing of that sensor (at least that is my guess). Now it is of course not 100% clear whether also the update described above was really needed, and I am really sorry about this. But at least every user/owner of this sensor should be able to get it working. Maybe you first want to try it with your current firmware and Phoscon version and only update of that fails. BTW, the sensor immediately appeared in Deconz with the name |
There is still a minor issue, i.e. the manufacturer is not shown as Osram (but it should), but as CentraLite, and the version number is not correctly shown (question marks instead). See screenshots: Can this also be resolved, please? Again, thanks for your/everybody's help! :-) |
Same here. Not really an issue for me just some visual imperfection. |
Yeah, maybe there was something "special" in my case, e.g. the problem sitting in front of the PC/gateway. ;-) And I can also live with the missing version number and wrong manufacturer. Is the temperature sensor working for you, too? Does the Osram Smart+ Mini Switch work for you (in case you have it)? See there: |
Lol, this device seem working since the version 57, So I haven't asked wich one version you had ... The IEE was my fault too, you are right, was 0x000d6f. For "CentraLite", it s normal, it s the value send by the device itself, so deconz use the same. |
Sorry, but I am not sure if I understood you right: Do you mean that the Osram Smart+ Mini Switch works for you? |
Yep it works, perhaps not in phoscon, but it works, (the one with model id = Lightify Switch Mini) |
That's nice to know! :) Would you mind sharing a few hints how I can accomplish this? Sorry if the answer is obvious. 😊 |
From discord, working 2/3 days ago
And from manual
|
But the steps you have shared are to show the mini switch in deconz, where I can see it already. The problem is that the switch does also show up under switches in phoscon, but not under switches in phoscon where a switch should be selected for a group of lights. And the text you have quoted is for the 4-buttons switch, which works already fine for me. Now I am still curious to know how people really use the mini switch if it cannot be assigned to a group of lights in phoscon. Do you or others use a 3rd party app that works with deconz to get them paired? |
Oups sorry, I have cumulated 2 users. For the group feature, have you tested the old web app ? On my side I never "pair" device with each other, all is managed by the third app, and I haven't this device to test, so I can't say you if the working mode is normal or not with phoscon. |
Thanks for the hint about the old app, which I will try. And I might also try the Hue Essentials app. Finally, I would like to check if I can use my Logitech Harmony remote control (with hub). |
Wow, the Logitech Harmony recognises all lights and plugs out-of-the-box, and I can switch them on/off, and in/decrease the lights. |
Sorry, this thread here is actually for the Osram Smart+ Motion Sensor. For issues about the Osram Smart+ Switch Mini, please let us continue there: |
Hi,
It would be great if those could be supported as well.
Let me know if anything else might be required.
Thanks!
The text was updated successfully, but these errors were encountered: