Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Formatierung Pushover

    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

    Formatierung Pushover

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stenmic last edited by

      Moin,
      kann man mit dem blockly für pushover irgendwie den Text formatieren?
      Ich meine diese html tags...

          <b>word</b> - display word in bold
          <i>word</i> - display word in italics
          <u>word</u> - display word underlined
          <font color="#0000ff">word</font> - display word in blue text
          <a href="http://example.com/">word</a> - display word as a tappable link to http://example.com/ 
      

      So geht es leider nicht

      2024-06-03 19 04 18.jpg

      wenn es keine Lösung für Blockly gibt wäre ich auch mit einem JS code zufrieden 😳

      liv-in-sky 4 Replies Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @stenmic last edited by

        @stenmic

        sendTo('pushover', {
            message: 'This message includes <b>bold</b>, <i>italic</i> and <u>underlined</u> text <font color=green>in</font> <font color=#ffa500>different</font> <font color=red>colors</font>.',
            html: 1
        });
        ``
        
        so funktioniert es - mit blockly habe ich es auch nicht geschafft
        Quarkmax 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @stenmic last edited by

          @stenmic

          evtl hier ein issue aufmachen https://github.com/ioBroker/ioBroker.pushover

          1 Reply Last reply Reply Quote 1
          • liv-in-sky
            liv-in-sky @stenmic last edited by

            @stenmic

            hier ist auch eine lösung für blockly https://forum.iobroker.net/post/1166622

            1 Reply Last reply Reply Quote 1
            • liv-in-sky
              liv-in-sky @stenmic last edited by

              @stenmic

              warum ein doppel-post ?????

              S 1 Reply Last reply Reply Quote 0
              • Quarkmax
                Quarkmax @liv-in-sky last edited by

                @liv-in-sky sagte in Formatierung Pushover:

                mit blockly habe ich es auch nicht geschafft

                javascript_pushover.png
                pushover_block.png

                sendTo("pushover.0", "send", {
                    message: messageIn,
                    title: titleIn,
                    sound: soundIn,
                    priority: priorityIn,
                    device: deviceIn,
                    html: 1    
                });
                
                
                
                /*
                sendTo("pushover", {
                   message:  'Test text', // mandatory - your text message
                   title:    'SweetHome', // optional  - your message's title, otherwise your app's name is used
                   sound:    'magic',     // optional  - the name of one of the sounds supported by device clients to override the user's default sound choice
                                          //    pushover, bike, bugle, cashregister, classical, cosmic, falling,
                                          //    gamelan, incoming, intermission, magic, mechanical, pianobar, siren,
                                          //    spacealarm, tugboat, alien, climb, persistent, echo, updown, none
                   priority: -1,          // optional
                                          //    -1 to always send as a quiet notification,
                                          //    1 to display as high-priority and bypass the user's quiet hours, or
                                          //    2 to also require confirmation from the user
                   token: 'API/KEY token' // optional
                                          // add other than configurated token to the call  
                   url,                   // optional  - a supplementary URL to show with your message
                   url_title,             // optional  - a title for your supplementary URL, otherwise just the URL is shown
                   device,                // optional  - your user's device name to send the message directly to that device, rather than all of the user's devices
                   timestamp              // optional  - a Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API
                   html                   // optional  - 1 to enable parsing of HTML formating for bold, italic, underlined and font color
                   monospace              // optional  - 1 to display the message in monospace font
                                          //    either html or monospace is allowed
                });
                */
                
                liv-in-sky 1 Reply Last reply Reply Quote 1
                • liv-in-sky
                  liv-in-sky @Quarkmax last edited by

                  @quarkmax

                  es geht wie im link beschrieben - man darf nicht den pushover block nehmn, sondern den sendTo block (erster block ganz oben

                  dann pushover auswählen und im zahnrad die parameter message und html einrichten - html fehlt im orginal pushover block - daher geht es nicht damit

                  1 Reply Last reply Reply Quote 1
                  • S
                    stenmic @liv-in-sky last edited by

                    @liv-in-sky
                    hab den anderen Post erst gefunden nachdem ich diesen hier gepostet habe

                    S liv-in-sky 2 Replies Last reply Reply Quote 0
                    • S
                      stenmic @stenmic last edited by

                      danke für die Vorschläge

                      1 Reply Last reply Reply Quote 0
                      • liv-in-sky
                        liv-in-sky @stenmic last edited by

                        @stenmic

                        probier mal das beschrieben in meinen letzten post mit dem sendTo block

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          stenmic @liv-in-sky last edited by

                          @liv-in-sky
                          schon getestet… funktioniert

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          515
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          450
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo