Monthly Archives: January 2014

DomotiGa, SmartVISU & Raspberry Pi

I’ve done it ! Finally completed installation of DomotiGa and SmartVISU. Below are only screenshots of draft setup as I still have to add some sensors and improvements, but it’s a start.

DomotiGa

DomotiGa

SmartVISU

SmartVISU

 

As DomogiGa is not directly compatible with GPIO ports (and since it’s installed on a different server anyway), my DomotiGa sensors are actually Shell devices which point to Python scripts (which connect to a MySQL DB and return the value of each sensor). Each Shell device gets automatically updated every 300 sec in DomotiGa by default, so to ensure I get live data I have added JSON-RPC calls in my GPIO script:

My GPIO Python script calls a bash file that contains the JSON-RPC Call:

(I always send the value “On” but since DomotiGa will run the Python script following the JSON-RPC call it doesn’t matter)

My Python script for DomotiGa Shell Device:

My SmartVISU page contains this type of script for each device:

 

Domotiga

I’m planning (although at this stage it still more like dreaming) to take a major step in my setup: go away from the do-it-yourself / reinventing the wheel and start using a ready-made solution.
I spent some time looking around for an open-source solution. I was looking for something simple, with a web interface and narrowed down the contestants to 3: DomotiGa, Domoticz, Domogik.

I eventually made up my mind and chose DomotiGa as it seems the most versatile, robust and hardware compatible. I’m currently installing it on a Ubuntu box (the one on which this server is hosted).

And I’ve just found out a visually stunning interface called SmartVISU that can be plugged onto DomotiGa:

SmartVISU Screenshot

SmartVISU Screenshot

Watch this space 🙂