starkillerOG
starkillerOG
@javicalle alright lets see if we can get this working: 1) try testing this code as a start: ``` from miio import Gateway gateway = Gateway("192.168.1.IP", "tokentokentoken") print(gateway.info()) ``` That...
@javicalle actually now that I think of it, steps 2 till 4 can simply be replaced by running this test code: from miio import Gateway gateway = Gateway("192.168.1.IP", "tokentokentoken") print(gateway.send("get_device_list"))
> > > Also tested with same results: > > ``` > gateway = Gateway("192.168.0.166", "12345678901234567890123456789012", lazy_discover=False, start_id=1000) > ``` That was indeed what I was going to sugest ;)...
@rezmus do you have an idea where this timeout is comming from, is it indeed because too many devices are connected and the response message grows too big for the...
@javicalle apperently you cannot obtain the device list on the 'lumi.gateway.mieu01' according to @rezmus which is quite a dissapointment... We could at some point see if sniffing traffic using bluestack...
@javicalle the motion sensor, door sensor and button do not have specific properties you can get. (only subscriptions to events but that still needs to be implemented). Besides the `get_battery`...
> > > dev.get_property("voltage") > dev.get_property("lqi") @rezmus on my gateway 'lumi.gateway.v3' those two give my empty responses [], the same as if I issue a random non existing property like...
@rezmus my hub 'lumi.gateway.v3' which is to my knowladge an chinese aqara hub gives an empty response on `dev.get_property("lqi")`. @javicalle intresting that the `voltage` works on 'lumi.gateway.mieu01' but does not...
This schould prevent some errors on the 'lumi.gateway.mieu01': https://github.com/rytilahti/python-miio/pull/732 @rezmus do you have any sugestion to get a list of connected devices for 'lumi.gateway.mieu01' (does not matter if we get...
Thanks for the hint @rytilahti! I looked at the source code of the openhab miio addon and indeed they figured out a cloud connection using the acount name and password...