OpenRemote support for DomotiGa

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

OpenRemote support for DomotiGa

Postby daferra » Tue Oct 02, 2012 11:48 am

I am in the process of creating a ipad remote for Domotiga with the use off OpenRemote.

Easy commands like on and off on differend buttons is no problem with http post commands.

Screen Shot 2012-10-02 at 12.39.47 PM.png
Screen Shot 2012-10-02 at 12.39.47 PM.png (36.08 KiB) Viewed 3986 times


What about getting status from devices? to create a "switch" wit On/Off status you need to get the result back fro a http get command. Can I use the XML-RPC implementation to get values of devices or control.

If someone can point me into the direction that i need to follow?
daferra
Starting Member
Starting Member
 
Posts: 42
Joined: July 2009
Location: Netherlands

Re: OpenRemote support for DomotiGa

Postby RDNZL » Tue Oct 02, 2012 5:58 pm

I am willing to help to get it to work.
You can get the devices values and control your devices via the XML-RPC interface.
http://domotiga.nl/projects/domotiga/wiki/XML-RPC
Look here for the implemented methods, if something is missing let me know I will code them.
See device.getstate and device.setdevice

If you promise to write some doc and supply examples how to use OpenRemote with Domotiga ;-)
Regards, Ron.
User avatar
RDNZL
Forum Moderator
Forum Moderator
 
Posts: 996
Joined: September 2006
Location: Dordrecht, The Netherlands

Re: OpenRemote support for DomotiGa

Postby daferra » Tue Oct 02, 2012 6:46 pm

That's great Ron! I will share my configuration, documentation, howto's with you so that the whole DomotiGa community can use it. I will send you a PM with the questions I have.
daferra
Starting Member
Starting Member
 
Posts: 42
Joined: July 2009
Location: Netherlands

Re: OpenRemote support for DomotiGa

Postby sandervp » Fri Apr 12, 2013 9:27 pm

I realize this is an old tread, but as this is one of the few things you can find on Domotiga and Openremote I am responding to it anyway :)

When I was looking for a decent client for Domotiga I bumped into Openremote.
Domotiga (or actually Gambas) doesn't like the Expect 100-continue header. I don't see this being fixed in Gambas in short term.

So I been thinking about a way to get rid of the header without making changes in Domotiga or Openremote. The quickest and most easy way is to put a proxy in between that strips the Expect header. Added three lines in my Apache config, added <property name="contentType" value="text/xml"> to my controller.xml for the sensors and switches. the only disadvantage is that you need to add the contenttype node to the controller.xml everyttime you sync it.

Finally I can start playing with Openremote and have a decent client for my Home Theatre and lights :)
sandervp
Starting Member
Starting Member
 
Posts: 4
Joined: April 2013

Re: OpenRemote support for DomotiGa

Postby alphadomo » Thu Nov 07, 2013 11:14 am

Hi Daferra,

I just start my domotic project I have did some research and find domotiga really good except the IHM I would like to have a cheap tablette fix on my wall with a beautiful interface. I have already take a look at openremote. I would like to use is domotiga as controller and openremote for the interface. Do you have some howto's.
My actual setting is a rpi with raspbmc + logitech media server ( squeezbox ) + domotiga as server + rfxcom.
alphadomo
Starting Member
Starting Member
 
Posts: 4
Joined: November 2013
Location: Eindhoven


Return to DomotiGa Forum

Who is online

Users browsing this forum: No registered users and 1 guest