-
Aqara (Xiaomi) plugin (Released)
This post is deleted! -
Seems I’m alone with this problem. I started some deeper investigation. Today I deleted all devices and then I made a reset of my aqara GW. After reconfiguration I had the same problem with two other devices. The devices was added in an other sequence, this time two smart buttons were not recognized by the plugin.
Could it be that these plugin is not able to handle more then 20 devices (I have 22) after restart? My current solution is to make a device discovery after each restart withcurl --silent -X POST --header "Content-Type:application/json" --user "user:pwd" http://192.168.178.200/api/discover-devices >/dev/null
When I do so, everything works fine. Up to now.@sweebee: Can you implemend something within your plugin in this regard?
-
Hey sweebee,
would be nice to get any reaction on this. It’s okay when you will do nothing in this regard, but maybe other user will have sometime also more then 20 devices and will run into the same problem.
Is there a known limit of supported devices from your plugin. I searched the web for problems on other platforms which has Xiaomi solutions as well but found nothing regarding any limitation.Is here anybody on the board who is using more then 20 sensors? Maybe it is a problem on my system, only. I really have no idea way the device discovery make the last devices running. I just really like to understand the problem.
-
Gateway has a limit of 32 devices.
I think it has something to do with timing. I have seen myself, and heard from others that not always all the devices will be received when doing a inventory request to the gateway.
It is really strange … I have a MQTT script that will ask for the devices to the gateway, on one ‘server’ it receives all 3 and on a other it only gets 2.Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Before I used as well the MQTT solution it was working fine, but I made many rules for battery stuff and had problem with some rules when I used variable devices which used the Xiaomi MQTT expression. I ran into problems frequently when I extended my config. Futher it was more affort to add devices.
The plugin is a big benefit in this regard and work great except this one problem. -
If you have a lot of sensors it might be better to look at the raspbee module with the pimatic-raspbee plugin. I’m now working on getting more Xiaomi plugins to work. The raspbee module supports up to 200 devices.
currently only the motion sensor and contact sensor are in the plugin. I wil add a pull request for the light sensor today and maybe I can get more sensors to work.
-
I’m already following the raspbee plugin thread. Like the idea to left the Xiaomi gateway and all the other gateways.
-
Yes I removed the Hue bridge and the Ikea tradfri gateway now.
Still using the aqara gateway till all the sensors are working good in the raspbee plugin.
Moved the motion sensors already to the raspbee, but stil using the aqara plugin for:
temperature sensor
magic button
double switch
single switch
magic cube -
Feature request:
As I read you (@sweebee) are busy with the raspbee implementation, however I hope this plugin isn’t in his last evo state.Some ideas:
- possibility to change position of values (e.g. battery symbol at the end)
- custom acronyms
- custom rounding for each values like temp and humidity (I prefere it without decimals)
-
Controlling the RGB would also be cool.
Follow my domotica project on http://maredana.nl
-
This post is deleted!
-
Just got the Aqara Gateway, and the Door Sensors are working, but the Cube not,
I get this in the logs when I discover devices:not handled: {“cmd”:“read_ack”,“model”:“sensor_cube.aqgl01”,“sid”:“158d00028aeea1”,“short_id”:26458,“data”:"{“voltage”:2955}"}
What can I do?
-
@theslashy i think you have the new version of the cube. The model number is different, so that id must be added to the plug-in.
https://github.com/sweebee/pimatic-aqara/commit/d37dabdfa61bddc580cf438917eaa46c16aab459
I will make a release tomorrow.
-
@sweebee
wow great thank you!! -
@theslashy I released a new version.
-
@sweebee said in Aqara (Xiaomi) plugin (Released):
@theslashy I released a new version.
Just installed, It recognizes the Magic Cube, I’ll test this evening if it works, thank you for your work!
-
@theslashy said in Aqara (Xiaomi) plugin (Released):
@sweebee said in Aqara (Xiaomi) plugin (Released):
@theslashy I released a new version.
Just installed, It recognizes the Magic Cube, I’ll test this evening if it works, thank you for your work!
Works great, thanks again!
-
is there a way to control the led in the aqara gateway itself?
-
Not with the current plugin.
Would be nice.Follow my domotica project on http://maredana.nl
-
Hello,
Is it possible to integrate a 2nd gateway - or what has to be done to make it work?Thank you,
best regards