How do I determine my Bridge serial number for the Thing if I am using text file setup? Do I need to try and use PaperUI first?
All that notwithstanding, I believe I am experiencing the same NPE issues as @kubawolanin There are lots of thing file validation warnings in the logs, too.
New here and looking to purchase some xiaomi sensors, from what i have read the new square sensor range aren’t fully compatible just yet? Could i purchase these and just use the functions of the previous sensors for the time being?
@lowthrd Yes, the square shaped Aqara temperature/humidity/barometric sensor is still not supported by this binding yet. I’ve got two and both only show up in the Android app.
Hello, the latest gateway FW 1.4.1_148.0143 added support for the square Aqara temp/humidity/pressure sensor. The model name is ‘weather.v1’ and is the same as model ‘sensor_ht’ only adds extra pressure reading…
Yay, that’s great news. Now to wait for someone to update the binding to recognize the new device “weather.v1”.
Here’s the trace log from my device -
2017-07-17 21:06:18.282 [DEBUG] [discovery.XiaomiItemDiscoveryService] - Unknown discovered model: weather.v1
2017-07-17 21:06:18.284 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Data received and notified 1 listeners
2017-07-17 21:06:18.287 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Thread Thread[Thread-121,5,main] waiting for data on port 9898
2017-07-17 21:06:21.450 [DEBUG] [.mihome.internal.socket.XiaomiSocket] - Received Datagram from 192.168.1.120:4321 on Port 9898
2017-07-17 21:06:21.452 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Received message {"cmd":"report","model":"weather.v1","sid":"158d0001720b48","short_id":32900,"data":"{\"temperature\":\"2127\"}"}
2017-07-17 21:06:21.453 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Updated "last time seen" for device 158d0001720b48
2017-07-17 21:06:21.456 [DEBUG] [discovery.XiaomiItemDiscoveryService] - Unknown discovered model: weather.v1
2017-07-17 21:06:21.458 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Data received and notified 1 listeners
2017-07-17 21:06:21.459 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Thread Thread[Thread-121,5,main] waiting for data on port 9898
2017-07-17 21:06:21.461 [DEBUG] [.mihome.internal.socket.XiaomiSocket] - Received Datagram from 192.168.1.120:4321 on Port 9898
2017-07-17 21:06:21.463 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Received message {"cmd":"report","model":"weather.v1","sid":"158d0001720b48","short_id":32900,"data":"{\"humidity\":\"5969\"}"}
2017-07-17 21:06:21.465 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Updated "last time seen" for device 158d0001720b48
2017-07-17 21:06:21.467 [DEBUG] [discovery.XiaomiItemDiscoveryService] - Unknown discovered model: weather.v1
2017-07-17 21:06:21.468 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Data received and notified 1 listeners
2017-07-17 21:06:21.470 [TRACE] [.mihome.internal.socket.XiaomiSocket] - Thread Thread[Thread-121,5,main] waiting for data on port 9898
2017-07-17 21:06:21.472 [DEBUG] [.mihome.internal.socket.XiaomiSocket] - Received Datagram from 192.168.1.120:4321 on Port 9898
2017-07-17 21:06:21.474 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Received message {"cmd":"report","model":"weather.v1","sid":"158d0001720b48","short_id":32900,"data":"{\"pressure\":\"100200\"}"}
2017-07-17 21:06:21.476 [TRACE] [g.mihome.handler.XiaomiBridgeHandler] - Updated "last time seen" for device 158d0001720b48
The great thing about open source software is that anyone can contribute to the codebase, once it’s available on the official distro
AFAIK @dimalo doesn’t have the device for testing purposes, and is pretty busy at the moment.
For anyone willing to add support to the new temperature sensor - take a look at this folder. XiaomiSensorHtHandler.java is a handler for humidity and temperature sensor. Something similar (probably extension of that class?) would apply to the new weather.1 channel.
I upgraded my home server to OH2 a week ago. I guess I will start contributing to OH2.x version of this binding soon and retire my original binding for OH1.x
Hi, I like to thank you all for making this binding available. I so happy to use it on a powerfull automation system like openhab.
One thing which I discovered while trying the secound best open source platform( some call it home assistant) was that the gateway also has an illumination sensor.
I think is directional and therefore not very usefull, but can give an indication on if you have light in your room.
It’s just a nice to have function, but I like to make you all aware of this, if you didn’t know.
UPDATE:I discovered that I had some items configuation problems, my item was set to switch and not a number.
Can i switch back to the snapshot version of this binding? I now use an older binding from end of june (manually copied to addons-folder) because the newer bindings didn´t work anymore.
Hi, just saw the new aqara motion sensors on gearbest.
Difference to the “old” motion sensor is the Holder Stand and now they have also a light intensity measurement. Seems to be a nice addition to the other sensors.
I installed the ohab2 snapshot that includes an add on binding for xiaomi smart home v2.2. It can controls devices connected to xiaomi gateway, but it could not find a channel to turn alarm on/off. Anny clue ?