Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 27 August 2017 17:42
Mine are working great and stable!
Open source Home Automation System
https://forum.domoticz.com/
Mine are working great and stable!
There already a python lib for lot of device : https://github.com/rytilahti/python-mirobo have a lookPyros wrote: ↑Wednesday 23 August 2017 15:11Some guys worked on it : https://github.com/aholstenson/miio/issues/57
I've just succeded with light on/light off the ceiling with miio.
So next step is to work on domoticz plugin with those informations
This is great news! Thank you!joebar wrote:Yeah, never had good luck with the gateway lux sensor, the aqara lux in the new body sensor does work yes, it however only seems to update when triggered by motion.
No problem for me because I use it for motion and lux controlled lighting.
And it is not very sensitive, but still it does work. For better results you better get an i2c lux sensor directly on the pi or remote with an esp8266
I have a pair of them and the lux measurement is not as good as i expected, i can not use it for turning on the lights of a room because it detects no light when there is still light for not turning on the lightstimh1004 wrote: ↑Monday 28 August 2017 19:48 The Lux sensor values from the Xiaomi Gateway itself stops working after restarting my Pi. Then, after a few hours, it sometimes works again all of a sudden. Does anybody else have problems with the Lux value? And does the Lux sensor of the new Aqara motion sensor work yet?
Gesendet von iPhone mit Tapatalk
Hi, just tried to discover my Xiaomi Philips Eyecare Smart Lamp 2, which is listed in supported devices, but I only discovered my gateway and yeelights, is there some trick to it or you just discovered xiaomi-philips bulb with mirobo discover command? Thanx!deennoo wrote: ↑Sunday 27 August 2017 18:52
There already a python lib for lot of device : https://github.com/rytilahti/python-mirobo have a look
edit : just test it with mibulb xiaomi philips : it works great ! finally hard trick is to get the token from the device
Code: Select all
2017-08-29 21:09:57.373 XiaomiGateway: will listen on 9898 for hardware id 3
2017-08-29 21:09:57.374 XiaomiGateway: Delaying worker startup...
2017-08-29 21:10:00.341 dzVents: Info: ------ Start internal script: Timer 1 min:, trigger: every minute
2017-08-29 21:10:00.384 dzVents: Info: ------ Finished Timer 1 min
2017-08-29 21:10:02.374 XiaomiGateway: Worker started...
2017-08-29 21:10:05.837 (Xiaomi Gateway) Lighting Limitless/Applamp (Xiaomi Gateway RGB)
2017-08-29 21:10:05.876 (Xiaomi Gateway) Light/Switch (Ванная - Свет)
2017-08-29 21:10:05.876 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001309b87","short_id":56446,"data":"{\"channel_1\":\"on\"}"}
2017-08-29 21:10:05.970 (Xiaomi Gateway) Light/Switch (Спальня - Свет)
2017-08-29 21:10:05.970 {"cmd":"report","model":"ctrl_neutral2","sid":"158d0001580b78","short_id":59882,"data":"{\"channel_1\":\"on\"}"}
2017-08-29 21:10:05.973 {"cmd":"read_ack","model":"86sw2","sid":"158d00012a79b2","short_id":35441,"data":"{\"voltage\":3045}"}
2017-08-29 21:10:05.974 (Xiaomi Gateway) General/Voltage (Кухня - Проходной (Battery))
2017-08-29 21:10:05.980 (Xiaomi Gateway) Light/Switch (Детская - Свет 1)
2017-08-29 21:10:05.980 {"cmd":"read_ack","model":"ctrl_neutral2","sid":"158d0001580bfb","short_id":26403,"data":"{\"voltage\":3300,\"channel_0\":\"on\",\"channel_1\":\"off\"}"}
2017-08-29 21:10:05.984 (Xiaomi Gateway) Light/Switch (Ванная - Вытяжка)
2017-08-29 21:10:05.985 {"cmd":"read_ack","model":"ctrl_neutral2","sid":"158d0001309b87","short_id":56446,"data":"{\"voltage\":3300,\"channel_0\":\"off\",\"channel_1\":\"on\"}"}
This is how I do a similar thing for my projector:visser wrote: ↑Tuesday 29 August 2017 10:00 Hi Domoticz users, I'm trying to trigger a notification when the power usage on a Xiaomi Smart Plug drops back to 0 (e.g. end of a washing machine cycle), I've found the current General > kWh device populates daily values well but not per-minute data. Help?
Code: Select all
local projectoron = false
watts = otherdevices["Xiaomi Usage Projector"]
watts = string.sub(watts, 0, string.find(watts, ";")-1)
numericWatts = tonumber(watts)
if (numericWatts > 100) then
projectoron = true
--print('projector is on')
end
Sounds like your gateway IP address or password is not correct in Domoticz. Double check both including checking for spaces in the gateway.
I've tested on my gateway and it still works through Domoticz.When Domoticz creates this Switch, it creates a User Variable : XiaomiMP3 with 10001 as a value : remember what is 10001 ? first sound recorded on the gateway ! Change it for 10002, click on Xiaomi Gateway MP3 switch and it will play sound 10002 which is your second personalised sound.
No I mean this https://m.it.aliexpress.com/s/item/32825807314.html
Indeed, not sensitive enough but it is already supported in the plugin for a couple of weeks now. I have two of them working and controlling the lighting.Martins80 wrote:I have a pair of them and the lux measurement is not as good as i expected, i can not use it for turning on the lights of a room because it detects no light when there is still light for not turning on the lightstimh1004 wrote: ↑Monday 28 August 2017 19:48 The Lux sensor values from the Xiaomi Gateway itself stops working after restarting my Pi. Then, after a few hours, it sometimes works again all of a sudden. Does anybody else have problems with the Lux value? And does the Lux sensor of the new Aqara motion sensor work yet?
Gesendet von iPhone mit Tapatalk
Also, the device is not supported in domoticz gateway plugin yet.
Then i suppose i have to update to the latest corbin version. Thanks for the info!joebar wrote: ↑Wednesday 30 August 2017 7:45Indeed, not sensitive enough but it is already supported in the plugin for a couple of weeks now. I have two of them working and controlling the lighting.Martins80 wrote:I have a pair of them and the lux measurement is not as good as i expected, i can not use it for turning on the lights of a room because it detects no light when there is still light for not turning on the lightstimh1004 wrote: ↑Monday 28 August 2017 19:48 The Lux sensor values from the Xiaomi Gateway itself stops working after restarting my Pi. Then, after a few hours, it sometimes works again all of a sudden. Does anybody else have problems with the Lux value? And does the Lux sensor of the new Aqara motion sensor work yet?
Gesendet von iPhone mit Tapatalk
Also, the device is not supported in domoticz gateway plugin yet.
I'm already did it when updated on the beta from stable (4 days ago), all switches was re-added, all works. But issue with restart domoticz/hardware sometimes exists, not only for switches but for motion sensors too.
I have a dual switch and it's working fine in mi-app using 149 firmware. Why should xiaomi change the firmware when it's nothing wrong when using the app?deennoo wrote: ↑Monday 21 August 2017 18:13You have to wait about a Fw update, that not à domoticz problème.pandemicz wrote:Guys, I'm a little confused with all the switches Just to be sure, is there solution for Wireless Two-Button Switch LEFT click problem with 149 firmware in latest build or we all suppose to wait for an update from Xiaomi?