I would like to create an IR gateway to be able to read and control several devices with Domoticz (and my harmony hub).
Since I am a really bad SW writer and have no knowledge about java I was wondering if there are any example flows available for the most elementary actions like receiving an IR code, filtering a specific code and forwarding a MQTT message to Domoticz and vice versa? When I read the manuals it seems all like Chinese to me, sorry
In the meantime I managed to recieve IR signals and forward the value to Domoticz on one IDX, but filtering one specific IR code and controlling an ON/OFF device in Domoticz is the next challenge to me.
Same would be to filter received MQTT messages from Domoticz from a specific IDX device and then send a specific IR code via the MQTTgateway. I thought I got it working but after sending one code the gateway connection stopped, probably due to an endless IR return loop where I cannot find the error.
Does anybody have some sort of solution working and are you willing to upload the flow so I can try to make it fit for my purpose?
Unfortunately I donât have DomoticZ, I have seen that they need this IDX field, maybe a solution could be to implement the filter and adds into Node RED
Thanks, the receiving and filtering now works!
I can receive an IR string from the OMG and I can receive and filter a Domoticz switch status based on IDX.
What I did not get working was to send an IR string over the OMG.
Does anyone have a simple node red example how to send an IR string over OMG?
Iâm using the Lolin shield on an ESP8266 and Iâve changed the ESP output to 0 (D3) as mentioned in config_IR.h, but even with an oscilloscope I do not see any signal when I try to send a code with node redâŚ
I cannot succeed in sending any IR code over MQTT.
With MQTT Explorer I see that I read and send the same IR code, but there is nothing sent by the OMG!!
home
OpenMQTTGateway_ESP8266_IR
IRtoMQTT = {âvalueâ:18446744073709551615,âprotocolâ:3,âbitsâ:0,âhexâ:â0xFFFFFFFFFFFFFFFFâ,âprotocol_nameâ:âNECâ,ârawâ:â9100,2210,630â}
The code received doesnât look good. It is like an overflow. Do you receive another code on the broker ?
When publishing just use hex and protocol_name.
Hey, that was great advice!
Now it worked.
Indeed this example was NOK since bits:0. After some tries I had the correct code of 0xFFF00F (volume up) and sent it as {âhexâ:â0xFFF00Fâ, âprotocol_nameâ:âNECâ} and it works now perfectly!
Thanks a lot for this great help, Iâm totally happy now