Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. dony71

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 0
    • Groups 1

    dony71

    @dony71

    Starter

    0
    Reputation
    3
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dony71 Follow
    Starter

    Latest posts made by dony71

    • RE: trying to get value of updated object id sent to telegram

      @paul53 thanks .... it's working well
      you're really the expert

      posted in Blockly
      dony71
      dony71
    • RE: trying to get value of updated object id sent to telegram

      @paul53 Restart java script won't help. I have to restart blocky script. This means each time mosquitto_pub publish new object instance, I have to restart the script then re-publish this new object then trigger works.
      How could it be? Maybe I'm missing some setting?

      FYI below my updated blocky script
      2ae8ce43-4031-4512-8b0f-836b762a0508-image.png

      posted in Blockly
      dony71
      dony71
    • RE: trying to get value of updated object id sent to telegram

      @paul53 yeap, it works, thank you
      Now I have another problem
      I notice script will not trigger if object id not exist before
      for ex. let says object "mqtt.1.diningroom.MSG" not exist yet
      Then I publish "mosquitto_pub -t /mqtt/1/diningroom/MSG -m hallo",
      script won't trigger anything (no telegram msg being sent)
      After that even if I redo publish "mosquitto_pub -t /mqtt/1/diningroom/MSG -m world",
      script still won't trigger anything.
      Is there anything I should do to fix this?

      posted in Blockly
      dony71
      dony71
    • RE: trying to get value of updated object id sent to telegram

      @paul53 by inserting value "server", it will show all mqtt.1.* object, not only updated object
      so for ex. I have mqtt.1.bedroom.MSG and mqtt.1.classroom.MSG, then
      server = mqtt.1.bedroom.MSG,mqtt.1.classroom.MSG

      posted in Blockly
      dony71
      dony71
    • RE: trying to get value of updated object id sent to telegram

      @dony71 btw, i can understand german, so anybody can reply in german language

      posted in Blockly
      dony71
      dony71
    • trying to get value of updated object id sent to telegram

      Hi expert scripter
      I have problem in my blocky script
      I'm trying to get value of updated object id sent to telegram
      Blocky looks like below
      21d61185-ea7f-4abb-8b69-206b62161d85-image.png

      I have several mqtt.1 object, for ex. mqtt.1.bedroom, mqtt.1.classroom, etvc
      If there is update in value of one mqtt.1 object, for ex. mqtt.1.bedroom.MSG, I want telegram to send value of mqtt.1.bedroom.MSG
      However with this blocky, telegram only send word "Server" without value
      How to do this?

      posted in Blockly
      dony71
      dony71
    • trying to get value of updated object id sent to telegram

      Hi expert scripter
      I have problem in my blocky script
      I'm trying to get value of updated object id sent to telegram
      Blocky looks like below
      e55d4816-65c4-4639-bd21-17e1bc0dacb3-image.png

      I have several mqtt.1 object, for ex. mqtt.1.bedroom, mqtt.1.classroom, etvc
      If there is update in value of one mqtt.1 object, for ex. mqtt.1.bedroom.MSG, I want telegram to send value of mqtt.1.bedroom.MSG
      However with this blocky, telegram only send word "Server" without value
      How to do this?

      posted in Blockly
      dony71
      dony71
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo