Tattoo
Posts: 1
Joined: Tue Nov 24, 2015 4:50 am
Location: Mysore, Karnataka, India

Home Automation using Golang

Tue Nov 24, 2015 5:25 am

Hi,

I am trying to create an Home automation application(iOS), I would like to control few Appliances that are present in my home.
  • As of now I tried Lighting, I was able to Toggle the lights.
    I tried the Temperature reading using DHT11, Yes I can get the room Temperature and Humidity.
    Now I wanted to try to control the Air Conditioner, I tried to make use of LIRC, I even installed it on RaspPi. The components I am using is LED Blaster, LED Receiver, Resistor. However, after googling deeply, I found some answers on other forums, where they mentioned that Air Conditioners are not controlled the same way as TV's are.
I would like If someone could point me out to a location where I can actually start from scratch, about how to go about configuring the "lircd.conf" file. That is a real pain, took me a while to understand it though.

I am trying to control the Air Conditioner through IR and not through the GPIO Pins. My AC is not smart, so I cannot communicate with it through IP as well.

-rst-
Posts: 1316
Joined: Thu Nov 01, 2012 12:12 pm
Location: Dublin, Ireland

Re: Home Automation using Golang

Wed Nov 25, 2015 3:29 pm

No experience myself but this looks promising https://www.google.ie/search?q=lirc%20a ... oner&rct=j
http://raspberrycompote.blogspot.com/ - Low-level graphics and 'Coding Gold Dust'

Massi
Posts: 1691
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: Home Automation using Golang

Wed Nov 25, 2015 3:40 pm

Tattoo wrote:I found some answers on other forums, where they mentioned that Air Conditioners are not controlled the same way as TV's are
That's true.
a tv is controlled with simple "relative" commands. For example, "volume +1" or "channel +1"
The command sent is always the specific command

AC is a lot different. When you send a command to an AC (it can also be a simple "degrees +1") you are indeed sending the whole configuration of the AC, from the power status, to the temperature, to the working method and so on.
That's why you cant "read" a command with lirc and repeat it.

I am controlling my ac splits with a raspberry (3 splits) with 3 ir emitters, but i had to decode and reproduce the message layout (not that easy, but a lot of fun)

You can find all the story in this forum..

Return to “Other programming languages”