Your tutorial in every video is Amazing, well explained and a lot of cases for using node-red Thank for sharing your expertise
@jarchdm
5 жыл бұрын
thank you i finally managed to let the switches show the state of my lights with the help of this video. excellent !
@sausage5849
Жыл бұрын
Very handy, thanks.
@quaternion-pi
5 жыл бұрын
Another helpful, well explained tutorial. Thanks for sharing your expertise. If considering requests - a websocket node example with node-red would complement your discussion of websockets on your web-site.
@MegaSolidgamer
4 жыл бұрын
That helped me thanks
@aubreymmotong9550
5 жыл бұрын
awesome tutorial, was very helpful for my application. How and where can i get that single input and multi output function?
@iot_enthusiast
5 жыл бұрын
well articulated tutorial. Maybe I am overlooking something but when I imported the downloaded flow I see only one switch.
@stevecope
5 жыл бұрын
hi Can you check that you have downloaded the correct flow. I just checked it and t was OK. Rgds Steve
@daxliniere
3 жыл бұрын
Hi Steve! Thanks for your tutorials, I'm just starting out with NR and have found these useful first steps. I found a very couple issues with your Couleur function. 1) The IDE shows that lines 12 and 19 (var newmsg = { ) have the error "newmsg is already defined". 2) If I swap the colours 'lime' and 'red', the function breaks and only ever sends lime. Literally just swapping the text colours around, no other changes. Likewise, switching the zeros and ones around causes the output to always be red. Any idea why this would happen?? I'm pretty confused! Cheers!
@daxliniere
3 жыл бұрын
Ahh, got a solution from a friend: if (msg.topic=="init") { //not real value return { payload: 'black' }; } const state = parseInt(msg.payload) if (state == 1) { return { payload: "red" }; } if (state == 0) { return { payload: "lime" }; }
@stevecope
3 жыл бұрын
Hi The car newmsg should only be declared once which is why you see the warning- My mistake but it doesn't affect the script. I tried reversing the colours and it worked as expected. Can you send me the changed code snippet and I'll take a look. Rgds Steve
@sledgeHammerRulez
3 жыл бұрын
Hi steve, I have a problem with the layout. I have 1 Tab with 1 Group. I inserted 1 switch to check the functionality (it was switching a GPIO on the (diet-)pi). I then inserted the other 7 switches but for some reason, the first switch (ie the test switch) is sorted on the bottom but it should be 3rd in the list. I tried with the alphabetically order of the name, the label, ... but it stayed at the bottom. How can I determine the layout of it? TIA BTW most of my NR knowledge, I've got from watching and following you video's! Tx & KUTGV! Mario
@sledgeHammerRulez
3 жыл бұрын
damn, i've just found it (in the hidden Dashboard tab) ... sorry ...
@stevecope
3 жыл бұрын
in the tab on the right select dashboard and you can drag and drop them into position
@paul3151
4 жыл бұрын
could you explain what to put into the group to show on dashboard? Flow is fine but can't get the switch to show on a dashboard
@stevecope
4 жыл бұрын
You can name it anything you want. at 1.30 in the video you can see the switch tab and group being selected you can scroll down the selection box and click on add group to create a new group with any name you want.
Пікірлер: 16