Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram

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

      @liv-in-sky sagte in [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram:

      @skokarl

      hast du eigentlich schon das neue script mit der möglichkeit mehrere bots zu verwenden ? oder nutzt du noch die erste version ?

      Ich bin noch beim ersten weil meine NUC noch nicht sauber läuft.
      Mittlerweile glaube ich dass sie schnell genug ist, und ausreichend Speicher hat.
      Aufgefallen ist eine gelegentliche unglaublich langsame Lese/Schreibgeschwindigkeit ( ssd ).

      Für die ganzen Tests hatte ich das System extrem runtergefahren, jede Menge Adadpter abgeschaltet, Scripte auf ein Minimum reduziert usw.

      Speicherproblem kommt definitiv vom RSS Adapter, Schreibgeschwindigkeit suche ich noch.
      An der NUC liegt es nicht......vielleicht an Proxmox ( falsch konfiguriert ? )

      Kurzum, ich hab noch das Basisscript in Verwendung.

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

        @skokarl

        bei proxmox kann man nicht viel falsch definieren - evtl. speicher oder cpu anzahl zu wenig

        in der console mal htop aufrufen und nachsehen, ob was falsch läuft bei deinem iobroker-lxc oder -vm

        sudo apt install htop

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

          @liv-in-sky Danke für die Anregung. Ich kann aber keinen kompletten Hintergrund nehmen, der sich dann über das ganze Bild legt. Ich hätte gern die Postits selber mit so halb transparenten Hintergründen. Aber dann sind sie erst mal ohne Transparent.

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

            @d3ltoroxp

            evtl so:

            Image 7.png

            Image 8.png

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

              @liv-in-sky Ja, genau so hab ich mir das vorgestellt. Kann man hier mit der transparent spielen und einer Farbe ?

              Hättest du mir den Code für das Blockly ?

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

                @d3ltoroxp

                denke schon

                linear-gradient(90deg, rgba(85,116,125,.2) 0%, rgba(124,167,183,.2) 49%, rgba(65,90,98,.2) 100%)
                

                die rgba sind die rgb farben - de wert .2 ist jeweils die durchsichtigkeit - die farben kannst du hier bestimmen

                https://cssgradient.io/

                oben, in der zeile den abschnitttspunkt anklicken und ihm eine farbe geben - dann das A noch beschreiben - zwischen 0 und 100 - das machst du am besten alle gleich

                dann unten kopieren - ohne den strichpunkt

                Image 9.png

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

                  @skokarl

                  kuck mal

                  Image 3.png

                  habe es mal getestet mit dem parcel adapter


                  https://github.com/liv-in-sky/PostIt-fuer-VIS-und-Telegram

                  solte funktionieren, wenn paket in zustellung ist

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

                    @liv-in-sky

                    COOL !!

                    edit: eben den schedule im Script gesehen

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

                      @liv-in-sky

                      Ist das Paket Script komplett ? ( fehlerhaft ? )
                      Ich kann es nicht importieren ?, gibt ne längere Fehlermeldung

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

                        @skokarl

                        ich arbeite eh noch dran - hast du parcel installiert ?

                        evtl braucht es das neue postit script, damit alle dp vorhanden sind

                        ich werde später eine neue version vom postt und dem parcel abfrage script posten - gebe dir bescheid

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

                          @skokarl sagte in [HowTo] Script Sticky Notes (PostIt) für VIS und Telegram:

                          edit: eben den schedule im Script gesehen

                          ist noch nicht gut über schedule - aber zum testen brauche ich das, sonst passiert ja nix 🙂 - habe gerade keine lieferung

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

                            @skokarl

                            das neue script für mehrere bots ist auf github

                            https://github.com/liv-in-sky/PostIt-fuer-VIS-und-Telegram

                            es sind in dem script einstellungen für 3 bots - es ist aber nur ein bot in anzahlBots eingegeben - es funktioniert also mit einem bot

                            das parcel script ist auch drin - bitte das mal testen

                            1 Reply Last reply Reply Quote 0
                            • D3ltoroxp
                              D3ltoroxp last edited by

                              So eine Sache hätte ich noch, dann sieht das ganze schon recht gut aus. Die Textfarbe ? In dem Widget unten Text % Color habe ich weiß angegeben, aber da tut sich nichts. Der Text ist schwarz. Oben unter Layout kann ich ja nur Schriftart und Größe angeben. Im Widget Editor habe ich auch nichts gefunden.

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

                                @d3ltoroxp in dem neuen Script auf GitHub sind die Schriftfarben einstellbar

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

                                  @liv-in-sky

                                  Moin, kannst Du mir mal eine Hilfestellung geben, wie ich jeden Monat am 27. ein automatisches Post IT
                                  kriege auf dem nur steht " Strom/Gas ablesen" ......

                                  ähnlich dem PostIT für den Müll

                                  schedule("12 15 * * *",  function () {
                                  
                                   
                                  
                                  var myData=JSON.parse(getState('trashschedule.0.type.json').val);
                                  
                                  for (var index in myData ) { 
                                  
                                   
                                  
                                     if (myData[index].daysLeft==1) setState('0_userdata.0.Alarm-MaterialDesign.PostItErstellen',myData[index].name)
                                  
                                  }
                                  
                                   
                                  
                                  });
                                  
                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @skokarl last edited by

                                    @skokarl

                                    einfach nur ein blockly - trigger jeden 27.... um so und soviel uhr und dann steuere datenpunkt: '0_userdata.0.Alarm-MaterialDesign.PostItErstellen' - cron im trigger auswählen und bestimmte zeit und bestimmten tag auswählen

                                    Image 009.png

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

                                      @liv-in-sky

                                      irgendwie kann ich da händisch nix eingeben ???

                                      Screenshot 2022-08-04 030522.jpg

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

                                        @skokarl

                                        ganz einfach:

                                        postit-dp (40).gif

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

                                          @liv-in-sky

                                          Du bist der geilste !!!

                                          1 Reply Last reply Reply Quote 0
                                          • D3ltoroxp
                                            D3ltoroxp last edited by D3ltoroxp

                                            EDIT:

                                            Ich hatte noch mal oben geschaut, man muss das mit kleinem p schreiben. Jetzt gings auch.

                                            liv-in-sky 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            626
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            145
                                            11370
                                            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