piotrC4 / mqtt-ir-transceiver

ESP8266 based bidirectional bridge between MQTT and IR (change MQTT message to IR signal and change received IR signal to MQTT message)
143 stars 34 forks source link

I can reveive codes from ir control and see them mqtt topics. But I don´t know how to do send an ir control in my TV, air, etc. Where can I find some exemples? #6

Closed 6s1gm4 closed 7 years ago

piotrC4 commented 7 years ago

You can do this with openhab like in readme or you can do this by publishing MQTT message:

This example send Global Cache code to device with prefix "esp8266/02"

mosquitto_pub -u -P -h -t "esp8266/02/sender/sendGC" -m "38000,1,69,343,172,21,22,21,22,21,65,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,22,21,65,21,65,21,65,21,65,21,65,21,22,21,65,21,65,21,65,21,22,21,22,21,65,21,65,21,65,21,22,21,22,21,22,21,65,21,65,21,22,21,22,21,1673,343,86,21,3732"

6s1gm4 commented 7 years ago

It´s work. I´ll play a lot now. Thanks and congratulations for your work.