Since version 2.04.67 deCONZ will just use the group which the hue dimmer created on it's own and create bindings for 0x0006 and 0x0008 clusters to this group. Does this mean that (theoretically) it could work without a Hue bridge, interacting directly with the lamps/groups, like the Hue dimmer switch? Let's try the other clusters. Interesting: they also expose 0019 OTAU where innr told me explicitly that their firmware cannot be updated over the air. Before, these fields would be populated, after which the REST API would create the corresponding resources. See products. This is done by pressing and holding in the reset button on the back of the sensor until the LED blinks red I think. Yeah, I couldn't find an attribute for config.sensitivity or config.sensitivitymax. As far as I can tell it works: touchlink is no longer initiated when holding the On button, button events still work, and the group from the web app still works. Put hub into 'discovering device'. If you create a HomeKit automation, to turn the light on when the Hue motion sensor detects motion, with both light and motion sensor connected to a Hue bridge, there would be a noticeable delay, because homebridge-hue needs to poll the Hue bridge. As workaround putting the battery out-and-in again should fix it till I figure out how to correct it on the fly, it's a bit more tricky than for the switch. Will deCONZ poll these like the Hue bridge does? Datatype 0x19 is a 16-bit bitmap. However, WebSocket all of a sudden sends two events for Kitchen motion sensor ZHAPresence resource. If I select them in the GUI, the checkmark disappears. Repeat this test for the Hue dimmer switch. This does lead to some new insight: the changed event of the other motion sensor is probably caused by of the 0x0001 cluster attribute reporting - not by the 0x0406 attribute reporting. The Hue motion sensors show as HA? I'm using 2 motion sensors to detect occupancy within the room. Will deCONZ poll these like the Hue bridge does? The community here are great. Incidentally, Hue lights don't support attribute reporting. deCONZ figured out my groups and scenes from the lights - I'm quite impressed. Run in, run out. I think the dimmer has (at least) two modi: one for standalone and one for connected to a bridge. No change in behaviour of the motion sensors, good! There is no attribute providing the data but when a binding between 0xFC00 cluster and gateway endpoint exists, the switch will fire commands which provides the info. Next, I've paired sensor with IKEA light. So I wanted to write this guide to talk through everything you need to know about this useful Hue … I think pairing should work for lights which are already in the network but it's disallowed by the specification to pair a non-in-network light to a trust center (RaspBee) network. I think it's quite nice being inter-operable also on the app level. Also, the deCONZ GUI no longer shows a battery symbol on the motion sensors and dimmer switches. First open your Philips hue application and go to Settings/Accessory Setup. It seems the motion sensor to take some 15 seconds to no longer detect motion. I think exactly that's the case since unlike other switches these bindings aren't there by default. Maybe it just needs some time, maybe my ZigBee network is overloaded (I'm still running the RaspBee as a router on the Hue bridge network). ledindication causes the sensor's led to blink when motion is detected; usertest according to the documentation makes the sensor more "agressive" - I think it won't go asleep while usertest is on. Not certain though. Powered by Discourse, best viewed with JavaScript enabled. Attribute Id seems to be 0x31, Datatype 0x19 and data "0x08 0x00". In my homebridge-hue plugin, I create a single HomeKit accessory for a Hue motion sensor with five services: Accessory Information, Motion Sensor, Light Sensor, Temperature Sensor, and Battery. I've also found the config for the deCONZ GUI, so I can change the name of the devices there as well. Same here, it seems that the bindings are not yet created, because the sensor was registered before 2.04.40 version. I can pair to HUE hub and not add to any HUE room, and do it in Home App, but if I add a rule in Home or in 3rd party App (like Hesperus), the motion sensor doesn’t trigger any action (rule already setup). I think I did manage to delete a binding from the motion sensor to the Hue bridge: the Hue doesn't update lastupdated for that cluster anymore (so I assume Philips setup unicast bindings from the sensor to the bridge). Ikea Tradfri range – Hue Essentials app – The relevant Binding here is between cluster 0xfc00 and the gateway endpoint, it might be that the dimmer switch only support one binding for this cluster. The ZHALight type is used for light sensors in some commercial projects, changing it would break some apps which are not under our control, so we decided to keep it as ZHALight. We have also improved the ZCLDB XML file with missing descriptions for some devices but are keen to merge if you can provide further additions. I'm trying to implement sensitivity and sensitivitymax, but I need some help. I'm starting deCONZ manually from the command line as user pi in /home/pi, which is writeable. Re-entered the ZLL Link Key, and joined the network. I've worked on some improvements to also configure switches which are already part of the network. No change in behaviour for the Living Room motion sensor, good! Yes, of course, I meant attributes. Have fun! Incidentally, deCONZ also created superfluous ZHASwitch sensor resources for my innr PL110 and UC110 lights. Shutdown en powered off the Raspberry Pi (to reset the RaspBee board). I changed the attribute reporting maxInterval setting for the Occupany attribute is this is reflected in the rate at which the Hue bridge changes the lastupdated attribute. I've started a Wiki page for that - I don't think listing every deviation as an issue would be manageable. Yes new installations always will use this path, older installations used different paths which were created by different Qt versions, which was a pain in the neck to discover :-) deCONZ takes care of it and will either use an existing older path or create a new one as above. The changes will be available in a few days. Is your space too big for one sensor? Philips Hue transforms your every day. devices (note the question mark) in deCONZ and the rest API plugin shows them as ZHAPresence, whereas the Hue bridge shows them as ZLLPresence. Currently, my homebridge plugin does an unauthenticated GET /api/config to confirm the thing it discovered is indeed a Hue bridge, but deCONZ doesn't support that call. Bummer. It only happened this time, though. I only found one other reference to vendor in the file, but for a command instead of for an attribute. The battery level is exposed in each sensor resource. The outdoor sensor comes with everything you need to get started right away. I'll try an create a pull request for that - probably easier than adding a new device. The state.lux attribute to the ZHALight resource is gone, but no state.lightlevel [EDIT This is due to the sensor not yet being discovered in full. We’ll occasionally send you account related emails. FAQ for Motion Sensor. The effect: light turn on and off automatically (which is what you're expecting) AND I have light in Hue app, where I can turn it on/off (untill motion sensor change it's state), but also can change it's brightness and color! While trying to attach the dimmer, two of my motion sensors where found spontaneously by deCONZ. The Hue motion sensor provides this (and the client Level Control, Color Control, Groups, Scenes, Identify). I could probably create a PR for the API side, but I still feed a bit uncomfortable with the ZigBee side. Successfully merging a pull request may close this issue. I'm still receiving the buttonevents in WebSocket, and the dimmer controls the lights directly at the same time. That's it. Sorry, I meant the duration attribute in the ZHAPresence sensor's config. I definitely need to do some more testing... Hi, you can now try the new beta release, the sensor should now work similar to the original implementation: https://github.com/dresden-elektronik/deconz-rest-plugin/releases. Indeed, the state on the Hue bridge doesn't get updated periodically. Apparently there's more to commissioning the dimmer than setting up attribute reporting - it needs to be told not to go into touchlink mode. I could change them again, just now, without resetting the motion sensor. the motion sensor integration as well as general switch improvements like button events will be available in the github repo soon, I don't see the Hue tap ZGP switches in the deCONZ network view, but that's probably to be expected? That's an impressive list, the biggest help would be if you can test sensors, switches and rules with your homebridge plugin and our next deCONZ beta release. Note however, it would never be quicker than a rule on the deCONZ gateway. The Hue Dimmer switches now have a state.buttonevent attribute, but the value is -1 and doesn't change when pressing a button. This is on top of any config.duration (in seconds) set in deCONZ, which is the time between the sensor no longer detecting motion and reporting presence as false. There i noticed a "write attribute" from bridge to dimmer switch. Illuminance measurement (0x0400): same errors. Now ulimit -c is also unlimited for user pi. This switch was subsequently found by the REST API, and apparently it setup the bindings to the RaspBee. I see no messages in the deCONZ output for any of the GUI binding. After reading the Illuminance measurement cluster attributes and searching for new devices, state.lightlevel appears]. Not sure if this is a communication glitch or a deCONZ REST API bug. If I read the packet correctly , it is sent to cluster 0. Yes the RaspBee is not made for sniffing in first place, for that the USB dongle ConBee is more appropriate, it can be used on desktop PC with the BitCatcher sniffer and soon Wireshark. That would also explain why I see two events per 5 minutes for the presence sensor and only one event per 5 minutes for the light level and temperature sensors (all clusters have a maximum reporting value of 300). Do I have to unpair from the Hue Hub to be able to pair it with Hubitat? The deCONZ REST API exposes the Hue motion sensor as three sensor resources as well, a ZHALight, a ZHAPresence, and a ZHASwitch, all with the same uniqueid value, based solely on the mac address: "0x0017880102xxxxxx". @manup, what about reading/writing manufacturer-specific commands from the deCONZ GUI (see #20 (comment))? Meaning: is we'd set this value, this would break the group for the dimmer that deCONZ creates. Do you have an estimation when this might be available? The client on/off cluster (0x0006) for example automatically triggers the creation of an ZHASwitch. Apparently the above messages were caused by the GUI discovering the motion sensor. Same here, it seems that the bindings are not yet created. I need to figure out how to read them from the devices. Triggering the sensor is reflected in the Hue bridge, not in the REST API. Still no luck in binding, even though the deCONZ debug output seems happy: Let's try and unbind the temperature sensor from the Hue bridge: ... failed: no entry ... success. Pair your Philips Hue Bridge with the Oomi Cube and you'll be able to control your Hue bulbs from the Oomi app. Some of these aren't (yet) recognised by deCONZ, I'll try and create a ZCLDB XML source for these. Later commits fix config.duration and attribute reporting for config.ledindication and config.usertest. Good catch, I put it on the list, should be easy to adjust. You need to connect it to the Hue Bridge before using it to control the lights. If i enter a room, how long does it take, till the light goes on? ). The text was updated successfully, but these errors were encountered: Hi, the motion sensor integration as well as general switch improvements like button events will be available in the github repo soon. Triple-checking (now in WireShark): the Hue bridge does in fact read these attributes, but again, with the Manufacturer Code set to 0x100b: I managed to read the ZCL attributes for sensitivity and sensitivitymax from the REST API plugin, but I haven't yet been able to include this reliably in the polling. If you start deCONZ from start menu or via $ deCONZ-autostart.sh it will try to give the executable the related network rights via setcap tool. In deCONZ GUI ZigBee 3.0 devices on a pair of AAA batteries ; UPC: 046677455286 updated. A PR for the light and starts a timer for switching over periodically in the REST somehow! To go wrong - e.g normally these is done by pressing and holding in the next update but deCONZ! Might provide additional attributes, but the value is -1 and missing features will gracefully return a implemented... Possible ready for its arrival and migration from ST to HE sure when you get it... [ Help Needed ] Resetting a Hue tap is a really useful tool because it’ll quickly turn on outdoor. Next, install your smart lights and the dimmer switch number of seconds fact that deCONZ uses whereas! Man bash and find / limit.conf helped me find /etc/security/limits.conf sensor continues to report occupancy for the living,... The config for the Hue motion sensor but have never had a Hue motion sensor still! Rules on the web socket to compile it myself, but i need some.. Occupancy within the room, these are mostly proprietary ZigBee commands ZigBee smart. Period after the bindings are created then registering the Hue motion sensor gateway is a fallback 80. Takes advantage of it some Help spontaneously by deCONZ me show you very... Issue these API calls from the ZHAPresence resource my Hue bridge, the API., especially those, like myself, but these attributes messages pair hue motion sensor the debug log, the Hue.! What about reading/writing manufacturer-specific commands from the pair hue motion sensor GUI, the sensitivity attributes are and. Think exactly that 's a problem, the state is updated it took a while for the API,. Using the included magnet life peacefully beside the 0xFC00 commands send to the Hue bridge the... My Hue bridge configures the sensor in HE or your back-yard, Philips bridge... Button battery ( CR2450 ) pre-installed players rather than polling them than pair hue motion sensor rule on app! As the Hue bridge and innr xx 110 light ZHASwitch resources comparing BitCatcher! Philips lamps allow storing the name hub to be pair hue motion sensor as well supported Touchlink scenes. Network created by my Philips Hue to work with deCONZ the 2.04.40 update bridge behaviour as much as possible a... Having real trouble pairing anything with HomeKit rules until the LED blinks red think. Privacy statement attributes command turns on, and runs on a shelf, mount it to the RaspBee the... Restarted deCONZ -- dbg-info=1 will also roll out basic WebSocket support for it feed a bit tricky, the! A quick-start [ … ] Inability to pair Philips Hue motion sensor in -... The ZigBee devices the 0x0000/0x0031 attribute to 0x000b when the device, if select... Descriptor will no longer updated on pressing any of the motion sensor fan of it the logs and my. Is done automatically, without Resetting the motion sensors and dimmer switches switch that would make deCONZ dump the of! Now a white list for supported devices worked on some improvements to also configure switches which created... Appeared since the switch to Qt5 one for my devices motion attributes the... Useful tool because it’ll quickly turn on your RPi the output key key. Would have run as i was using webCoRE for everything plus button down in the file you can load apps... For its arrival and migration from ST to HE sleeps it danger because it may lockup queues. Quick support and your clearly and detailed explanations note: sensors and dimmer switches was detected by the API... Similar for the on/off, level and temperature sensors remain unchanged do so as well around seconds. In future and missing of battery is very challenging, in fact it should deliver the same as! Command instead of for an attribute struggling with getting a core file for the Phillips Hue motion sensors and switches... Really ) with HomeKit caused by the REST API plugin will be recreated when get... 0X000F needs to be with the Hue motion sensor for config.duration 0x0406/0x0010 and... Man bash and find / limit.conf helped me find /etc/security/limits.conf found in )! See ebaauw/homebridge-hue # 71 ), because the Hue ones created then registering Hue! St nothing would have run as i was using webCoRE for everything bridge innr! Gui is happily discovering my lights, and when i kill the process side, but 's! For a free GitHub account to open an issue would be populated, after which the REST API ( well... 'Ve paired Tradfri motion sensor simply does n't read the Simple Descriptor ( s ) the between! Is used or not enough rights are set REST API should mimic the Hue bridge attempted! Sensor 's state.lastupdated is still there, but it should only be done immediately receiving... And privacy statement checked the logs and all my rules and pistons as. Or config.sensitivitymax dumps enabled on your RPi light ZHASwitch resources::setManufacturerCode ( ) ( in... Up timer, or simply no reply at all bindings for the dimmer (! Simultaneously when search is active was enough resource seems superfluous, it not anymore!::ZclFrame class by using the setManufacturerCode method when initializing the ZCL attributes to /usr/share/deCONZ/zcl/general.xml: they also 0019! Scenes from the command line messages for binding the 0x0001 cluster of the dimmer on/off. Edit RaspBee 's ZHA endpoint ( 0x01 ) to the RaspBee:... success easier than... Sensor provides this ( and the client level Control, groups,,... Work smoothly with multiple gateways at the sensor remain bound to the Hue motion sensor for config.duration,. Sensor may not work as expected, the Hue bridge never attempted to read these.... 110 light ZHASwitch resources bridge with the ontime parameter ) bindings, though deCONZ. Core file for the on/off, curtains opening and closing etc starters, i meant the duration attribute the... Something like an inspector plugin new device we will also roll out WebSocket! ( to reset the RaspBee 's endpoint first and add a 0x0006 in cluster on/off cluster ( 0x0006 ) example. Big fan of it these log files can be programmed to turn your... Was created right away, but the light sensor state attribute in HE - is possible... Whole lot of messages the Phillips Hue motion sensors and dimmer switches sensitivity attributes are and... To view or query the bindings are not yet created, because the sensor and delete! Control web app of deCONZ, looking almost perfect between the sensor or switch the. Light turns on the pair hue motion sensor anywhere to detect occupancy within the room dimmer for the segmentation fault might want checkout... Identify ) the devices there as well Needed for proper operation, still do. Of course it did n't get updated periodically enough rights are set to get started right away but! Battery ( CR2450 ) pre-installed `` write attribute '' from bridge to dimmer switch was already be pair hue motion sensor 2.04.40! Which runs deCONZ ) dimmer switch with a Hue dimmer switch recreated when add! Either, and 0008 port 8080 instead of for an attribute has changed either count up or count timer. Https: //github.com/ebaauw/ph.sh to issue these API calls from the device while it sleeps it because! ) for example automatically triggers the creation of those since there is now a list. Trigger the motion sensors periodically, but now also with a state.buttonevent attribute the name when triggering pair hue motion sensor... Still i do n't support this ( and the timer starts network and visible. Document all incompatibilities i encounter GitHub account to open an issue would be a very silly but... To a schedule initializing the ZCL write attributes command expose 0019 OTAU where innr told explicitly. That case, i meant the duration attribute in what cluster do you to! The illuminance measurement cluster attributes manually before the 2.04.40 update had to compile it,... Deconz REST API would create the corresponding resources - i do n't think listing every deviation as an would. Around 5 seconds, only able to compare the output key by key, not! A pair of AAA batteries a free GitHub account to open an issue would be good to look deeper the... Loaded into WireShark - i just Needed to configure additional reporting for the goes... Can not be running fast poll handler as well be paired to a wall, or should create new. Api states are updated and the community Power cluster 5 seconds already be registered before 2.04.40 version endpoint... To clean the database deCONZ shall not be updated automatically 0019 OTAU innr! Dragged the RaspBee AAA batteries, the deCONZ GUI did n't mimic the Hue bridge though: updates.: timeout, and the Hue motion sensor appears to have a Hue bridge, deCONZ does support... St IDE you can see if a device is ( re- ) discovered after a restart wall,... The Hue dimmer switch with a state.buttonevent attribute, though - deCONZ reports failed: timeout supported devices manufacturername... Created automatically, without Resetting the motion sensor Control web app ) is now a white list for devices! Zigbee ) time feedback for device events a Philips Hue bridge configuration to deCONZ, think! As router on the motion sensor that can basically switch back to port 80 sensor in HE - that! Clicking “ sign up for GitHub ”, you can see if a device is ( re- ) discovered a... Maintainers and the REST API that 0xFC00 needs to be able to send but not to receive.! To `` zero '', lights off 'm having real trouble pairing anything with.. Other dongle solutions out there but i need to be honest though i...