-
Notifications
You must be signed in to change notification settings - Fork 530
IKEA Vallhorn motion sensor device request #7513
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
Conversation
|
will have a look later today (at home) |
|
I am not sure if this is due to other DDF's in your branch. Nvm, the error is about your DDF. |
|
no it is in mine, did not know and cannot find documentation on fingerprint and did some tweaking that probbely is giving this "correct " issue |
|
FYI: |
|
Just by curiosity the native file for lux is not working ? https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/generic/illuminance_cluster/lux_to_lightlevel.js Lot of code is able to work natively, sometime you just need to use But you are in better place than me to say what is working or not ^^ The issue in the validator is here
In the fingerprint. Occupancy Sensor = 0x0107 And on your DDF there is some binds I don't see he utility, not used in the DDF core. For exemple attribute 0x0030 on cluster 0x0406 or attribute 0x0033 and 0x0032 on the Cluster 0x0000 some I think |
|
Nope ^^. Else don't say it's me that have say that to you, but you can remove all the fingerprint, I never use them.
need to be
And the second one need to be
|
|
fixed the device items , now are valid (and it think correct.) while adding the lux, I looked at the values shown in the GUI and they looked the same for the SML003 and the vallhorn I figured lets use the same script, but that might return wrong results. will setup the vallhorn next to the SML003 to see if the lux matches, as sad this was a quick setup to please my son who bought one and was really disappointed it did not show up in phoscon ;-) |
|
Ha right, haven't see this js for philips, so you are certently right. |
|
Missed ^^.
And this IDK where it's from ...
|
|
just pushed with I think all your comments addresed, thanx |
|
Looks good :) Thanks |
|
Wanted to pick one up today, but the Amsterdam IKEA store doesn't carry it yet; they need to ditch the current stock of Trådfri motion sensors first. Will try another store this weekend. |
|
@ebaauw hengelo did have them at same price as the on "sale" old once, |
|
Just to be sure, there is bind/report for the presence attribute (0x0406/0x0000) , but not for the luminance (0x0400/0x0000) and you have On one sensor but not the second one. |
|
shall I add the bind and the static name to the second one? and create a new PR? |
No, can just update this one. For the bind, like I have said, if it work for you, it mean you don't need it. If you miss value update, it mean you need it. |
|
^^ with added productname, |
|
Thank you for your work on this. I get no illuminance sensor update within phoscon (shows only value 0lux) without the binding. After manually adding the illuminance binding I can see the sensor value. |
|
I do have reading without, but looking closer it seems static, that might have been from my testing... |
|
Ha ? Edit: |
|
With binding and repairing, lux works for me. |
|
If I am running Gateway Version 2.25.1 I should connect it on the normal way? |
|
not sure what the normal way is but all lates IKEA stuff all need 4 (not more or less) button presses on the connection button |
Afaik, that has always been the case for IKEA sensors and controllers. There is no “normal” way across all manufacturers. |
setting ep to 3, |
I ask because I updated to 2.25.1 and try to connect it but it wasn't recognized. Any Secret hints for this one? |
Ha yes, right, I have missed this one. |
Not really surprising since deconz release notes do not mention it and this PR adds support for Milestone 2.25.2 🙂 Feel free to use the DDF right away. |
|
ok ;) sorry my fault |
|
Thanks for the DDF, I've had some trouble to get it working, but I slowly grasp how to. However, despite the motion sensing part working perfectly, the luxmeter stays at 0 (and curiously shows 1,0 lx in Home Assistant - running on a raspberry pi). Any idea why or how to debug? Thanks EDIT : I have managed to get it working! First, I have added this in the first subdevice ( in the "items" section after Then, in the to include the refresh interval. I have played with different values, it doesn't seem to change the interval, always 5 seconds. Before this change, the reading wasn't refreshing at all. Finally, I have added this: at the beginning of the bindings section, as @Smanar had pointed out. Restarted the deConz addon and everything is working! |
|
Ha yes right, still missing this part. It's possible the bind was done previously, so even if it's missing in the DDF the device can work for another one, but not out of the box. |
|
@pawg |
|
@noud-github now your PR was valided/merged, you can delete your branch, or the complete fork if you can't, to start on a fresh base. The file your are editing ATM is a "desynchronised" version.
Your fork is ATM is same time ahead and behind, it can be solved but not easy to do, for only 1 file edited, better to start on a fresh base. Sorry for all the work it need, but github is a realy nice machine that don't permit mistake ^^. |
|
merged (current) master into my (forked) branch so should be able to create PR again |
|
Finally managed to get hold of one of these. As suggested by the screenshots, it's now a proper motion sensor on endpoint 0x02. It sends "no more motion detected" events, and honours PIR Occupied to Unoccuplied Delay, which should be exposed as It still sends On with Timed Off from endpoint 0x01, like the Trådfri motion "sensors" (or rather controllers). It seems to use the configured On Time before resending this command. Haven't yet checked whether it still supports group bindings; if it does, we should expose I think we should expose two ZHAPresence resources, one for the controller function on endpoint 0x01 (with |
|
when will 2.25.2 released? |

Created a DDF file with a JS file,
My 9 year-old, bought one so I had to quickly make it work ;-)
see #7454