Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Search the Community

Showing results for tags 'python'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie

Categories

  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Google+


Skype


Website URL


WhatsApp


Country


Gateway/s


Interests

Found 3 results

  1. Is it allowed to post an integration to Home Center with third party support tools? I hope so, because this is awesome! My goal: Show the latest ringer at my front door in the Fibaro Home Center App when using my Ring Doorbell. The Challenge: Ring.com has no official API and snapshots are not possible at the moment. Fibaro does not support Ring Doorbell and Home Center and LUA code is not able to download a video and extract a frame from it. How I fixed it? I run a Node-RED box on (Debian) Linux. I installed Python with the Python Ring Door Bell Library to download the latest ringer video and ffmpeg to create a snapshot image. I use Node-RED to serve this snapshot with HTTP to the Home Center. You can also use NGINX, Apache or whatever webserver you like! This post is for experienced users, I skip a lot Linux stuff. A more detailed approach is on my website (see my signature). 1. Install Python, pip and ffmpeg (of not already present) on your Linux (Raspberry/NUC/etc..) box: sudo apt-get install python python-pip ffmpeg 2. Install the Python Ring Door Bell Library: pip install ring_doorbell 3. Create a folder and download my FibaroRingCam.py script to it: mkdir FibaroRingCam cd FibaroRingCam wget https://github.com/joepv/fibaro/blob/master/FibaroRingCam.py 4. In the script you have to edit the following lines with your own (login) information: myring = Ring('[email protected]', 'password') mypath = '/home/joep/FibaroRingCam/' 5. Now run the file. You can run it as a service, but that is out of the scope of this topic. 6. Serve the snapshot with Node-RED to the Home Center. Add the following node to Node-RED and edit the path of the file node to the path of the last_ding.jpg snapshot. If you want to use another webserver configure it to serve the snapshot: [{"id":"d1f4395b.cd0778","type":"comment","z":"30de6047.723c","name":"Fibaro Ring Camera Snapshot","info":"","x":160,"y":180,"wires":[]},{"id":"e42e6aeb.e610e8","type":"http in","z":"30de6047.723c","name":"[get] /last_ding.jpg","url":"/last_ding.jpg","method":"get","upload":false,"swaggerDoc":"","x":130,"y":220,"wires":[["9329fca.9bf87"]]},{"id":"9329fca.9bf87","type":"file in","z":"30de6047.723c","name":"last_ding.jpg","filename":"/home/joep/FibaroRingCam/last_ding.jpg","format":"","chunk":false,"sendError":false,"x":350,"y":220,"wires":[["5dd8cb15.ea08b4"]]},{"id":"5dd8cb15.ea08b4","type":"http response","z":"30de6047.723c","name":"serve last_ding.jpg","statusCode":"","headers":{"content-type":"image/jpeg"},"x":590,"y":220,"wires":[]}] 7. Add a new camera in Fibaro Home Center 2: 8. Give the camera a useful name and change the advanced settings to the following settings: IP address: node-red ip address:port JPG path: last_ding.jpg MJPG stream: last_ding.jpg Note! The MJPG stream does not work, you have NO video! I’m still searching for a solution to play the last Ring video as camera stream. The result in Home Center 2: And in the Home Center App: What the Python script does? It logs in at the Ring.com servers and checks every 15 seconds if there is a new ring. It saves a local file to know if the last ring is a new one. If the ring is new, it downloads the lastest video and feeds it to ffmpeg to extract 1 frame to create a snapshot.
  2. Version 1.0.0

    88 downloads

    This is a scene for Fibaro HC2 which sends energy consumption data for selected devices to a logger function at the end of each day. The logger runs on a Raspberry PI on the same network and simply saves the data in a .CSV file on the Pi for later import into a spreadsheet. Remember to chose UTF-8 format in Excel when you import it, or special and national characters will be lost. The code running on Raspberry Pi is run as a service under systemd, hence the .service unit file. You should drop the .txt file extension when copied to the Pi. Tutorial about running services under systemd: https://tecadmin.net/setup-autorun-python-script-using-systemd/
  3. Hi all! anyone know if there exist a solution for setting Yale Doorman status via Verisure mypages ? There is a python module for it, but I know close to nothing about python/lua programming. Is it at all possible to covert some of it to have a virtual device lock/unlock the door via a z-wave keypad activating this VD ? The original script is found here: https://github.com/persandstrom/python-verisure The status itself is not really important, the important stuff is setting the state of the lock, any feedback/errorcatching is just a bonus imo.
×
×
  • Create New...