Jump to content
Flirc Forums

Code to control Air Conditioning


thedre

Recommended Posts

I did a quick search but couldn't find a thread on this.

Could you let me know is it possible to write code to use Flirc to turn on and off air conditioning and set the setpoint based on indoor and or outdoor air temperature with a Raspberry Pi and the correct associated hardware? If so has someone done it?

Cheers Andre 

Edited by thedre
Link to comment
Share on other sites

Hi

It depends on whether you have an ability to somehow interface Raspberry Pi with your AC. Flirc has nothing to do with that as this is only a receiver - it can't send IR signals to other devices.

If you are able to control AC with RPi (for example by using some GPIO connections or other interface) then you need some software that is able to listen for keyboard events and act upon receiving them. For example you could use TriggerHappy daemon which can intercept keyboard events and call some scripts. Then just record some keys in Flirc with some remote and configure the daemon to call your scripts which would control the AC.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...