Python API/Adapter for RESTful API?

Posted on
Sun Aug 15, 2010 5:30 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Python API/Adapter for RESTful API?

I have updated the SVN server, and now have a example command line application in there (device_report.py), it duplicates the device report plugin, reporting to screen or CSV file the devices that are in your Indigo Database.

Screen Example:

Device Name: Kitchen Task Lighting Icon
Description: None (N/A)
Address: 07.A0.B7
Device Type: ICON Appliance
Firmware: 2.8
Status: off
Last Updated: 2010-08-15


Device Name: Kitchen KeyPad
Description: None (N/A)
Address: 0B.49.F1
Device Type: KeypadLinc Relay
Firmware: 3.3
Status: on
Last Updated: 2010-08-15


Device Name: Bed Room Light
Description: None (N/A)
Address: 14.28.BF
Device Type: LampLinc
Firmware: 3.10
Status: 0%
Last Updated: 2010-08-15



CSV sample:

Device Name,Description,Addr,Device Type,Firmware,Status,Last updated
Kitchen Task Lighting Icon,None (N/A),07.A0.B7,ICON Appliance,2.8,off,2010-08-15
Kitchen KeyPad,None (N/A),0B.49.F1,KeypadLinc Relay,3.3,on,2010-08-15
Bed Room Light,None (N/A),14.28.BF,LampLinc,3.10,0%,2010-08-15
Master Bedroom Keylinc,None (N/A),0E.2B.08,KeypadLinc V2 Dimmer,2.13,0%,2010-08-15

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Mon Aug 16, 2010 6:33 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Python API/Adapter for RESTful API?

Folks,

I'm open to any ideas you might have for applications that interface with Indigo.

I'm mostly looking for applications that could be used as examples for the Restful API wrapper, but stand-alones, web plugins, etc, certainly would give me something to do....

And, the more complicated it is, the more likely that I will end up having to improve the Restful API wrapper... Or at least expand on it.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Who is online

Users browsing this forum: No registered users and 8 guests

cron