CHEAP IRBLASTER for domoticz Project

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

Post Reply
dvsat
Posts: 4
Joined: Friday 24 April 2015 22:13
Target OS: NAS (Synology & others)
Domoticz version: SID
Location: LYON
Contact:

CHEAP IRBLASTER for domoticz Project

Post by dvsat »

Hi,

I have create a small project to allow using an IR Blaster with domoticz, Jarvis or Alexa.

Image

You will need :

Hardware:
-Nodemcu
-Wire
-IR Led
-IR reciever
-Resitor 20 ohms

Software :
-Mosquitto
-OpenSSL
-MongoDB
-Node-Red

Image

At the end you could reprodce any IR signal with a simple URL like :

http://<noderedsite>/IRSend?irDevice=<DEVICEMAC>&irCode=0xCA31DA45

https://github.com/JZacharie/nodeMCU_IrBlaster

Chear !
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: CHEAP IRBLASTER for domoticz Project

Post by Justintime »

Interesting.... Still have to rearrange my ir node from Mysensors.

Can you set it in learning mode? So it will add a switch or something.
Or do you have to set the IR codes in the sketch.
dvsat
Posts: 4
Joined: Friday 24 April 2015 22:13
Target OS: NAS (Synology & others)
Domoticz version: SID
Location: LYON
Contact:

Re: CHEAP IRBLASTER for domoticz Project

Post by dvsat »

Yes it could learn signal from the IR reciever and store the Full DATA RAW and the HEXCODE in a mondoDB. By this way, you should be able to use any UNKNOW device in futur.
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: RE: Re: CHEAP IRBLASTER for domoticz Project

Post by Justintime »

dvsat wrote:Yes it could learn signal from the IR reciever and store the Full DATA RAW and the HEXCODE in a mondoDB. By this way, you should be able to use any UNKNOW device in futur.
OK nice I have the parts laying around. So will play with it. Thanks for sharing.
Justintime
Posts: 228
Joined: Thursday 21 May 2015 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: CHEAP IRBLASTER for domoticz Project

Post by Justintime »

It cant connect to the Wifi network.

I changed the config.h with the broker name: i called it IR
And dont really sure what to do with the fingerprint.

Maybe you can expand your tutorial a bit for the more Noob types. Who want to learn but need point in the right direction.
dvsat
Posts: 4
Joined: Friday 24 April 2015 22:13
Target OS: NAS (Synology & others)
Domoticz version: SID
Location: LYON
Contact:

Re: CHEAP IRBLASTER for domoticz Project

Post by dvsat »

Hi,

You should use a MQTT server with a valide certificate. (E.G. : Mosquitto + Let's Encrypt)

If you don't know how to build it, uses this one for free : https://www.cloudmqtt.com/

const char* broker = "m21.cloudmqtt.com";
// SHA1 fingerprint of the certificate
// openssl x509 -fingerprint -in <certificate>.crt
const char* fingerprint = "A5 02 FF 13 99 9F 8B 39 8E F1 83 4F 11 23 65 0B 32 36 FC 07";

Regards
Joseph
bidyut
Posts: 1
Joined: Wednesday 08 March 2017 9:45
Target OS: Windows
Domoticz version:
Contact:

Re: CHEAP IRBLASTER for domoticz Project

Post by bidyut »

Nice & awsm project!!!
Plz help.
Need version for libraries as well as for Arduino IDE u have used. While compiling the code throwing error.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest