Comments (4)
This sensor appears as three sensors on the network. Ideally, it would be nice to have this as a single logical device in pimatic, i.e., a MultiSensor similar to what pimatic-mysensors provides with MySensorsMulti
. Additionally, it would be nice to allow for the discovery to automatically detect the multi sensor. That is the tricky bit. Apparently, the grouping could be achieved by using the "etag" property or a prefix of "uniqueid" as suggested in #57.
Temperatue (Original Xiaomi):
{
"config": {
"on": true,
"reachable": true
},
"ep": 1,
"etag": "baceb383ac8e25019e439fea82ed501e",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_ht",
"name": "Temperature",
"state": {
"lastupdated": "2017-08-05T11:03:18",
"temperature": 2411
},
"swversion": "3000-0001",
"type": "ZHATemperature",
"uniqueid": "00:15:8d:00:##:##:##:##-01-0402"
}
Humidity (Original Xiaomi, part of the temperature sensor, so it has the same prefix in uniqueid as the temperature sensor):
{
"config": {
"on": true,
"reachable": true
},
"ep": 1,
"etag": "baceb383ac8e25019e439fea82ed501e",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_ht",
"name": "Humidity",
"state": {
"humidity": 5624,
"lastupdated": "2017-08-05T11:03:18"
},
"swversion": "3000-0001",
"type": "ZHAHumidity",
"uniqueid": "00:15:8d:00:##:##:##:##-01-0405"
}
from pimatic-raspbee.
I've added devices for every value right now in #9.
We can later add a multi sensor and check the modelid and can check with that which values it supports.
like the lumi.sensor_ht
supports only temperature and humidity, but the lumi.weather
supports temperature, humidity and pressure.
with the uniqueid
or etag
we could combine them.
if the model.id is not known, it will fallback on the base sensor devices.
from pimatic-raspbee.
YESS got it working, te latest commits in my pull request.
Multisensor for temperature, humidity and pressure
Motion sensor also shows lux if supported
from pimatic-raspbee.
implemented
from pimatic-raspbee.
Related Issues (20)
- Contact Sensor v1.0 HOT 2
- Device Scan not working ? HOT 10
- DECONZ REST-API v2 RFC
- Activating Group Szene results in "error [pimatic]: devices is not defined" HOT 2
- device XYZ is not modifiable. Device is set to off HOT 9
- Sensors are not shown properly HOT 2
- Support blinds HOT 7
- Color Picker Update HOT 2
- if this.buttonAttr.value is empty mobile frontend wont work in scene_rasbee mobile frontend device HOT 24
- add more xAttributeExtensions for multisensor devices
- Thermostat (Eurotronic) resource types HOT 2
- Feature Request: Backup should be extended by date HOT 2
- Support for Euronics Thermostat HOT 2
- Some errors with deconz version 2.5.78 HOT 14
- Change attribute offset of devices to float
- Error with Xiaomi Smart Plugs
- Feature Request: Support for Aqara 6 button wall switch HOT 1
- Correction install Wiki "Installation of deCONZ"
- Error again with deconz Version 2.5.8x
- smal fix: consumtion >> consumption
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 pimatic-raspbee.