Ligne 42 : |
Ligne 42 : |
| {{ADFImage|Rasp-Node-Red-Premier-Pas-06.png}} | | {{ADFImage|Rasp-Node-Red-Premier-Pas-06.png}} |
| | | |
− | {{traduction}}
| + | Maintenant, nous pouvons vérifier que notre raccordement (flux) est correct en allant sur notre noeud "inject" et cliquez sur la pastille/bouton visible sur la gauche du noeud "inject". |
− | | |
− | Maintenant, nous pouvons vérifier que notre raccordement (flux) est correct en allant sur notre noeud "inject" node and clicking on the tab that pokes out on the left hand side. | |
| | | |
| {{ADFImage|Rasp-Node-Red-Premier-Pas-07.png}} | | {{ADFImage|Rasp-Node-Red-Premier-Pas-07.png}} |
| | | |
− | As soon as you click this tab you are telling the node to execute manually due to our intervention. Check the debug window and you will see a bunch of numbers which is actually the current time in milliseconds since 1970.
| + | Dès que vous cliquez sur cette pastille/bouton vous indiquez au noeud qu'il doit s'exécuter manuellement. Vérifiez le contenu de la fenêtre de débogage et vous verrez apparaître des nombres à chaque activation (ce nombre correspond au nombre de millisecondes écoulée depuis 1970). |
| | | |
| {{ADFImage|Rasp-Node-Red-Premier-Pas-08.png}} | | {{ADFImage|Rasp-Node-Red-Premier-Pas-08.png}} |
| | | |
− | I promised though a Hello World example so double click on the body of the inject node which is highlighted in orange as shown below.
| + | Nous vous avons promis un exemple "Hello World". Donc double-cliquez sur le corps du noeud "inject" en surbrillance orange (ci-dessous). |
| | | |
| {{ADFImage|Rasp-Node-Red-Premier-Pas-09.png}} | | {{ADFImage|Rasp-Node-Red-Premier-Pas-09.png}} |
| | | |
− | This opens up the nodes options panel. You can do this for any node to see further settings and to make changes.
| + | Cela ouvre un panneau contenant les options du noeud. Vous pouvez le faire sur n'importe quel noeud pour explorer les paramètre ou faire des modifications. |
| + | |
| + | Nous voulons que notre noeud "inject" sorte le texte 'Hello World' toutes les 3 secondes. Configurez les options comme indiqué ci-dessous: |
| | | |
− | I want our inject node to output the text Hello World every 3 seconds. In order to do this simply set your options as I have below.
| + | {{traduction}} |
| | | |
| The inject node is very versatile and you can schedule it to inject at various times of day which is really useful. I use it to automate fetching the weather to my twitter account just before I wake to go to work. | | The inject node is very versatile and you can schedule it to inject at various times of day which is really useful. I use it to automate fetching the weather to my twitter account just before I wake to go to work. |