Fonctionnement final souhaité
Mon ampli AV étant dans un placard généralement fermé, la télécommande infrarouge est donc inutilisable.
Dans les scénarios d'usage de cet ampli, je souhaiterais pouvoir l'allumer et choisir les entrées sans ouvrir le placard. Accessoirement, comme je veux l'utiliser aussi bien en config A/V avec la télévision, ou en Air Play via un point d'accès Apple dont l'audio est raccordé sur une entrée auxiliaire de l'ampli, il me faut pouvoir changer l'entrée. Évidemment le réglage du volume sonore est aussi un point important, car en A/V il peut y avoir des variations importantes selon les films. Le mode de décodage 5.1 aussi, car en fonction de la source (Airplay ou Netflix par exemple), on peut avoir à passer de 5.1 en stéréo ou vice versa.
Une orange PI (qui ne fait pas que cela) implémente Node Red (voir les articles sur NodeRed sur ce blog..). Comme elle dispose d'une entrée infrarouge, je souhaiterais utiliser le capteur intégré pour comprendre les codes de la télécommande de mon ampli NAD. L'orange PI, vu sa petite taille, pourra rester exposée, derrière la télé (dans un petit boitier réalisé à l a découpe laser), en profitant du petit espace laissé par le pied entre le dessus du meuble télé et le bas de l'écran (2/3 cm) pour recevoir les codes infrarouge. La configuration de LIRC pour gérer la réception de codes infrarouge a été vues dans le 2e article de cette série. Évidemment, il faut avoir compris les codes infrarouges, ce qui est décrit dans le 1er article de la série. Il va nous falloir doter notre réseau d'un périphérique d'émission infrarouge, qui sera connecté à l'ampli en filaire par l'entrée IR IN, et avec une led infrarouge déportée qui sera collée sur la face avant du téléviseur. Ce périphérique est décrit dans le 3e article de la série.
A avoir Node Red, je souhaite également utiliser l'interface utilisateur (UI) pour disposer d'une interface Web mobile sur les télécommandes des 2 appareils (télé + ampli). Pratique surtout pour l'ampli donc je pourrai contrôler le volume en soirée tant par le smartphone tant que celui-ci est dans le réseau Wifi, et même hors de portée des télécommandes IR.
Enfin, dans node red, il sera facile d'interfacer des fonctions de base avec Google Home (ex : "OK Google Allume NAD"), et donc d'implémenter aussi des commandes vocales.
Au final, l'ampli devra pouvoir être commandé :
- Avec sa télécommande d'origine dessus (normal quoi!)
- Avec sa télécommande d'origine pointée sur l'Orange PI
- Avec l'interface Utilisateur (Node-red UI) à partir d'un PC ou d'un Smartphone
- En commande vocale par Google Home.
Au final, pas si mal pour un ampli de 20 ans qui ne marchait qu'avec une télécommande Infrarouge!
Synoptique de fonctionnement
Plongée dans Node-Red
Recevoir des codes infrarouges venant de LIRC
Voici la chaine de traitement complète :
Bien qu'il existe des nodes spécifiques pour Lirc, ceux ci ne sont pas activement maintenus. Et il y a une raison, c'est que c'est tellement simple de faire cela sans...
En effet, la commande unix 'irw' permet de lire le socket lirc, et d'afficher une ligne par une ligne les commandes reçues. Les différents champs sont séparés par un espace. Il suffit donc de trouver un moyen de lancer une commande unix, ce que permet le node "Exec". Ici, on utilise le mode "respawn" qui laisse la commande active et la relance si elle quitte.
Paramètres du node exec:
Ensuite, il va nous falloir trouver un moyen de séparer les différents champs d'une ligne. Encore une fois nodered dispose d'un node qui permet de faire le job : "CSV". La colonne 1 contiendra le code brut lu, la colonne 2 le nombre d'envoi du même code (0, premier envoi, 1, 1ère répétition, etc..), la colonne 3 le nom de la touche, et la colonne 4 le nom de l'appareil.
Vue brute de ce qui est renvoyé par la commande irw :
00000000e13e01fe 00 RCVR_POWER NAD_AVR2-RCVR # Touche power sur le NAD, 1er appui (code = e13e 01fe) 00000000e13e01fe 01 RCVR_POWER NAD_AVR2-RCVR # 1ere répétition de ce même code 00000000e13e04fb 00 KEY_SLEEP NAD_AVR2-RCVR # 1er appui de la Touche Sleep sur le NAD (code = e13e 04fb)
L'espace est le séparateur, et il y a un code par ligne. Ceci induit le paramétrage suivant :
Il peut être judicieux de filter en ne récupérant que les 1ers appuis de touche, afin d'éviter les répétitions. Cela se fait avec le node "Switch", et en filtrant pour ne garder que les enregistrements dont la colonne 2 est égale à 0.
Paramètres du node Switch :
Il ne nous reste plus qu'à aller chercher le code de la touche, dans la colonne 3 avec le node "change". A la sortie, nous avons dans le message "query" le code de la touche infrarouge.
Paramètres du node "change" :
Recevoir des ordres de commande par l'interface Web (UI NodeRed)
Vue générale du traitement :
Ici, c'est beaucoup plus simple. Il nous faut avoir installé le complément node-red-dashboardavec le gestionnaire de palette pour bénéficier des widgets de l'interface utilisateur. Le premier node est extrait de ce package, il s'agit de "button".
On peut préciser soit un nom (label) soit une icone ou les 2. On peut également préciser la couleur du texte ou du fond, ainsi que la taille (size). L'information la plus importante étant "Payload", qui est le mesage exte qui sera renvoyé par le bouton. A choisir parmis les codes supportés par la télécommande. Si Label n'est pas précisé, il peut être intéresant de préciser "Name" pour que le bouton ait quand même un nom sur l'interface d'édition nodered. Cela facilitera sa localisation.
Paramètres de "button" :
A noter qu'il est possible d'ajouter un node "template" dans lequel on pourra mettre des éléments de style CSS pour affiner la présentation du Dashboard.
Une fois les différents boutons mis en place, il ne reste comme pour l'étape précédente qu'à les raccorder à un objet "Change", pour récupérer dans msg.query le code de la télécommande infrarouge à envoyer.
Emettre des codes IR par le périphérique Wifi / infrarouge développé dans le 3e article
Cette dernière étape prend en entrée les flux issus de chacune des 2 étapes précédentes (ou "query" contient le code à envoyer). Un node "http request" fait le job. A noter son paramétrage avec la syntaxe de double accolade permettant de récupérer le résultat d'une variable de node red pour l'ijectre dans la requete HTTP. Il faudra bien sur pensé à avoir mis l'adresse ip de votre périphérique d'envoi de code IR basé sur ESP 32 décrit dans le 3e volet :
Option : Émettre des codes infrarouges via LIRC
Cette solution ne fonctionne qu'avec le périphérique AGIRS (cf le premier article de la série) car en standard l'Orange PI n'est dotée que d'un récepteur.
A nouveau, un bouton est paramétré avec le nom du code à envoyer (déjà documenté). La sortie de ce bouton est dirigée vers un objet "exec", paramétré pour executer une fois une commande, qu iva prendre en paramètres "SEND_ONCE" pour n'envoyer qu'une fois le code, le nom du device, et le nom du code :
/usr/bin/irsend SEND_ONCE NAD_AVR2-RCVR RCVR_POWER
Voici les paramètres de l'objet :
On peut bien sur rendre le tout paramétrable comme vu dans les exemples précédents.
L'ensemble finalisé
L'ensemble finalisé est un peu grand, car il y a beaucoup d'objets bouton... EN voici une vue d'ensemble :
Vous pouvez importer le flow complet sur une feuille avec le code json ci dessous afin de l'étudier, ce sera certainement plus parlant que des copies d'écran... POur ce faire cliquer dans le champ ci dessous, puis "ctrl +A" (select all) , puis "ctrl+c" (copier). ILL ne vous retera plus qu'à coller le tout dans la zone d'import de node red.
[{"id":"7a472838.fcd788","type":"tab","label":"Télécommandes NAD & PHILIPS","disabled":false,"info":""},{"id":"cff35ffd.4088a","type":"ui_button","z":"7a472838.fcd788","name":"¨Power","group":"e84be541.072ae","order":1,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-power-off","payload":"RCVR_POWER","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":340,"wires":[["f7b04fb1.cc3298"]]},{"id":"a2a19817.ec0b6","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":340,"wires":[["cff35ffd.4088a"]]},{"id":"c6d07647.67164","type":"ui_button","z":"7a472838.fcd788","name":"Sleep","group":"e84be541.072ae","order":3,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-bed","payload":"KEY_SLEEP","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":420,"wires":[["f7b04fb1.cc3298"]]},{"id":"7d2ddff5.32af8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":420,"wires":[["c6d07647.67164"]]},{"id":"aff303f2.3d689","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":4,"width":2,"height":2,"passthru":true,"label":"DVD","tooltip":"","color":"","bgcolor":"","icon":"fa-compact-disc","payload":"KEY_DVD","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":460,"wires":[["f7b04fb1.cc3298"]]},{"id":"dc2affef.6585b","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":460,"wires":[["aff303f2.3d689"]]},{"id":"67895b2f.5868f4","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":5,"width":2,"height":2,"passthru":true,"label":"SAT","tooltip":"","color":"","bgcolor":"","icon":"fa-satellite-dish","payload":"KEY_SAT","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":500,"wires":[["f7b04fb1.cc3298"]]},{"id":"4c93954a.911dd4","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":500,"wires":[["67895b2f.5868f4"]]},{"id":"bc800fa6.35276","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":6,"width":2,"height":2,"passthru":true,"label":"VCR","tooltip":"","color":"","bgcolor":"","icon":"fa-voicemail","payload":"KEY_VCR","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":540,"wires":[["f7b04fb1.cc3298"]]},{"id":"1771cf24.9aed01","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":540,"wires":[["bc800fa6.35276"]]},{"id":"d01b5d5.2a6d1a","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":7,"width":2,"height":2,"passthru":true,"label":"Vid4","tooltip":"","color":"","bgcolor":"","icon":"","payload":"KEY_VIDEO_4","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":580,"wires":[["f7b04fb1.cc3298"]]},{"id":"f78431c1.a4c86","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":580,"wires":[["d01b5d5.2a6d1a"]]},{"id":"317dc3b3.ec5a24","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":8,"width":2,"height":2,"passthru":true,"label":"Vid5","tooltip":"","color":"","bgcolor":"","icon":"","payload":"KEY_VIDEO_5","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":620,"wires":[["f7b04fb1.cc3298"]]},{"id":"29a38789.012178","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":620,"wires":[["317dc3b3.ec5a24"]]},{"id":"eeada1d1.1dac08","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":9,"width":2,"height":2,"passthru":true,"label":"5.1","tooltip":"","color":"","bgcolor":"","icon":"","payload":"EXT._5.1","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":660,"wires":[["f7b04fb1.cc3298"]]},{"id":"79e1c274.d34dcc","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":660,"wires":[["eeada1d1.1dac08"]]},{"id":"b7da3e73.dd7818","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":10,"width":2,"height":2,"passthru":true,"label":"CD","tooltip":"","color":"","bgcolor":"","icon":"","payload":"KEY_CD","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":700,"wires":[["f7b04fb1.cc3298"]]},{"id":"9dd3c582.24fbb8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":700,"wires":[["b7da3e73.dd7818"]]},{"id":"953cefd3.026f","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":11,"width":2,"height":2,"passthru":true,"label":"Tape","tooltip":"","color":"","bgcolor":"","icon":"","payload":"KEY_TAPE","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":740,"wires":[["f7b04fb1.cc3298"]]},{"id":"fff8636c.aadda","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":740,"wires":[["953cefd3.026f"]]},{"id":"16dd81b0.a02ab6","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":12,"width":2,"height":2,"passthru":true,"label":"FM","tooltip":"","color":"","bgcolor":"","icon":"","payload":"FM/AM","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":780,"wires":[["f7b04fb1.cc3298"]]},{"id":"12f3e1a0.6aabbe","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":780,"wires":[["16dd81b0.a02ab6"]]},{"id":"ee71a02.5706ee","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":13,"width":2,"height":2,"passthru":true,"label":"1","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_1","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":820,"wires":[["f7b04fb1.cc3298"]]},{"id":"72b7fb3f.6ecd7c","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":820,"wires":[["ee71a02.5706ee"]]},{"id":"91869a44.2c9278","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":14,"width":2,"height":2,"passthru":true,"label":"2","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_2","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":860,"wires":[["f7b04fb1.cc3298"]]},{"id":"76e1566f.2c4308","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":860,"wires":[["91869a44.2c9278"]]},{"id":"a8c48084.769c98","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":15,"width":2,"height":2,"passthru":true,"label":"3","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_3","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":900,"wires":[["f7b04fb1.cc3298"]]},{"id":"6b16749e.1ca484","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":900,"wires":[["a8c48084.769c98"]]},{"id":"cc24bbea.9635e","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":16,"width":2,"height":2,"passthru":true,"label":"4","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_4","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":940,"wires":[["f7b04fb1.cc3298"]]},{"id":"8c1753d8.c7f78","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":940,"wires":[["cc24bbea.9635e"]]},{"id":"45da5e4d.4668b8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":17,"width":2,"height":2,"passthru":true,"label":"5","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_5","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":980,"wires":[["f7b04fb1.cc3298"]]},{"id":"9f233347.0662c8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":980,"wires":[["45da5e4d.4668b8"]]},{"id":"c7c3f5f9.a49af8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":18,"width":2,"height":2,"passthru":true,"label":"6","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_6","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1020,"wires":[["f7b04fb1.cc3298"]]},{"id":"b2563862.a43bb8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1020,"wires":[["c7c3f5f9.a49af8"]]},{"id":"e854aeb9.0d891","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":19,"width":2,"height":2,"passthru":true,"label":"7","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_7","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1060,"wires":[["f7b04fb1.cc3298"]]},{"id":"a1d7531f.a4364","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1060,"wires":[["e854aeb9.0d891"]]},{"id":"2f757929.e84026","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":20,"width":2,"height":2,"passthru":true,"label":"8","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_8","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1100,"wires":[["f7b04fb1.cc3298"]]},{"id":"847e2ea1.d6bf7","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1100,"wires":[["2f757929.e84026"]]},{"id":"74dfda96.19d1ac","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":21,"width":2,"height":2,"passthru":true,"label":"9","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_9","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1140,"wires":[["f7b04fb1.cc3298"]]},{"id":"da5d870f.f649f8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1140,"wires":[["74dfda96.19d1ac"]]},{"id":"8f360f5b.f5dad","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":22,"width":2,"height":2,"passthru":true,"label":"Setup","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_SURR","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1180,"wires":[["f7b04fb1.cc3298"]]},{"id":"7958a904.b939a","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1180,"wires":[["8f360f5b.f5dad"]]},{"id":"2e4c5763.3c08c8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":23,"width":2,"height":2,"passthru":true,"label":"0","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_0","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1220,"wires":[["f7b04fb1.cc3298"]]},{"id":"b1feeb01.2b382","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1220,"wires":[["2e4c5763.3c08c8"]]},{"id":"11727cc.6dcad03","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":24,"width":2,"height":2,"passthru":true,"label":"DynR","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_DYN.R","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1260,"wires":[["f7b04fb1.cc3298"]]},{"id":"b6e9c5c4.86b248","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1260,"wires":[["11727cc.6dcad03"]]},{"id":"bbbbd531.d6bb68","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":25,"width":2,"height":2,"passthru":true,"label":"TEST","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_TEST","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1300,"wires":[["f7b04fb1.cc3298"]]},{"id":"5eca3fbf.f68278","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1300,"wires":[["bbbbd531.d6bb68"]]},{"id":"9e8aa8d.7c99e58","type":"ui_button","z":"7a472838.fcd788","name":"Up","group":"e84be541.072ae","order":26,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-up","payload":"RCVR_VOLUME_UP","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1340,"wires":[["f7b04fb1.cc3298"]]},{"id":"9420fcc2.8e3658","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1340,"wires":[["9e8aa8d.7c99e58"]]},{"id":"25a57ad5.00398e","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":27,"width":2,"height":2,"passthru":true,"label":"LEVEL","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_LEVEL","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1380,"wires":[["f7b04fb1.cc3298"]]},{"id":"3fd30c0f.12f7cc","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1380,"wires":[["25a57ad5.00398e"]]},{"id":"e80b7058.0352b8","type":"ui_button","z":"7a472838.fcd788","name":"Down","group":"e84be541.072ae","order":28,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-left","payload":"RCVR_TUNE_DOWN","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1420,"wires":[["f7b04fb1.cc3298"]]},{"id":"5c5ece76.5b536","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1420,"wires":[["e80b7058.0352b8"]]},{"id":"b02b94f6.050208","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":29,"width":2,"height":2,"passthru":true,"label":"Mute","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_MUTE_ENTER","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1460,"wires":[["f7b04fb1.cc3298"]]},{"id":"f08b802b.8f6a58","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1460,"wires":[["b02b94f6.050208"]]},{"id":"fe90a691.836dd8","type":"ui_button","z":"7a472838.fcd788","name":"Left","group":"e84be541.072ae","order":30,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-right","payload":"RCVR_TUNE_UP","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1500,"wires":[["f7b04fb1.cc3298"]]},{"id":"a9465c5d.975fd8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1500,"wires":[["fe90a691.836dd8"]]},{"id":"fc4aa106.9a1c58","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":31,"width":2,"height":2,"passthru":true,"label":"Display","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_DISPLAY","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":1540,"wires":[["f7b04fb1.cc3298"]]},{"id":"ec22085d.c98a68","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1540,"wires":[["fc4aa106.9a1c58"]]},{"id":"b66c500f.0915b","type":"ui_button","z":"7a472838.fcd788","name":"Right","group":"e84be541.072ae","order":32,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-down","payload":"RCVR_VOLUME_DOWN","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1580,"wires":[["f7b04fb1.cc3298"]]},{"id":"a8a0dca6.a67f","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1580,"wires":[["b66c500f.0915b"]]},{"id":"86f84b6b.240c8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":33,"width":2,"height":2,"passthru":true,"label":"Tune","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RCVR_TUNE_MODE","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1620,"wires":[["f7b04fb1.cc3298"]]},{"id":"57f4ac1a.3509f4","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1620,"wires":[["86f84b6b.240c8"]]},{"id":"ed4c8fb.e68f1f","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Eject","group":"e84be541.072ae","order":34,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-eject","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1660,"wires":[["f7b04fb1.cc3298"]]},{"id":"f32ae1d5.35f548","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1660,"wires":[["ed4c8fb.e68f1f"]]},{"id":"7e263909.71baf8","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Stop","group":"e84be541.072ae","order":35,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-stop","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1700,"wires":[["f7b04fb1.cc3298"]]},{"id":"d3a824f7.6ada98","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1700,"wires":[["7e263909.71baf8"]]},{"id":"8fd070a9.75dd88","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Play","group":"e84be541.072ae","order":36,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-play","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1740,"wires":[["f7b04fb1.cc3298"]]},{"id":"c55adfc.c9f6ea","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1740,"wires":[["8fd070a9.75dd88"]]},{"id":"41f8a9c.0b32758","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Pause","group":"e84be541.072ae","order":37,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-pause","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":1780,"wires":[["f7b04fb1.cc3298"]]},{"id":"3b92cee8.6f3142","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1780,"wires":[["41f8a9c.0b32758"]]},{"id":"792cf3f4.f4d3e4","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"FBackward","group":"e84be541.072ae","order":38,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-fast-backward","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":290,"y":1820,"wires":[["f7b04fb1.cc3298"]]},{"id":"7ea938d8.f49e4","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1820,"wires":[["792cf3f4.f4d3e4"]]},{"id":"5479057.098637c","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"FForward","group":"e84be541.072ae","order":39,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-fast-forward","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":1860,"wires":[["f7b04fb1.cc3298"]]},{"id":"9f0465b3.995c5","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1860,"wires":[["5479057.098637c"]]},{"id":"5a669fa3.3032","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":40,"width":2,"height":2,"passthru":true,"label":"Repeat","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":1900,"wires":[["f7b04fb1.cc3298"]]},{"id":"ab88dc56.10c2f8","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1900,"wires":[["5a669fa3.3032"]]},{"id":"ab6e112e.1a1198","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Backward","group":"e84be541.072ae","order":41,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-backward","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":290,"y":1940,"wires":[["f7b04fb1.cc3298"]]},{"id":"881adcc9.ecc808","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1940,"wires":[["ab6e112e.1a1198"]]},{"id":"5b8798af.daa778","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"Forward","group":"e84be541.072ae","order":42,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-forward","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":1980,"wires":[["f7b04fb1.cc3298"]]},{"id":"9653af26.b69d3","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":1980,"wires":[["5b8798af.daa778"]]},{"id":"5bf3e820.ba01f8","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":43,"width":2,"height":2,"passthru":true,"label":"PROGRAM","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":290,"y":2020,"wires":[["f7b04fb1.cc3298"]]},{"id":"2c781786.f9e468","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":2020,"wires":[["5bf3e820.ba01f8"]]},{"id":"f2096589.376d5","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":44,"width":2,"height":2,"passthru":true,"label":"AUDIO","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":2060,"wires":[["f7b04fb1.cc3298"]]},{"id":"11a3ac47.41a4dc","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":2060,"wires":[["f2096589.376d5"]]},{"id":"86bf3820.bc62d","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":45,"width":2,"height":2,"passthru":true,"label":"SUBTITLE","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":290,"y":2100,"wires":[["f7b04fb1.cc3298"]]},{"id":"ddad71f1.12aaf","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":2100,"wires":[["86bf3820.bc62d"]]},{"id":"7a5f8442.bc7714","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":46,"width":4,"height":2,"passthru":true,"label":"CLEAR","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":280,"y":2140,"wires":[["f7b04fb1.cc3298"]]},{"id":"7042da1a.e6a754","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":2140,"wires":[["7a5f8442.bc7714"]]},{"id":"7eda4d33.407044","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":47,"width":2,"height":2,"passthru":true,"label":"ZOOM","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":2180,"wires":[["f7b04fb1.cc3298"]]},{"id":"cce49f5a.95fe08","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":2180,"wires":[["7eda4d33.407044"]]},{"id":"bab77c85.6bfbb8","type":"comment","z":"7a472838.fcd788","name":"NAD REMOTE","info":"","x":480,"y":20,"wires":[]},{"id":"92db84b2.9bbc3","type":"exec","z":"7a472838.fcd788","command":"/usr/bin/irw","addpay":false,"append":"","useSpawn":"true","timer":"","oldrc":false,"name":"lirc - irw","x":280,"y":140,"wires":[["16ba359d.900ac2"],[],[]]},{"id":"9ef98366.aeeca8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":130,"y":140,"wires":[["92db84b2.9bbc3"]]},{"id":"7ca5c7cb.e1038","type":"debug","z":"7a472838.fcd788","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1050,"y":360,"wires":[]},{"id":"6bbb8c21.41ae54","type":"http request","z":"7a472838.fcd788","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://192.168.20.176/ir?code={{{query}}}","tls":"","persist":false,"proxy":"","authType":"","x":890,"y":360,"wires":[["7ca5c7cb.e1038"]]},{"id":"f7b04fb1.cc3298","type":"change","z":"7a472838.fcd788","name":"","rules":[{"t":"set","p":"query","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":580,"y":340,"wires":[["6bbb8c21.41ae54"]]},{"id":"687e60ad.2b6e48","type":"comment","z":"7a472838.fcd788","name":"Inject to ESP32","info":"","x":940,"y":320,"wires":[]},{"id":"5528e089.94d018","type":"debug","z":"7a472838.fcd788","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1024,"y":140,"wires":[]},{"id":"16ba359d.900ac2","type":"csv","z":"7a472838.fcd788","name":"","sep":" ","hdrin":"","hdrout":"none","multi":"one","ret":"\\n","temp":"","skip":"0","strings":true,"include_empty_strings":"","include_null_values":"","x":430,"y":140,"wires":[["55a5584b.b14b88"]]},{"id":"55a5584b.b14b88","type":"switch","z":"7a472838.fcd788","name":"","property":"payload.col2","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":590,"y":140,"wires":[["225a58e4.56db5"]]},{"id":"1f4e6452.b49024","type":"comment","z":"7a472838.fcd788","name":"Que les premiers appuis","info":"","x":610,"y":80,"wires":[]},{"id":"225a58e4.56db5","type":"change","z":"7a472838.fcd788","name":"","rules":[{"t":"set","p":"query","pt":"msg","to":"payload.col3","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":760,"y":140,"wires":[["6bbb8c21.41ae54","5528e089.94d018"]]},{"id":"d296a9f.61f4458","type":"comment","z":"7a472838.fcd788","name":"Lecture IR via LIRC","info":"","x":210,"y":80,"wires":[]},{"id":"95ba2365.2082f8","type":"comment","z":"7a472838.fcd788","name":"Dashboard avec télécommande virtuelle","info":"","x":200,"y":200,"wires":[]},{"id":"16d43a86.d8f7a5","type":"comment","z":"7a472838.fcd788","name":"Code de la touche dans Query http.","info":"","x":640,"y":300,"wires":[]},{"id":"1391e7aa.65dbd8","type":"comment","z":"7a472838.fcd788","name":"Code de la touche dans Query http","info":"","x":880,"y":80,"wires":[]},{"id":"1431c5f.d1b74ba","type":"ui_template","z":"7a472838.fcd788","group":"e84be541.072ae","name":"","order":49,"width":0,"height":0,"format":"<div ng-bind-html="msg.payload"></div>\n<style>\n.md-button {\n font-size: 20px !important;\n border-radius: 30px;\n}\n\n</style>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":300,"y":300,"wires":[[]]},{"id":"a3ddffe2.3856e8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e84be541.072ae","order":2,"width":2,"height":2,"passthru":true,"label":"AM","tooltip":"","color":"","bgcolor":"","icon":"","payload":"AM","payloadType":"str","topic":"topic","topicType":"msg","x":270,"y":380,"wires":[["f7b04fb1.cc3298"]]},{"id":"1e519421.f9df8c","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":380,"wires":[["a3ddffe2.3856e8"]]},{"id":"9d9e9e55.93bc38","type":"ui_button","z":"7a472838.fcd788","d":true,"name":"","group":"e84be541.072ae","order":48,"width":6,"height":2,"passthru":true,"label":"Power via AGIRS","tooltip":"","color":"red","bgcolor":"","icon":"fa-power-off","payload":"RCVR_POWER","payloadType":"str","topic":"topic","topicType":"msg","x":307,"y":247,"wires":[["6cb53ccb.539b14"]]},{"id":"d8e534ce.cde15","type":"inject","z":"7a472838.fcd788","d":true,"name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":137,"y":247,"wires":[["9d9e9e55.93bc38"]]},{"id":"6cb53ccb.539b14","type":"exec","z":"7a472838.fcd788","d":true,"command":"/usr/bin/irsend SEND_ONCE NAD_AVR2-RCVR RCVR_POWER","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"IRsend","x":517,"y":247,"wires":[[],["f0d06a52.66f65"],[]]},{"id":"f0d06a52.66f65","type":"debug","z":"7a472838.fcd788","d":true,"name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":717,"y":247,"wires":[]},{"id":"51e8aca0.156a2c","type":"comment","z":"7a472838.fcd788","name":"NAD REMOTE","info":"","x":140,"y":300,"wires":[]},{"id":"a41f135e.f9122","type":"ui_button","z":"7a472838.fcd788","name":"Power","group":"e48b1652.82182","order":1,"width":3,"height":2,"passthru":true,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-power-off","payload":"RC6_POWER","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":440,"wires":[["f7b04fb1.cc3298"]]},{"id":"daf04a90.89d45","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":440,"wires":[["a41f135e.f9122"]]},{"id":"1ea0ae1a.1d987a","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":29,"width":2,"height":2,"passthru":true,"label":"1","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_1","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":480,"wires":[["f7b04fb1.cc3298"]]},{"id":"48a51d65.73a07c","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":480,"wires":[["1ea0ae1a.1d987a"]]},{"id":"2c9b4a3c.2676fe","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":30,"width":2,"height":2,"passthru":true,"label":"2","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_2","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":520,"wires":[["f7b04fb1.cc3298"]]},{"id":"12ea9b9b.5da9e4","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":520,"wires":[["2c9b4a3c.2676fe"]]},{"id":"c40bc823.3d2fb","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":31,"width":2,"height":2,"passthru":true,"label":"3","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_3","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":560,"wires":[["f7b04fb1.cc3298"]]},{"id":"dc60fbc4.57adc","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":560,"wires":[["c40bc823.3d2fb"]]},{"id":"470b9d2f.eed974","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":32,"width":2,"height":2,"passthru":true,"label":"4","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_4","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":600,"wires":[["f7b04fb1.cc3298"]]},{"id":"87b17fd4.35573","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":600,"wires":[["470b9d2f.eed974"]]},{"id":"995c2a3a.8907e","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":33,"width":2,"height":2,"passthru":true,"label":"5","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_5","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":640,"wires":[["f7b04fb1.cc3298"]]},{"id":"1760989f.61486f","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":640,"wires":[["995c2a3a.8907e"]]},{"id":"9100f3d3.fcdb88","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":34,"width":2,"height":2,"passthru":true,"label":"6","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_6","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":680,"wires":[["f7b04fb1.cc3298"]]},{"id":"2a5cf332.f0eb54","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":680,"wires":[["9100f3d3.fcdb88"]]},{"id":"c4486dca.4736a8","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":35,"width":2,"height":2,"passthru":true,"label":"7","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_7","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":720,"wires":[["f7b04fb1.cc3298"]]},{"id":"723fc1b0.db682","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":720,"wires":[["c4486dca.4736a8"]]},{"id":"8812f68f.4eea1","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":36,"width":2,"height":2,"passthru":true,"label":"8","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_8","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":760,"wires":[["f7b04fb1.cc3298"]]},{"id":"6e00af57.b162c","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":760,"wires":[["8812f68f.4eea1"]]},{"id":"a189f710.e1ec4","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":37,"width":2,"height":2,"passthru":true,"label":"9","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_9","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":800,"wires":[["f7b04fb1.cc3298"]]},{"id":"c4337671.c31d8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":800,"wires":[["a189f710.e1ec4"]]},{"id":"1eac4803.2da31","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":39,"width":2,"height":2,"passthru":true,"label":"0","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_0","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":840,"wires":[["f7b04fb1.cc3298"]]},{"id":"65b3a829.e4f988","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":840,"wires":[["1eac4803.2da31"]]},{"id":"5f534dae.7eb384","type":"ui_button","z":"7a472838.fcd788","name":"Up","group":"e48b1652.82182","order":13,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-up","payload":"RC6_UP","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":880,"wires":[["f7b04fb1.cc3298"]]},{"id":"d1ae55df.b8786","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":880,"wires":[["5f534dae.7eb384"]]},{"id":"82b169e1.b79e18","type":"ui_button","z":"7a472838.fcd788","name":"Down","group":"e48b1652.82182","order":19,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-down","payload":"RC6_DOWN","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":920,"wires":[["f7b04fb1.cc3298"]]},{"id":"b03aaf82.952da","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":920,"wires":[["82b169e1.b79e18"]]},{"id":"6c25b994.95c42","type":"ui_button","z":"7a472838.fcd788","name":"Left","group":"e48b1652.82182","order":15,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-left","payload":"RC6_LEFT","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":960,"wires":[["f7b04fb1.cc3298"]]},{"id":"9302cf5e.8733f8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":960,"wires":[["6c25b994.95c42"]]},{"id":"2caaa566.d9876a","type":"ui_button","z":"7a472838.fcd788","name":"Right","group":"e48b1652.82182","order":17,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-chevron-right","payload":"RC6_RIGHT","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1000,"wires":[["f7b04fb1.cc3298"]]},{"id":"b2737269.23b4a","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1000,"wires":[["2caaa566.d9876a"]]},{"id":"a2301e72.81248","type":"ui_button","z":"7a472838.fcd788","name":"Volume up","group":"e48b1652.82182","order":12,"width":2,"height":2,"passthru":true,"label":"+","tooltip":"","color":"","bgcolor":"","icon":"fa-volume-up","payload":"RC6_VOLPLUS","payloadType":"str","topic":"topic","topicType":"msg","x":730,"y":1040,"wires":[["f7b04fb1.cc3298"]]},{"id":"3f741fb3.d7d9b8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1040,"wires":[["a2301e72.81248"]]},{"id":"b70331.c9d704d","type":"ui_button","z":"7a472838.fcd788","name":"Volume down","group":"e48b1652.82182","order":18,"width":2,"height":2,"passthru":true,"label":"-","tooltip":"","color":"","bgcolor":"","icon":"fa-volume-down","payload":"RC6_VOLMINUS","payloadType":"str","topic":"topic","topicType":"msg","x":740,"y":1080,"wires":[["f7b04fb1.cc3298"]]},{"id":"810b53e1.c0da8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1080,"wires":[["b70331.c9d704d"]]},{"id":"c872dd9a.df61c","type":"ui_button","z":"7a472838.fcd788","name":"Ambilight","group":"e48b1652.82182","order":3,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"lightbulb_outline","payload":"RC6_AMBILIGHT","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1120,"wires":[["f7b04fb1.cc3298"]]},{"id":"8b232cdd.b8a7d8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1120,"wires":[["c872dd9a.df61c"]]},{"id":"8c12494b.b496b","type":"ui_button","z":"7a472838.fcd788","name":"Sources","group":"e48b1652.82182","order":4,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-arrow-circle-right","payload":"RC6_SOURCES","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1160,"wires":[["f7b04fb1.cc3298"]]},{"id":"7023abd8.96bd84","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1160,"wires":[["8c12494b.b496b"]]},{"id":"3ee01fdf.2b8cf","type":"ui_button","z":"7a472838.fcd788","name":"Settings","group":"e48b1652.82182","order":5,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-cog","payload":"RC6_SETTINGS","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1200,"wires":[["f7b04fb1.cc3298"]]},{"id":"5b715b6e.629b34","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1200,"wires":[["3ee01fdf.2b8cf"]]},{"id":"7123e0aa.e8b9","type":"ui_button","z":"7a472838.fcd788","name":"TopPicks","group":"e48b1652.82182","order":6,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-star","payload":"RC6_TOPPICKS","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1240,"wires":[["f7b04fb1.cc3298"]]},{"id":"82ddb75c.39318","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1240,"wires":[["7123e0aa.e8b9"]]},{"id":"b6664dc6.fbd8d","type":"ui_button","z":"7a472838.fcd788","name":"Search","group":"e48b1652.82182","order":7,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-search","payload":"RC6_SEARCH","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1280,"wires":[["f7b04fb1.cc3298"]]},{"id":"8940b88.21ad9c8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1280,"wires":[["b6664dc6.fbd8d"]]},{"id":"31e49f9e.e644e","type":"ui_button","z":"7a472838.fcd788","name":"Exit/tv","group":"e48b1652.82182","order":8,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-tv","payload":"RC6_EXIT","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1320,"wires":[["f7b04fb1.cc3298"]]},{"id":"e843b542.1001d","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1320,"wires":[["31e49f9e.e644e"]]},{"id":"240bb64a.5ab85a","type":"ui_button","z":"7a472838.fcd788","name":"TV Guide","group":"e48b1652.82182","order":9,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-list","payload":"RC6_TVGUIDE","payloadType":"str","topic":"topic","topicType":"msg","x":720,"y":1360,"wires":[["f7b04fb1.cc3298"]]},{"id":"de9d79dd.cf7f18","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1360,"wires":[["240bb64a.5ab85a"]]},{"id":"5ed14752.5f07b8","type":"ui_button","z":"7a472838.fcd788","name":"RightMenu","group":"e48b1652.82182","order":10,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-window-restore","payload":"RC6_RIGHTMENU","payloadType":"str","topic":"topic","topicType":"msg","x":730,"y":1400,"wires":[["f7b04fb1.cc3298"]]},{"id":"92369c77.16008","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1400,"wires":[["5ed14752.5f07b8"]]},{"id":"8b6ebbe7.359a68","type":"ui_button","z":"7a472838.fcd788","name":"List","group":"e48b1652.82182","order":11,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-bars","payload":"RC6_LIST","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1440,"wires":[["f7b04fb1.cc3298"]]},{"id":"e2ad99fa.e6b9f","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1440,"wires":[["8b6ebbe7.359a68"]]},{"id":"5a210c02.cd6114","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":16,"width":2,"height":2,"passthru":true,"label":"OK","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_OK","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1480,"wires":[["f7b04fb1.cc3298"]]},{"id":"c0e2d7b6.07bc5","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1480,"wires":[["5a210c02.cd6114"]]},{"id":"2fb3d3bf.20ff24","type":"comment","z":"7a472838.fcd788","name":"Philips Remote","info":"","x":640,"y":400,"wires":[]},{"id":"92775fa5.41a8a","type":"ui_button","z":"7a472838.fcd788","name":"<-","group":"e48b1652.82182","order":21,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-arrow-left","payload":"RC6_ANDROIDRETURN","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1520,"wires":[["f7b04fb1.cc3298"]]},{"id":"2eeeb271.fa122e","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1520,"wires":[["92775fa5.41a8a"]]},{"id":"e81cd3f9.e8bb18","type":"ui_button","z":"7a472838.fcd788","name":"Plus","group":"e48b1652.82182","order":22,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-plus","payload":"RC6_ANDROIDPLUS","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1560,"wires":[["f7b04fb1.cc3298"]]},{"id":"edc57808.f973a8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1560,"wires":[["e81cd3f9.e8bb18"]]},{"id":"1313210.173d25f","type":"ui_button","z":"7a472838.fcd788","name":"Home","group":"e48b1652.82182","order":23,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-home","payload":"RC6_ANDROIDHOME","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1600,"wires":[["f7b04fb1.cc3298"]]},{"id":"97ce2cb1.f97ff8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1600,"wires":[["1313210.173d25f"]]},{"id":"a30b7192.20fd5","type":"ui_button","z":"7a472838.fcd788","name":"Red","group":"e48b1652.82182","order":24,"width":1,"height":1,"passthru":true,"label":"","tooltip":"","color":"red","bgcolor":"","icon":"fa-circle","payload":"RC6_RED","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1640,"wires":[["f7b04fb1.cc3298"]]},{"id":"f2fa173a.14a7f8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1640,"wires":[["a30b7192.20fd5"]]},{"id":"cab6ddf.7d6402","type":"ui_button","z":"7a472838.fcd788","name":"Green","group":"e48b1652.82182","order":25,"width":1,"height":1,"passthru":true,"label":"","tooltip":"","color":"green","bgcolor":"","icon":"fa-circle","payload":"RC6_GREEN","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1680,"wires":[["f7b04fb1.cc3298"]]},{"id":"77881242.1ce514","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1680,"wires":[["cab6ddf.7d6402"]]},{"id":"7aaff854.ea80c8","type":"ui_button","z":"7a472838.fcd788","name":"Yellow","group":"e48b1652.82182","order":27,"width":1,"height":1,"passthru":true,"label":"","tooltip":"","color":"yellow","bgcolor":"","icon":"fa-circle","payload":"RC6_YELLOW","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1720,"wires":[["f7b04fb1.cc3298"]]},{"id":"e38c66b1.09eaf8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1720,"wires":[["7aaff854.ea80c8"]]},{"id":"55a96b5c.34b704","type":"ui_button","z":"7a472838.fcd788","name":"Blue","group":"e48b1652.82182","order":28,"width":1,"height":1,"passthru":true,"label":"","tooltip":"","color":"blue","bgcolor":"","icon":"fa-circle","payload":"RC6_BLUE","payloadType":"str","topic":"topic","topicType":"msg","x":710,"y":1760,"wires":[["f7b04fb1.cc3298"]]},{"id":"eb4dd3cc.3096b8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":580,"y":1760,"wires":[["55a96b5c.34b704"]]},{"id":"b3881d2b.3fb49","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":2,"width":3,"height":2,"passthru":true,"label":"NETFLIX","tooltip":"","color":"red","bgcolor":"","icon":"","payload":"RC6_NETFLIX","payloadType":"str","topic":"topic","topicType":"msg","x":1040,"y":440,"wires":[["f7b04fb1.cc3298"]]},{"id":"ad6292.8f0c557","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":440,"wires":[["b3881d2b.3fb49"]]},{"id":"c7c61bea.45a67","type":"ui_button","z":"7a472838.fcd788","name":"Prog +","group":"e48b1652.82182","order":14,"width":2,"height":2,"passthru":true,"label":"+","tooltip":"","color":"","bgcolor":"","icon":"fa-tv","payload":"RC6_PROGPLUS","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":480,"wires":[["f7b04fb1.cc3298"]]},{"id":"e28b310.c5dffd","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":480,"wires":[["c7c61bea.45a67"]]},{"id":"d3fbd274.0b748","type":"ui_button","z":"7a472838.fcd788","name":"Prog '","group":"e48b1652.82182","order":20,"width":2,"height":2,"passthru":true,"label":"-","tooltip":"","color":"","bgcolor":"","icon":"fa-tv","payload":"RC6_PROGMINUS","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":520,"wires":[["f7b04fb1.cc3298"]]},{"id":"3c3a6da4.e20842","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":520,"wires":[["d3fbd274.0b748"]]},{"id":"a088a588.611c8","type":"ui_button","z":"7a472838.fcd788","name":"Mute","group":"e48b1652.82182","order":26,"width":2,"height":1,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"volume_off","payload":"RC6_MUTE","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":560,"wires":[["f7b04fb1.cc3298"]]},{"id":"3a171cce.01c0bc","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":560,"wires":[["a088a588.611c8"]]},{"id":"4ab86af5.3fc2a4","type":"ui_button","z":"7a472838.fcd788","name":"Stop","group":"e48b1652.82182","order":41,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-stop","payload":"RC6_STOP","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":600,"wires":[["f7b04fb1.cc3298"]]},{"id":"618d3812.fb9d88","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":600,"wires":[["4ab86af5.3fc2a4"]]},{"id":"2398b72a.bb7e4","type":"ui_button","z":"7a472838.fcd788","name":"Pause","group":"e48b1652.82182","order":42,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-pause","payload":"RC6_PAUSE","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":640,"wires":[["f7b04fb1.cc3298"]]},{"id":"db8bc32.45cfbc","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":640,"wires":[["2398b72a.bb7e4"]]},{"id":"abcc8ee6.b8594","type":"ui_button","z":"7a472838.fcd788","name":"Record","group":"e48b1652.82182","order":43,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-circle","payload":"RC6_RECORD","payloadType":"str","topic":"topic","topicType":"msg","x":1040,"y":680,"wires":[["f7b04fb1.cc3298"]]},{"id":"441c59c0.826d78","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":680,"wires":[["abcc8ee6.b8594"]]},{"id":"ada645a0.7a3f98","type":"ui_button","z":"7a472838.fcd788","name":"Rewind","group":"e48b1652.82182","order":44,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-backward","payload":"RC6_REWIND","payloadType":"str","topic":"topic","topicType":"msg","x":1040,"y":720,"wires":[["f7b04fb1.cc3298"]]},{"id":"498d913a.0e668","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":720,"wires":[["ada645a0.7a3f98"]]},{"id":"4ca6b7d3.32a27","type":"ui_button","z":"7a472838.fcd788","name":"Forward","group":"e48b1652.82182","order":46,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-forward","payload":"RC6_FORWARD","payloadType":"str","topic":"topic","topicType":"msg","x":1040,"y":760,"wires":[["f7b04fb1.cc3298"]]},{"id":"7183f45f.a28d2c","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":760,"wires":[["4ca6b7d3.32a27"]]},{"id":"9d3513f9.62764","type":"ui_button","z":"7a472838.fcd788","name":"Play","group":"e48b1652.82182","order":45,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"fa-play","payload":"RC6_PLAY","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":800,"wires":[["f7b04fb1.cc3298"]]},{"id":"1c80e117.0c2c3f","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":800,"wires":[["9d3513f9.62764"]]},{"id":"bfe2e37c.df22d8","type":"ui_button","z":"7a472838.fcd788","name":"Subtitle","group":"e48b1652.82182","order":38,"width":2,"height":2,"passthru":true,"label":"","tooltip":"","color":"","bgcolor":"","icon":"subtitles","payload":"RC6_SUBTITLE","payloadType":"str","topic":"topic","topicType":"msg","x":1040,"y":840,"wires":[["f7b04fb1.cc3298"]]},{"id":"7c3eb118.c751c8","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":840,"wires":[["bfe2e37c.df22d8"]]},{"id":"1cb6390.b75b0c7","type":"ui_button","z":"7a472838.fcd788","name":"","group":"e48b1652.82182","order":40,"width":2,"height":2,"passthru":true,"label":"Text","tooltip":"","color":"","bgcolor":"","icon":"","payload":"RC6_TEXT","payloadType":"str","topic":"topic","topicType":"msg","x":1030,"y":880,"wires":[["f7b04fb1.cc3298"]]},{"id":"41ae80ed.bd67a","type":"inject","z":"7a472838.fcd788","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":900,"y":880,"wires":[["1cb6390.b75b0c7"]]},{"id":"e132e7a.5184818","type":"ui_template","z":"7a472838.fcd788","group":"e48b1652.82182","name":"","order":49,"width":0,"height":0,"format":"<div ng-bind-html="msg.payload"></div>\n<style>\n.md-button {\n font-size: 20px !important;\n border-radius: 20px;\n}\n\n</style>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":815,"y":399,"wires":[[]]},{"id":"e84be541.072ae","type":"ui_group","name":"NAD AVR2","tab":"b704b2ac.dd10b8","order":1,"disp":false,"width":"6","collapse":false},{"id":"e48b1652.82182","type":"ui_group","name":"PHILIPS","tab":"d3aad50b.a480e","order":2,"disp":false,"width":"6","collapse":false},{"id":"b704b2ac.dd10b8","type":"ui_tab","name":"AMPLI NAD","icon":"fa-volume-up","order":1,"disabled":false,"hidden":false},{"id":"d3aad50b.a480e","type":"ui_tab","name":"TV PHILIPS","icon":"fa-tv","order":2,"disabled":false,"hidden":false}]
Voici quelques copies d'écran de l'interface utilisateur, simulant les 2 télécommandes (NAD AVR2 et TV Philips OLED dernière génération. C'est particulièrement pratique sur mobile, car cela supporte le "wipe" ou balayage latéral pour passer d'une télécommande à une autre. Ici, vu sur ordinateur. La copie d'écran centrale montre le menu de sélection sur PC.
Voici qui termine la suite des 4 articles. J'espère vous avoir donné l'envie d'aller plus loin car c'est vraimetn puisant et on peut faire plein de choses.. N'hésitez pas à me laisser un commentaire pour me décrire vos réalisations !
Sommaire des articles de la série:
- IR remote 1/4 : Comprendre et analyser les signaux d'une télécommande infrarouge
- IR remote 2/4 : Emission réception infrarouge via LIRC sur Raspberry PI ou Orange Pi
- IR remote 3/4 : Emetteur infrarouge / wifi sur ESP32
- IR remote 4/4 : Télécommande Wifi avec Nodered + LIRC + ESP32