I really like your videos. They're really good for when you just need info, on THAT specific little detail.
@uweri_38516 жыл бұрын
Hi Steve, thanks for these excelent tutorial. For me as an beginner the best way to get knowledge about Node Red. Hope we get many more of these stuff.
@harishpavant Жыл бұрын
Steve I split the incoming json array of objects and to loop through it and insert in data base what should I do?
@sagebrother Жыл бұрын
Very useful. Thanks!!
@AndrewTSq5 жыл бұрын
Do you have any course for beginner-beginners? I have a serial input into node-red, and in the debug-menu I only get "msg.payload : String[31] "example:31" and I use split and trim to get 31 out of this. The problem is that I get another string after this one, that I want to ignore.. but I dont understand how. So i cant chart my data cause of this.
@stevecope5 жыл бұрын
Hi It looks like your data is a JSON string so you can pass it into the JSON node to get a Javascript object. The use the change node to extract msg.payload.example and ignore the rest. You may find this useful Working With JSON Data in Node Red kzbin.info/www/bejne/aGW9imZ5eticpdk If still no luck then use the ask steve page on the site to send me you flow. www.steves-internet-guide.com/ask-steve/ rgds steve
@mbtechdev6593 жыл бұрын
I follow your tutorial exactly how you discussed my flow doesn't work. the debug is always showing: Expected "]" match error. Problem on Line 4.
@stevecope3 жыл бұрын
Are you using your own flow or mine.? If iy is your own flow then contact me using the ask steve page so you can then email me the flow and I can take a look. stevessmarthomeguide.com/ask-steve/
@old486whizz3 жыл бұрын
I know this is a little old, but when you say "there are other nodes that will split on keys other than 'payload' " - what are they? .. I've looked around and can't find anything comparable.
@stevecope3 жыл бұрын
The switch node will split the message into different paths based on any property. You can also use a function node with your own code. If you are stuck with splitting something then get back to me on the site stevesnoderedguide.com/ask-steve rgds steve
@old486whizz3 жыл бұрын
@@stevecope thanks, that lead me to finding the solution in the function node much better than using a separate split node!
@spalla696 жыл бұрын
Can I use a split inside another split?
@stevecope6 жыл бұрын
Not inside but after. As far as I know nodes can't be used inside other nodes.
@mustafaaljumaili62796 жыл бұрын
Hi Steve how can I contact you, I need your advice please
@stevecope6 жыл бұрын
There is acontact form on the website www.steves-internet-guide.com/about/ or email steve@steves-internet-guide.com
@tozinfo64485 жыл бұрын
hi steve, thanks for all your lessons, they are fantastic. i guess, you have slightly "msispoken" that the key is part of the payload when copied in the split-node (here: kzbin.info/www/bejne/jHyYhqxpbdhpjJI), i downloaded your flow and checked the debug, so one can see, that the copied key is part of msg.key, not msg.payload.key (anyway thanks for all lessons: 🎉🎉🎉👍)