The Node-Red Message Object for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 29

  • @kcmichaelm
    @kcmichaelm 2 ปีที่แล้ว

    Thank you for making these. Some of the online instruction is harder to follow when it's just in a text form - seeing a walkthrough of it in real time makes things very clear.

  • @dhruvpurwar6642
    @dhruvpurwar6642 2 ปีที่แล้ว

    Great video...got to learn something new. Thanks!!

  • @BernhardSix
    @BernhardSix 6 ปีที่แล้ว +2

    Thank you. Manipulating the msg within a function node was interesting to me

  • @kimia1377
    @kimia1377 4 ปีที่แล้ว

    finally a proper tutorial thankyou very much

  • @uweri_3851
    @uweri_3851 6 ปีที่แล้ว

    perfect stuff. Watching your videos help me to get more and more familiar with rednode. Hope we get much more of these.

  • @buddyscottie2184
    @buddyscottie2184 5 ปีที่แล้ว +1

    many thanks - clear and concise, very useful

  • @EViL3666
    @EViL3666 5 ปีที่แล้ว

    Great video.. Thanks a lot for publishing these, very useful... I tinker with Python, so I'm looking to use Node-RED as a dashboard / controller for different bits around the house.

  • @nurwardiahspian9833
    @nurwardiahspian9833 6 ปีที่แล้ว +1

    thank you..very helpful for a beginner like me

  • @Fabios-br
    @Fabios-br 6 ปีที่แล้ว

    Very good explanation , thank you.

  • @SA-oj3bo
    @SA-oj3bo 3 ปีที่แล้ว

    Thanks! Is there any logic behind the msg id or is it just a random number?

    • @stevecope
      @stevecope  3 ปีที่แล้ว +1

      The idea is that you can use it to track a message even if it branches.

  • @anthonysmicro-world5073
    @anthonysmicro-world5073 4 ปีที่แล้ว

    it is possible to split one string like this "18.3;82.0;3" for a 3 topics ?

    • @stevecope
      @stevecope  4 ปีที่แล้ว

      You can split on the ; using
      s="18.3;82.0;3";
      res=s.split(",");
      you should get an arryay
      [18.3,82.0,3]

    • @anthonysmicro-world5073
      @anthonysmicro-world5073 4 ปีที่แล้ว

      @@stevecope thanks

  • @onlyiwilknow
    @onlyiwilknow 6 ปีที่แล้ว

    Nice one Steve!
    I was hoping you would continue from there and perhaps write the (or specific) values in a .txt or .csv file or even more interesting into a mySQL database )-:
    (Ideally combine say the date and timestamp value with the home sensor value when you write the combined value in a file)

    • @stevecope
      @stevecope  6 ปีที่แล้ว

      Hi
      That's the next video on the list and hopefully in a few weeks as I'm trying to finish off another project

  • @gilquinones6652
    @gilquinones6652 4 ปีที่แล้ว

    Hi Steve, this is great. I am a novice at this. What example videos do you have to extract(getData) data from a "Text" File using flows or objects?

    • @stevecope
      @stevecope  4 ปีที่แล้ว

      Hi
      Are you looking to extract words from text.? do you have a little example

    • @gilquinones6652
      @gilquinones6652 4 ปีที่แล้ว

      Yes I do. This is from a log file: I am looking to extract the connect-id: , sco-id: , and the asset-id:
      3 rows retrieved, max rows: 10; local time: Tue Mar 03 18:59:09 UTC 2020
      execution start: 2020-03-03 18:30:22.153 UTC
      {"compile-ms":"9","exec-ms":"94","server-rec'd":"1583260222134","statusDetail":"","status":"DEFAULT","host":"python-85fb5dbf54-t8tbs","total-ms":"107"}
      2020-03-03 18:30:22.153 INFO 451: starting: api replaySession, level: TRACE
      2020-03-03 18:30:22.165 DEBUG starting execution
      2020-03-03 18:30:22.165 DEBUG replaySession
      2020-03-03 18:30:22.166 DEBUG connect-id : r6GJIPvyVflqXpJd
      2020-03-03 18:30:22.166 DEBUG sco-id : 11692
      2020-03-03 18:30:22.166 DEBUG asset-id : 58754
      2020-03-03 18:30:22.235 TRACE PS: SELECT date_start, date_end, attendees_list, transcripts, sco_info, meeting_permissions_list, server FROM session_log WHERE connect_id = ? AND sco_id = ? AND asset_id = ? /* ec81aa30-5d7c-11ea-8ee0-53b4772b249d replaySession */
      -> args: ('r6GJIPvyVflqXpJd', 11692, 58754)
      -> consistency: ONE
      2020-03-03 18:30:22.258 DEBUG Failed to find meeting [r6GJIPvyVflqXpJd / 11692 / 58754] in session log
      2020-03-03 18:30:22.259 DEBUG 1 datalake keyspace queries
      2020-03-03 18:30:22.259 DEBUG executed without exceptions
      "meeting.log" 67L, 3976C

    • @stevecope
      @stevecope  4 ปีที่แล้ว

      @@gilquinones6652 I'll take a look

    • @stevecope
      @stevecope  4 ปีที่แล้ว

      @@gilquinones6652 Hi
      I found a node that might be useful
      flows.nodered.org/node/node-red-contrib-string
      I will try it myself to see how it works
      Contact me on the ask steve page on the site as it is easier to send you a flow.
      www.steves-internet-guide.com/ask-steve/
      rgds
      steve

    • @gilquinones6652
      @gilquinones6652 4 ปีที่แล้ว

      Steve , I will take a look and let me know what you find. Thank you

  • @rogeriotalmeida
    @rogeriotalmeida 6 ปีที่แล้ว

    very good .. thanks a lot

  • @rjh8888
    @rjh8888 4 ปีที่แล้ว

    Thank you.

  • @InshotsKannada
    @InshotsKannada 2 ปีที่แล้ว

    #noderedtutorials for more videos nodered

  • @misterwilliam8877
    @misterwilliam8877 5 ปีที่แล้ว

    Dear Steve, i have little problem converting message objects. I mailed regarding the issue. Kindly check