LinuxMCE Forums

General => Developers => Topic started by: WhateverFits on March 30, 2012, 01:22:15 am

Title: RESTful device
Post by: WhateverFits 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
Title: Re: RESTful device
Post by: tschak909 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
Title: Re: RESTful device
Post by: WhateverFits on April 03, 2012, 12:00:47 am
Thanks Thom! Just what I was looking for.