Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Windows 11 Info Bereich

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Windows 11 Info Bereich

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bernd 1337 @Codierknecht last edited by

      @codierknecht ja genau 192.168.1.2 mein pc und hinten die 3 ist mein Raspberry mit iobroker

      Codierknecht 1 Reply Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @Bernd 1337 last edited by

        @bernd-1337
        Zeig mal bitte das ganze Script.

        Homoran B 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Codierknecht last edited by

          @codierknecht sagte in Windows 11 Info Bereich:

          @bernd-1337
          Zeig mal bitte das ganze Script.

          @Bernd-1337
          als text in code-tags

          1 Reply Last reply Reply Quote 0
          • B
            Bernd 1337 @Codierknecht last edited by Homoran

            @codierknecht

            const axios = require('axios');
            axios.defaults.timeout = 500;
             
            const address = 'http://192.168.1.2:8090';
             
            async function sendNotification(title, body) {
                try {
                    await axios.head(address);
                } catch (error) {
                    if (error.code === 'ECONNABORTED') {
                        log('Target host:port not reachable');
                        return false;
                    }
                }
                let url = address + '/toastMessage';
                url += '?title=' + encodeURI(title);
                url += '&body=' + encodeURI(body);
                try {
                    await axios.get(url);
                } catch (error) {
                    log(error);
                    return false;
                }
                return true;
            }
             
            on({id:'0_userdata.0.example_state', change:"gt"}, async function () {
                sendNotification('Nachricht vom ioBroker', 'Es hat geklingelt!');
            });
               
               sendNotification('Send notications', 'Script started!');
            
            Codierknecht 1 Reply Last reply Reply Quote 0
            • Codierknecht
              Codierknecht Developer Most Active @Bernd 1337 last edited by

              @bernd-1337
              Firewall ist gestoppt?
              Kein Antivirus-Zeugs das dazwischenfunken könnte?

              B 2 Replies Last reply Reply Quote 0
              • B
                Bernd 1337 @Codierknecht last edited by

                @codierknecht hab nur ein antvirus Keine firewall also ips werden nicht Geblockt

                Codierknecht Homoran 2 Replies Last reply Reply Quote 0
                • B
                  Bernd 1337 @Codierknecht last edited by

                  @codierknecht Nutze avg free antivirus

                  1 Reply Last reply Reply Quote 0
                  • Codierknecht
                    Codierknecht Developer Most Active @Bernd 1337 last edited by

                    @bernd-1337 sagte in Windows 11 Info Bereich:

                    Keine firewall

                    Windows-Firewall?
                    Die ist doch standardmäßig aktiviert. Oder hat Dein "Antivirus" die abgeschaltet/ersetzt?

                    B 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Bernd 1337 last edited by

                      @bernd-1337 sagte in Windows 11 Info Bereich:

                      Keine firewall

                      ist win standard

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bernd 1337 @Codierknecht last edited by

                        @codierknecht Screenshot_1.png

                        Homoran Codierknecht 3 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Bernd 1337 last edited by

                          @bernd-1337 dann ist die in AVG

                          B 2 Replies Last reply Reply Quote 0
                          • B
                            Bernd 1337 @Homoran last edited by

                            @homoran ich hab die free version das nur Virus schutz

                            1 Reply Last reply Reply Quote 0
                            • B
                              Bernd 1337 @Homoran last edited by

                              @homoran Screenshot_2.png

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Codierknecht
                                Codierknecht Developer Most Active @Bernd 1337 last edited by

                                @bernd-1337
                                Dann stoppe mal diese "AVG" testweise.

                                Ich baue währenddessen mal eine Meldung in das Tool ein, wenn dessen Server gestartet wird.

                                1 Reply Last reply Reply Quote 0
                                • Codierknecht
                                  Codierknecht Developer Most Active @Bernd 1337 last edited by

                                  @bernd-1337
                                  8f62beec-39a5-4181-bbc4-6a4e9b212633-image.png

                                  B 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Bernd 1337 last edited by Homoran

                                    @bernd-1337 sagte in Windows 11 Info Bereich:

                                    @homoran Screenshot_2.png

                                    dann wundert mich dass AVG die Win Firewall abschaltet
                                    Das passt nicht

                                    im Paket PC dürfte auch ne Firewall sein.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Bernd 1337 @Codierknecht last edited by

                                      @codierknecht okay ihr hattet recht das war wirklich avg obwohl keine firewall drin ist nun kommt zumindest schon mal die meldung von dem script wenn ich es restarte Screenshot_3.png

                                      Homoran B 2 Replies Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Bernd 1337 last edited by

                                        @bernd-1337 sagte in Windows 11 Info Bereich:

                                        obwohl keine firewall drin ist

                                        doch! wird drin sein.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          Bernd 1337 @Homoran last edited by

                                          @homoran okay hmm ka aber nun geht es

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Bernd 1337 @Codierknecht last edited by

                                            @codierknecht es wäre ein Blockly gut was einen text aus nem datenpunkt ausliest und sendet ist das möglich

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            863
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            111
                                            5797
                                            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