Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Bewegungserkennung mit Motioneye, Lösung komplett in Blockly

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bewegungserkennung mit Motioneye, Lösung komplett in Blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • Neuschwansteini
      Neuschwansteini @Virus2K12 last edited by

      @virus2k12

      logfile? Fehlermeldungen?

      Virus2K12 1 Reply Last reply Reply Quote 0
      • Virus2K12
        Virus2K12 @Neuschwansteini last edited by

        @ilovegym nicht im log und keine Fehlermeldung.?

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

          im javasript haut er dieses log raus, wenn ich per Telegramm Foto schicke:

          3/6/2024, 11:03:26 AM.583 [info ]: javascript.0 (2028) Stop script script.js.yicam.bild_telegramm
          3/6/2024, 11:03:27 AM.656 [info ]: javascript.0 (2028) Start javascript script.js.yicam.bild_telegramm
          3/6/2024, 11:03:27 AM.695 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
          3/6/2024, 11:03:45 AM.966 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: exec: curl 192.168.178.51:7999/1/action/snapshot
          3/6/2024, 11:05:56 AM.554 [info ]: javascript.0 (2028) Stop script script.js.yicam.bild_telegramm
          3/6/2024, 11:05:57 AM.241 [info ]: javascript.0 (2028) Start javascript script.js.yicam.bild_telegramm
          3/6/2024, 11:05:57 AM.267 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
          3/6/2024, 11:06:07 AM.386 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: exec: curl 192.168.178.51:7999/1/action/snapshot
          3/6/2024, 11:06:41 AM.546 [info ]: javascript.0 (2028) Stop script script.js.yicam.bild_telegramm
          3/6/2024, 11:06:42 AM.353 [info ]: javascript.0 (2028) Start javascript script.js.yicam.bild_telegramm
          3/6/2024, 11:06:42 AM.385 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
          3/6/2024, 11:06:52 AM.330 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: exec: curl 192.168.178.51:7999/1/action/snapshot
          3/6/2024, 11:07:07 AM.332 [info ]: javascript.0 (2028) Stop script script.js.yicam.bild_telegramm
          3/6/2024, 11:07:08 AM.057 [info ]: javascript.0 (2028) Start javascript script.js.yicam.bild_telegramm
          3/6/2024, 11:07:08 AM.064 [info ]: javascript.0 (2028) script.js.yicam.bild_telegramm: registered 2 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions

          Neuschwansteini 1 Reply Last reply Reply Quote 0
          • Virus2K12
            Virus2K12 last edited by Virus2K12

            94b81d34-d5d5-422c-b702-e6a590dcce70-image.png

            26539e14-0ab6-4c24-b6d2-d39357eabb99-image.png

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Virus2K12 last edited by

              @virus2k12 setz mal den Haken Mit Ergebnisse, im Blockly

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

                keine Änderung, werder im Telegramm noch im log.

                d0023c1f-cc57-4879-99b7-7f9d4f723df0-image.png

                8cae913f-734d-4b59-b9ad-6ad089f8eb13-image.png

                1 Reply Last reply Reply Quote 0
                • Neuschwansteini
                  Neuschwansteini @Virus2K12 last edited by

                  @virus2k12

                  laedt er das Bild denn auch runter, also funktioniert der exec curl befehl?

                  Virus2K12 1 Reply Last reply Reply Quote 0
                  • Virus2K12
                    Virus2K12 @Neuschwansteini last edited by Virus2K12

                    @ilovegym ja. liegt im angegeben pfad. siehe screen weiter oben

                    https://forum.iobroker.net/topic/40016/bewegungserkennung-mit-motioneye-lösung-komplett-in-blockly/47

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

                      und das sagt mein iob log:

                      aaba2afb-c27e-446f-b15a-222786cf569f-image.png

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

                        was ich jetzt beobachtet habe, der Wert von takeSnapshot ändert sich nicht in true und lässt sich auch nicht per Hand auf true setzen. Bei getLastpic funktioniert das.?
                        Woran kann das liegen?

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Virus2K12 last edited by

                          @virus2k12 sagte in Bewegungserkennung mit Motioneye, Lösung komplett in Blockly:

                          Woran kann das liegen?

                          Zeig mal das Raw vom DP

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

                            @crunchip
                            {
                            "common": {
                            "name": "motioneye.takeSnapshot",
                            "role": "state",
                            "type": "boolean",
                            "custom": {
                            "telegram.0": {
                            "enabled": true,
                            "alias": "takeSnapshot",
                            "buttons": 3,
                            "writeOnly": false,
                            "offCommand": "",
                            "onCommand": "",
                            "offStatus": "",
                            "onStatus": "",
                            "onlyFalse": false,
                            "readOnly": false,
                            "report": true,
                            "onlyTrue": false,
                            "reportChanges": true
                            }
                            }
                            },
                            "native": {},
                            "type": "state",
                            "_id": "javascript.0.motioneye.takeSnapshot",
                            "acl": {
                            "object": 1636,
                            "state": 1636,
                            "owner": "system.user.admin",
                            "ownerGroup": "system.group.user"
                            },
                            "from": "system.adapter.admin.0",
                            "user": "system.user.admin",
                            "ts": 1710056777837
                            }

                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Virus2K12 last edited by crunchip

                              @virus2k12 und den anderen zum Vergleich
                              Irgendwie fehlt da read/write true

                              Virus2K12 1 Reply Last reply Reply Quote 0
                              • Virus2K12
                                Virus2K12 @crunchip last edited by

                                @crunchip
                                {
                                "common": {
                                "name": "motioneye.getLastPic",
                                "role": "state",
                                "type": "boolean",
                                "custom": {
                                "telegram.0": {
                                "enabled": true,
                                "alias": "getLastPic",
                                "buttons": 3,
                                "writeOnly": false,
                                "offCommand": "",
                                "onCommand": "",
                                "offStatus": "",
                                "onStatus": "",
                                "onlyFalse": false,
                                "readOnly": false,
                                "report": true,
                                "onlyTrue": false,
                                "reportChanges": true
                                }
                                }
                                },
                                "native": {},
                                "type": "state",
                                "_id": "javascript.0.motioneye.getLastPic",
                                "acl": {
                                "object": 1636,
                                "state": 1636,
                                "owner": "system.user.admin",
                                "ownerGroup": "system.group.administrator"
                                },
                                "from": "system.adapter.admin.0",
                                "user": "system.user.admin",
                                "ts": 1710056528080
                                }

                                Virus2K12 1 Reply Last reply Reply Quote 0
                                • Virus2K12
                                  Virus2K12 @Virus2K12 last edited by Virus2K12

                                  wurden beide im Blockly so angelegt.
                                  Habe mal read + write mit rein genommen, ändert sich aber nichts.

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Virus2K12 last edited by

                                    @virus2k12 ich sehe an den beiden keinen Unterschied, kannst mal den DP manuell selbst anlegen

                                    Virus2K12 1 Reply Last reply Reply Quote 0
                                    • Virus2K12
                                      Virus2K12 @crunchip last edited by

                                      @crunchip sagte in Bewegungserkennung mit Motioneye, Lösung komplett in Blockly:

                                      @virus2k12 ich sehe an den beiden keinen Unterschied, kannst mal den DP manuell selbst anlegen

                                      auch schon probiert, dann kann ich ihn ändern. Sofern ich aber im Telegram "foto" schicke lässt sich danach der DP wieder nicht ändern. Er schreibe zwar
                                      60da0788-62f4-4312-aca8-ba53a8fcfd18-image.png
                                      nur ändert er sich nicht sichtbar.

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Virus2K12 last edited by

                                        @virus2k12 kein Plan was da bei dir falsch läuft. Ich hatte das ganze anders laufen
                                        https://forum.iobroker.net/post/373101

                                        Virus2K12 1 Reply Last reply Reply Quote 1
                                        • Virus2K12
                                          Virus2K12 @crunchip last edited by

                                          @crunchip hab das jetzt auch so umgesetzt und es funktioniert. Einige Anpassungen gemacht zwecks schalten über Telegramm etc, jetzt noch die Anwesenheit Erkennung einbauen und dann sollte es so funktionieren wie ich es will.
                                          Danke für den Tip.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          825
                                          Online

                                          31.7k
                                          Users

                                          79.8k
                                          Topics

                                          1.3m
                                          Posts

                                          blockly communication monitoring security template
                                          12
                                          62
                                          14815
                                          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