-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IR received to mqtt payload #536
Comments
Hi. Of course, if you are willing to write it, I'll gladly help it get merged into the library. PRs are always welcome. ;-) |
I had a look at the link and haven't found anything that would help me the matter. I could probably adapt the code if I found a working example, but writing code from scratch is not something that I can do easily. |
I'm moderately sure that ESPEasy supports what you wants. A google search lists plenty of things too: https://www.google.com.au/search?q=IR+mqtt+gateway |
I confirm that OpenMQTTGateway support IR-->MQTT translation, don't hesitate to ask questions to OMG forum if needed |
Thanks you both, especially @crankyoldgit. I have installed openmqttgateway and it's working fine, I just need to get used to it! |
- Should capture IR messages from an IR RX module and send them to MQTT in a "compatiable" format similar to that required for sening via MQTT. - Slight HTML layout changes/improvements. - Minor changes to IRutils to make life easier. - Tested on my own D1 and Nodemcu devices. Seems to work fine. - The new capability can be completely disabled, but should work fine even if no IR RX module is attached. Inspired by Issue #536
@savage872 I've also added what I think you wanted to IRMQTTServer in PR #543 |
- Should capture IR messages from an IR RX module and send them to MQTT in a "compatiable" format similar to that required for sening via MQTT. - Slight HTML layout changes/improvements. - Minor changes to IRutils to make life easier. - Tested on my own D1 and Nodemcu devices. Seems to work fine. - The new capability can be completely disabled, but should work fine even if no IR RX module is attached. Inspired by Issue #536
Add IR receiving support for IRMQTTServer. - Should capture IR messages from an IR RX module and send them to MQTT in a "compatible" format similar to that required for sending via MQTT. - Slight HTML layout changes/improvements. - Minor changes to IRutils to make life easier. - Tested on my own D1 and Nodemcu devices. Seems to work fine. - The new capability can be completely disabled, but should work fine even if no IR RX module is attached. - Add MQTT connection/disconnection time tracking - Add MQTT disconnect counter. Inspired by Issue #536
This is now live in the new v2.5.2 release of the library. |
Hi char IRT[15]= "ir_server/send"; void V1() {client.publish(IRT,C1);} // SAMSUNG TV ON/OFF This succesfully turns on the Samsung TV. Now that i want to move my code also into the same ESP that is doing IRMQTTSERVER, i want help to avoid client.publish(IRT,C1); and somehow use appropriate format and call the relevant function that already exists like callback(char* topic, byte* payload, unsigned int length). I am pretty unskilled at programing & hence looking forward for some help to correctly format the data to be sent as payload while trying to use the callback() function: void V1() {callback(..., ....);} // SAMSUNG TV ON/OFF Regards |
Answered in #586 |
Love you project. I'm a newbie.
I have a nodemcu with a ir sender connected on D2 and ir receiver on d5. I've flashed my node mcu with a mix of IRMQTTServer and IRrecvDumpV2.
What I'm trying to do is publish to mqtt ir info received on d5 with the same sort of payload and with the codes that you send on D2.
Can someone help please?
I hope I've posted in the right section.
The text was updated successfully, but these errors were encountered: