persandstrom / python-verisure

A python module for reading and changing status of verisure devices through verisure app api.
MIT License
138 stars 42 forks source link

Get Devices #2

Closed lindehoff closed 8 years ago

lindehoff commented 8 years ago

Is it possible to get a list of the different devices on MyPage?

persandstrom commented 8 years ago

Verisure has implemented so that they have one request for each device type and mypages.py reflects that.

It would be quite easy to add a function that sends a request for each device type and returns a list of overviews. Is that what you need?

lindehoff commented 8 years ago

Yes that would be very helpfull. I'm trying to write a plugin for my Home Automation system.

persandstrom commented 8 years ago

I have added a new function get_overviews(). It does not take any parameters and will read the status of all devices.

May I ask which home automation system you are writing a plugin for?

lindehoff commented 8 years ago

That's truly amazing, thank you. The system I'm using is Indigo, http://www.indigodomo.com When my plug in is done I will post it on GitHub and, of course, reference to this project which will be required to use my plugin.

lindehoff commented 8 years ago

It works great, I have now started my development of the plug-in and I have publish the first release.

persandstrom commented 8 years ago

Nice!