Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter telegram-menu v.1.6.x

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Test Adapter telegram-menu v.1.6.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael Roling
      Michael Roling Developer @liv-in-sky last edited by Michael Roling

      @liv-in-sky mach den adapter fertig 😎😉table in html geht nicht

      Also Inline keyboard, damit mache ich ja auch die submenus

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

        @michael-roling sagte in Test Adapter telegram-menu v.0.9.x:

        mach den adapter fertig

        bist du dir da sicher ? 🙂

        Michael Roling 2 Replies Last reply Reply Quote 0
        • Michael Roling
          Michael Roling Developer @liv-in-sky last edited by

          @liv-in-sky ich mache auch immer wieder was kaputt

          1 Reply Last reply Reply Quote 0
          • Michael Roling
            Michael Roling Developer @liv-in-sky last edited by

            @liv-in-sky wie schickst du die liste per telegram?

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

              @michael-roling

              durch deinen adapter getriggertes script wird einfach an die genutzte telegram instanz geschickt

              Michael Roling 1 Reply Last reply Reply Quote 0
              • Michael Roling
                Michael Roling Developer @liv-in-sky last edited by

                @liv-in-sky ja das ist klar, wie baust du es zusammen? wie sieht genau das ergebnis aus?
                2d11abcc-bf4b-4350-83d0-aa7b353242eb-grafik.png
                und jedes object sieht so aus b0e6228c-0c05-46e6-8f37-2ea200f0d0ab-grafik.png
                so oder ?

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

                  @michael-roling

                  on({ id: getOut, change: 'ne' }, async (obj) => {
                    let value = obj.state.val;
                    let oldValue = obj.oldState.val;
                    sendUebersicht(theJsonOut,"AUSSEN")
                  });
                  

                  dann die function:

                  function sendUebersicht(testData,bereich){
                  let ArrSend=[];
                  let testArr=[]
                  testArr.push({
                                       "text":"\uD83D\uDD52 ",
                                       "callback_data": 'delliAllOverTelegramtest'},
                                  {
                                       "text":"Event",
                                       "callback_data": 'delliAllOverTelegramtest'}); 
                                      // log(testArr) 
                  ArrSend.push(testArr)   ;                 
                  
                  testArr=[];
                  
                  for (let i =1;i<testData.length;i++){log(testData[i].zeit); let helper;
                                                             testArr.push({
                                                                   "text":testData[i].zeit,
                                                                   "callback_data": 'delliAllOverTelegramtest'+i},
                                                                   {
                                                                   "text":testData[i].ereignis.replace(/\\r\\n/," "),
                                                                   "callback_data": 'delliAllOverTelegramtest'+i});                                                 
                                                                   
                                     ArrSend.push(testArr)     ;testArr=[]            } 
                        log(JSON.stringify(ArrSend))            
                  
                  
                  log(JSON.stringify(ArrSend)) 
                  
                   sendTo('telegram.0', {
                   
                    text: "\u{26f8} TODAY ALL "+bereich+"\u{26f8} " ,
                    parse_mode:"Markdown",
                    reply_markup: {
                        inline_keyboard: ArrSend, 
                                   
                        resize_keyboard:      false,
                        one_time_keyboard:    true,
                        disable_notification: false,
                        remove_Keyboard:      true  
                    } 
                  });
                  
                  
                  }
                  

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

                    @michael-roling

                    aber der callback wird nicht ausgewertet

                    Michael Roling 1 Reply Last reply Reply Quote 0
                    • Michael Roling
                      Michael Roling Developer @liv-in-sky last edited by

                      @liv-in-sky ja das ist klar mit dem callback

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

                        @michael-roling

                        aufgeteilt ist das script in einmal spaltenüberschrift

                        und anschliessend die daten

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

                          @michael-roling stelle ich mir garnicht so einfach vor, das zu implemtieren

                          Michael Roling 1 Reply Last reply Reply Quote 0
                          • Michael Roling
                            Michael Roling Developer @liv-in-sky last edited by

                            @liv-in-sky leider schickt telegram mir garnichts, warum auch immer, wahrscheinlich weil ein zeichen nicht passt 😂

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

                              @michael-roling ich dachte, du willst an telegram senden

                              Michael Roling 1 Reply Last reply Reply Quote 0
                              • Michael Roling
                                Michael Roling Developer @liv-in-sky last edited by

                                @liv-in-sky ich habe es , jetzt noch finetuning ff8da8f9-a83a-45eb-bf63-eb9a4d167345-grafik.png

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

                                  @michael-roling coool - vor allem die w.c.ente

                                  Michael Roling 1 Reply Last reply Reply Quote 0
                                  • Michael Roling
                                    Michael Roling Developer @liv-in-sky last edited by

                                    @liv-in-sky fea30c84-f2ba-43ad-988d-a2db31512cdf-grafik.png

                                    jetzt muss ich erstmal Pause machen

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

                                      @michael-roling hast du dir verdient

                                      1 Reply Last reply Reply Quote 0
                                      • Michael Roling
                                        Michael Roling Developer @Michael Roling last edited by

                                        @michael-roling So das habe ich auch hochgeladen, dann kannst du das auch probieren

                                        Rene55 liv-in-sky 2 Replies Last reply Reply Quote 0
                                        • Rene55
                                          Rene55 @Michael Roling last edited by

                                          @michael-roling Ich meld mich nochmal leise zu Wort. Aktueller Stand ist der, dass alle reaktivierungsversuche nichts gebracht haben. Dann hatte ich den Adapter komplett gelöscht. Gerade versuche ich, den aktuellen Stand von ca. 21:04 per Github zu installieren. Im Installationsfenster sehe ich 'upload[17] und upload[16]'. Und dann geht der Speicherbedarf so hoch, dass er mir den Swap zu fährt - dann ist Ende!

                                          Michael Roling 1 Reply Last reply Reply Quote 0
                                          • Michael Roling
                                            Michael Roling Developer @Rene55 last edited by

                                            @rene55 ich kann das nicht nachvollziehen, ich habe auch gerade mal das update eingespielt schaue hier
                                            49b06e6e-299a-4b62-9e1f-903d64a12e94-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            886
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            58
                                            1719
                                            527570
                                            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