InMoov with domotics system

GroG's picture

Excellent demonstration Dom

Excellent demonstration Dom !!!

This is a perfect example of the power of distributed systems, well done !

"Make my Coffee" is next ? :D

Are you using this one ? -

I've looked a little at this one which seemed promising too

dom14's picture

Hi, thank you. No i don't

Hi, thank you.

No i don't used domoticz.

My system is based on modules which communicate on CAN bus. One raspberry make interface between CAN bus and Lan protocol. A HTTP API control every thing.

So with InMoov, it is very simple to send HTTP commande like this :


url = domoServer + 'api.php?lieu=' + str(val1) + ',' + str(val2) + '&val=' + str(val3)

req = urllib2.Request(url)

   handle = urllib2.urlopen(req,timeout=10)
   answerIsOk = True
except IOError:
   talk("Domotic server error")