Node-Red Toggle Button (Start-Stop)

  Рет қаралды 15,242

Steve Cope

Steve Cope

Күн бұрын

Пікірлер: 14
@BGazzah
@BGazzah Жыл бұрын
Another excellent vid concentrating on one idea...
@jean-pauldrolet1462
@jean-pauldrolet1462 2 ай бұрын
Tnx for this video . I wanted to use a SR flip Flop for the start and stop button instead i saw your video that solved my issue.
@John-sm4zf
@John-sm4zf 10 ай бұрын
Hi, Steve thank you for good sharing this is really good. Could you please share how to do momentary button for application such as jog motor fw or rv that currently I'm stuck on?
@carlosgallego1076
@carlosgallego1076 Жыл бұрын
Thanks for the video
@JanMangelinckx
@JanMangelinckx Жыл бұрын
Hi, Nice example. Learned a lot. However, you should copy line 30 context.set("state",state); and paste it between line 11 and 12, so the state you set during init is saved. now this is only done when pushing the button.
@howardtriggs5967
@howardtriggs5967 Жыл бұрын
Hi Steve, thanks for the tutorial , it's working fine. The only problem I am having is that the icon never changes. If I load a fa icon direct to the button it works fine but sending the {{myicon}} part of the message into the button doesn't have any effect. The {{background}} and {{topic}} elements work perfectly so I am at a loss as to what to try next.
@stevecope
@stevecope Жыл бұрын
Hi I tried it and it works ok for me. I do remember that initially I did have icon problems as the names were incorrect. Have you tried using other icons.
@rolandkamp5307
@rolandkamp5307 Жыл бұрын
Thanks, can you tell wich "gate" you are using, I see multiple when searching the pallette.
@stevecope
@stevecope Жыл бұрын
Hi it is node-red-contrib-simple-gate rgds steve
@rolandkamp5307
@rolandkamp5307 Жыл бұрын
@@stevecope Thanks!
@manuflores4695
@manuflores4695 Жыл бұрын
@@stevecope Hi, great video. I'm getting an Error when trying to install this. I'm working with an ADAM 6717 device that is running linux. Any suggestions?
@stevecope
@stevecope Жыл бұрын
@@manuflores4695 Is that when you install the flow or a particular node? If it is a node then it is usually because of nodejs version numbers and so you may need to upgrade nodejs. Rgds Steve
@dretwav
@dretwav Жыл бұрын
When I downloaded the flow, it did not work. Upon inspection lines 17 and 24 were commented out. Uncommenting those and it works. Also, I was a bit confused because the switch is only controlling the gate. To really be of any use you would have to send some other input to the gate. (like you do with the timestamp) I think it would be more clear if the label was "Press to Open" and "Press to Close" because you are not starting or stopping anything.
@stevecope
@stevecope Жыл бұрын
Hi tks for pointing that out I changed the lines in the video as an illustration but I must have used that flow . I will put up another flow. The gate is there only for illustation as it shows open and closed so you know the button is working. In a working flow you use it to start and stop the process. Rgds Steve
How to Input  Data into a Node-Red Flow
5:21
Steve Cope
Рет қаралды 5 М.
10- User Login by using function node and ui control in node-red
18:39
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Using the Node-Red Template Node with Mustache Formatting
15:09
Steve Cope
Рет қаралды 20 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 663 М.
Стыдные вопросы про Китай / вДудь
3:07:50
вДудь
Рет қаралды 2,3 МЛН
An introduction to running Node Red on the Cerbo GX
22:33
PKYS Inc
Рет қаралды 11 М.
Click a Button, Destroy My Site
11:40
Hyperplexed
Рет қаралды 105 М.
How to Store Data In Node Red Variables
12:23
Steve Cope
Рет қаралды 84 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН