We have moved at community.getvera.com

Author Topic: Python library for interaction with Vera  (Read 2033 times)

Offline alientechnology

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
Python library for interaction with Vera
« on: June 02, 2016, 06:05:57 pm »
Hi!

If anyone is interested, I've created a project to support interaction with the Vera over local/direct and remote/relay.  This is a Python v2 library, and I'm using it on Linux.  New, alpha quality, but it works for me in managing the scenes on my Vera.

https://github.com/cybermaggedon/pyvera/tree/master

SAE


Offline mass5

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Python library for interaction with Vera
« Reply #1 on: June 14, 2016, 03:36:10 pm »
Great job on the Python library for Vera!
I'm wondering if I can use this library to update the values from the sensors connected to Vera to a custom cloud solution using Amazon IoT.
Can you run custom code on Vera to POST message on a web server?

Thanks!

Offline daemondazz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +4/-0
Re: Python library for interaction with Vera
« Reply #2 on: June 14, 2016, 07:53:14 pm »
Nice job!
Perfect timing too as I'm right about to start implementing a presence check using ibeacons and a rPi!

Offline daemondazz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +4/-0
Re: Python library for interaction with Vera
« Reply #3 on: July 07, 2016, 06:47:40 pm »
Finally got some time to work on my project, and I've had to correct a few minor issues in your library. I'll have a pull request or three for you in a few hours.

Edited to add: You've done a very good job by the way!

Offline daemondazz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +4/-0
Re: Python library for interaction with Vera
« Reply #4 on: July 10, 2016, 10:21:31 pm »
Finally sent the pull request. There's a few more changes in my fork, including a new device type. Not ready for that to be merged across yet.

Offline mesa

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-1
Re: Python library for interaction with Vera
« Reply #5 on: September 17, 2017, 12:15:26 am »
Can this be made to work with the VirtualSwitch plugin? I want to read the state of the virtual switch, but it seems to ignore the "Interfaces & Misc Devices" category.