Author Topic: RESTful device  (Read 4241 times)

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
RESTful device
« on: March 30, 2012, 01:22:15 am »
Has anyone added a network device with a RESTful interface before? My thermostat has just that and I'm trying to write the integration drivers. It would be nice to just use Ruby commands like other devices. Thanks!

http://central.isaroach.com/wiki/index.php/Tstat_APIs

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: RESTful device
« Reply #1 on: March 30, 2012, 01:27:43 am »
Take a look at the Panasonic IP Camera device template, it fashions HTTP requests and returns data from them.

-Thom

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
Re: RESTful device
« Reply #2 on: April 03, 2012, 12:00:47 am »
Thanks Thom! Just what I was looking for.