An HASS service to send messages to nodes
-
It works like a charm in version 0.22.1.
For complex sequences of IR codes, I just send a 'fake' code and then the node selects the appropriate sequence.
Thanks again!
Thanks for the feedback and live testing!
-
Let me complete the example given for the node when you use V_IR_SEND.
In order to send IR codes you need to transform the
code in an unsigned long:char ircode[11] = {0}; // in case your code takes the form of 0xE0E0FF0F ... if (message.type == V_IR_SEND) { String hexstring = message.getString(); hexstring.toCharArray(ircode, sizeof(ircode)); ... // get the code as an unsigned long unsigned long code = strtoul(ircode, NULL, 0); // with IRLib send the code to TV sendSAMSUNG(code); ...Very simple, ** but is hard to find an example**!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login