Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Soukai

    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

    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 64
    • Best 2
    • Groups 1

    Soukai

    @Soukai

    2
    Reputation
    10
    Profile views
    64
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Soukai Follow
    Starter

    Best posts made by Soukai

    • RE: Blink Camera System

      @förster Indem du "homebridge-blink-for-home@3.7.6" als modul eingibst
      wie hier zb. gezeigt:

      7feaef99-30b3-4afa-a38f-671e13bdb75c-grafik.png

      posted in Hardware
      S
      Soukai
    • RE: Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

      @dslraser Du hast recht, sorry. War wohl zu voreilig. Habe alles soweit hinbekommen. Danke für dein Widget! und es funktioniert 🙂

      posted in Tester
      S
      Soukai

    Latest posts made by Soukai

    • RE: Ezviz Türklingel HP7

      @homoran Heya, nachdem ich die Integration auf dem Bild gesehen habe,

      7166bc50-7bd9-42ea-b11b-38c2e4344dff-image.png

      bin ich davon ausgegangen, dass das kompatibel wär. Bin nicht davon ausgegangen, dass es nicht kompatibel ist. Nach bisschen recherche habe den Thread erst später gefunden, der das dann aufgeklärt hatte. 😳

      Wenn jemand also was hätte wärs cool 🙂

      posted in ioBroker Allgemein
      S
      Soukai
    • Ezviz Türklingel HP7

      Hey,
      gibt es eine Möglichkeit das Bild oder Video der Klingel abzugreifen? Vielleicht noch andere Funktion? hat das schon einer hinbekommen? Bei Home Assistent gäbe es ein Adapter, schade, dass es diesen hier nicht schon gibt 😞

      Edit: grad das zum HP7 gefunden https://github.com/home-assistant/core/issues/136070

      Beste Grüße
      Soukai

      raforo created this issue in home-assistant/core

      open Cannot add EZVIZ HP7 Video Door Phone to EZVIZ Integration #136070

      posted in ioBroker Allgemein
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder
      Send to host war bei mir nicht drin. Aber leider hat sich da wieder nichts geändert. Bin nochmal alle Cmds durchgegangen und bin da auf etwas gestoßen, wobei ich mir nicht mehr sicher bin, obs egal war oder nicht.

      Habe den Befehl mal aufgerufen:

      saeko@raspberrypi:/opt/iobroker $ sudo -u iobroker python3 /opt/iobroker/bild.pyTraceback (most recent call last):
        File "/opt/iobroker/bild.py", line 5, in <module>
          from blinkpy.blinkpy import Blink
      ModuleNotFoundError: No module named 'blinkpy'
      
      

      und dann bei dem folgenden Befehl, die Meldung erhalten, dass es installiert wurde. Nun ist die Fehlermeldung verschwunden. Jedoch permission denied.

      saeko@raspberrypi:~/blinkpy $ sudo -H -u iobroker pip3 install --upgrade dist/*.whl
      Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
      Processing ./dist/blinkpy-0.20.0.dev0-py3-none-any.whl
      Requirement already satisfied: requests>=2.24.0 in /usr/local/lib/python3.9/dist-packages (from blinkpy==0.20.0.dev0) (2.27.1)
      Requirement already satisfied: python-slugify>=4.0.1 in /usr/local/lib/python3.9/dist-packages (from blinkpy==0.20.0.dev0) (4.0.1)
      Requirement already satisfied: python-dateutil>=2.8.1 in /usr/local/lib/python3.9/dist-packages (from blinkpy==0.20.0.dev0) (2.8.2)
      Requirement already satisfied: six>=1.5 in /usr/lib/python3/dist-packages (from python-dateutil>=2.8.1->blinkpy==0.20.0.dev0) (1.16.0)
      Requirement already satisfied: text-unidecode>=1.3 in /usr/local/lib/python3.9/dist-packages (from python-slugify>=4.0.1->blinkpy==0.20.0.dev0) (1.3)
      Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.24.0->blinkpy==0.20.0.dev0) (2.10)
      Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.24.0->blinkpy==0.20.0.dev0) (2020.6.20)
      Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.9/dist-packages (from requests>=2.24.0->blinkpy==0.20.0.dev0) (2.0.12)
      Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests>=2.24.0->blinkpy==0.20.0.dev0) (1.25.11)
      Installing collected packages: blinkpy
      Successfully installed blinkpy-0.20.0.dev0
      saeko@raspberrypi:~/blinkpy $ sudo -u iobroker python3 /opt/iobroker/bild.py    Could not extract camera info: {'message': 'Camera not found', 'code': 500}
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      Expected json response from https://rest-e004.immedia-semi.com/network/66328/camera/unknown/config, but received: 406: Not Acceptable
      Could not extract camera info: None
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      Traceback (most recent call last):
        File "/opt/iobroker/bild.py", line 27, in <module>
          camera.image_to_file(bild)
        File "/home/iobroker/.local/lib/python3.9/site-packages/blinkpy/camera.py", line 241, in image_to_file
          with open(path, "wb") as imgfile:
      PermissionError: [Errno 13] Permission denied: './haustuer.jpg'
      

      Update:

      AAAH. Es funktioniert nun. 😊

      Nachdem ich im Script den Pfad zu "/opt/iobroker/haustuer.jpg" geändert hatte, kam keine permission Fehler Meldung mehr. Begreife ich zwar nicht, aber bin Froh, dass es nun tut. Das einzige was ich nun noch machen muss, ist eine Verzögerung in Blockly einbauen, da mein script etwas dauert, bis er durchläuft...

      Ich dank dir nochmal vielmals für deine Geduld und kompetente Hilfe!

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder

      Wurde eingefügt. Konsole geht. Blockly immer noch nicht...

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder

      
      time.sleep(10)
      blink.refresh(force=True)
      
      

      habe das ans Ende angehängt und in der Konsole kommt:

      saeko@raspberrypi:/opt/iobroker $ ./bild.py
      Could not extract camera info: {'message': 'Camera not found', 'code': 500}
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      Expected json response from https://rest-e004.immedia-semi.com/network/66328/camera/unknown/config, but received: 406: Not Acceptable
      Could not extract camera info: None
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      Traceback (most recent call last):
        File "/opt/iobroker/./bild.py", line 28, in <module>
          time.sleep(10)
      NameError: name 'time' is not defined
      
      

      Code bis jetzt:

      #!/usr/bin/python3
      import requests
      
      from blinkpy.blinkpy import Blink
      from blinkpy.auth import Auth
      from blinkpy.helpers.util import json_load
      from blinkpy.camera import BlinkCamera
      
      blink = Blink()
      auth = Auth({"username": 'x', "password": 'x'}, no_prompt=True)
      blink.auth = auth
      blink.start()
      
      #auth.send_auth_key(blink, "x")
      #blink.setup_post_verify()
      
      ###### hier den Dateinamen/Pfad eintragen, den das snapshot Bild erhalten soll - bei mir Flur und Garten Kamera  #####
      
      bild = './haustuer.jpg'
      
      #### hier Eure Kamera 1 eintragen und weitere Einträge für mehr Kameras vornehmen ####
      
      camera = blink.cameras['Haustür']
      camera.snap_picture()
      blink.refresh()
      camera.image_to_file(bild)
      
      time.sleep(10)
      blink.refresh(force=True)
      
      
       
      
      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder Wenn ein Bild drin ist, schickt er mir jedoch das bild

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder

      Gesagt, getan. Das hatte ich dann auch schon versucht... Leider ohne Erfolg...

      e0ace3c0-59e7-443b-b07e-255b26da3af1-grafik.png

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder

      @pischleuder said in Blink Camera System:

      @soukai

      1.) du hast in Deinem blockly das python voran entfernt

      4ded80fe-7508-4fb9-b699-f828b283b5f7-grafik.png

      2.) was für eine Kamera ist das

      06cea9d0-1d2a-4179-bae1-6b78733b7238-grafik.png

      3.) wie sieht die bild.py jetzt genau aus

      #!/usr/bin/python3
      import requests
      
      from blinkpy.blinkpy import Blink
      from blinkpy.auth import Auth
      from blinkpy.helpers.util import json_load
      from blinkpy.camera import BlinkCamera
      
      blink = Blink()
      auth = Auth({"username": 'x', "password": 'x'}, no_prompt=True)
      blink.auth = auth
      blink.start()
      
      #auth.send_auth_key(blink, "x")
      #blink.setup_post_verify()
      
      ###### hier den Dateinamen/Pfad eintragen, den das snapshot Bild erhalten soll - bei mir Flur und Garten Kamera  #####
      
      bild = './haustuer.jpg'
      #bild2 = '/home/saeko/blinkpy/Tuerklingel.jpg'
      #for name, camera in blink.cameras.items(): print(name), print(camera.attributes)
      
      #### hier Eure Kamera 1 eintragen und weitere Einträge für mehr Kameras vornehmen ####
      
      camera = blink.cameras['Haustür']
      camera.snap_picture()
      blink.refresh()
      camera.image_to_file(bild)
      
      #payload = {'value':bild}
      #r = requests.get("http://192.168.178.92:8081/set/0_userdata.0.snapcamera1", params=payload)
      
      #### hier Eure Kamera 2 eintragen und weitere Einträge für mehr Kameras vornehmen ####
      
      #camera = blink.cameras['Türklingel']
      #camera.snap_picture()
      #blink.refresh()
      #camera.image_to_file(bild2)
      
      #payload = {'value':bild}
      #r = requests.get("http://192.168.178.92:8081/set/0_userdata.0.snapcamera1", params=payload)
      
      

      4.) wird das script jetzt ausgeführt, unabhängig davon ob ein bild in das Verzeichnis gelegt wird

      In der Konsole ja.
      das kommt in der konsole

      saeko@raspberrypi:/opt/iobroker $ ./bild.py
      Could not extract camera info: {'message': 'Camera not found', 'code': 500}
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      Expected json response from https://rest-e004.immedia-semi.com/network/66328/camera/unknown/config, but received: 406: Not Acceptable
      Could not extract camera info: None
      Expected json response from https://rest-e004.immedia-semi.com/network/unknown/camera/unknown/signals, but received: 406: Not Acceptable
      Could not retrieve calibrated temperature.
      Could not find thumbnail for camera unknown
      

      Wie prüfe ich es in blockly? Zumindest kommt keine Fehlermeldung in der Konsole

      be006ec9-e20b-48a8-9e8c-0457da633b1a-grafik.png

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder leider macht blockly immer noch kein bild in das Verzeichnis 😕

      leider immer noch nichts. Egal wie

      posted in Hardware
      S
      Soukai
    • RE: Blink Camera System

      @pischleuder

      saeko@raspberrypi:/opt/iobroker $ ls -ldh bild.py
      -rwxr-xr-x+ 1 iobroker iobroker 1.3K Jun 23 13:21 bild.py
      
      posted in Hardware
      S
      Soukai
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo