Comments (8)
I see that you have found the problem. Is there anything I can do to help?
from hue-sensors-hass.
Yes you can help, as we need to identify a unique device ID that can be used. You will see that Hue represents a single SML motion sensor (henceforth referred to as the parent sensor) as a group of three child sensors (motion, light level, temperature) each of which has as uniqueid
. I had observed that characters 0-5 in the final set in uniqueid
separated by :
, appeared to link the three child sensors, so use those characters as the key to group them to the parent sensor. Clearly those 5 characters are not unique to a single parent sensor, so we need to identify the correct way of generating a key to associated child to parent sensors.
The alternative is just to treat each child sensor as a unique sensor, and leave it to the user to group them in HA.
from hue-sensors-hass.
If you use this part of the id 00:17:88:01:02:13:db:2e it seems to be unique? And also able to link them to the parent.
from hue-sensors-hass.
I broke out all sensors from my api responce and formated the text to easily see the id's and as far as I can see it is possible to use the part of the id I stated above. See this pastebin. https://pastebin.com/1z77Ba14
from hue-sensors-hass.
Wrong issue: comment moved
from hue-sensors-hass.
Or why not use the complete unique id? All three child sensors share the same uniqueid except for the very last 4 digits that is stating what kind of sensor it is. 0400 = light, 0402 = temp and 0406 is motion.
from hue-sensors-hass.
OK fixed in 9b388de and release v0.4, thanks!
from hue-sensors-hass.
Works great now. Thanks for the fix.
from hue-sensors-hass.
Related Issues (20)
- Use the same data source as Home Assistant HOT 1
- missing 1 required positional argument: 'sensors' HOT 7
- 2.13: no binary_sensors created HOT 4
- 2.13 Multi Bridge scenario broken? HOT 13
- FR: add unique hub-id/bridgeid to sensor for multi-hub setup
- 2.13 Log errors when motion sensor triggered. HOT 6
- Extraneous Warning in Z3 Switch Parsing HOT 1
- Drop support for motion sensors? HOT 5
- Hue tap/dimmer remotes still show toggle on more-info
- Split out remotes HOT 4
- Dimmer switches don't work? HOT 1
- Cannot find Hue remotes HOT 2
- Documentation: With HA 0.107.x the view option is now removed from Groups
- dimmer (remote) not discovered HOT 1
- How To Use Dimmer Switch? HOT 2
- Binary Sensory Device Deprecated HOT 1
- No 'version' key in the manifest file HOT 2
- Pytest raising errors HOT 1
- Integration completely broken in 2016.6.0 HOT 5
- Archiving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hue-sensors-hass.