Code Monkey home page Code Monkey logo

Comments (7)

huberda avatar huberda commented on May 16, 2024 1

Hi Jeffrey,

looks much better now - thank you for your great support!
Arlo.py is a really important component for my home-automation.

regards,
Daniel

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 16, 2024

There was a race condition between the time I started the thread that manages the EventStream and me storing it in the event_streams dictionary.

Please try my latest commit (3bc7485) and let me know if you're still seeing the issue.

Thanks!

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 16, 2024

Looks like there's still an issue here.

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 16, 2024

@huberda I made a couple more changes and haven't seen anymore hanging. Please do comment here and let me know if you are still having any issues after my latest commit (5cd45db). Thanks!

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 16, 2024

Hi Daniel,

I'm glad to hear it's working better. I basically only use my library for downloading and deleting videos, so I didn't really test that code too deeply. :)

Just out of curiosity, what all are you doing with your home automation?

from arlo.

huberda avatar huberda commented on May 16, 2024

No problem!

I started with home automation initial for home security, so all our windows/doors have some sensors, if one is opened. For motion detection inside and outside i added 5 internal and one external motion detection sensors. Now the setup has grown up. We added intelligent "smoke detectors" in all important rooms, several "power sockets", water detection sensors, temperature/humidity sensors and light controls. Then i started adding some third-party applications like Arlo.

What i am doing:

  • Home Security (window/door/motion detection)
    • Added Arlo as Camera System
  • Temperature/Humidity Control
  • Controlling vacuum cleaner (Roomba via XML-API)
  • Controlling lawn-mower (Gardena via power socket)
  • Garden Watering
  • Smoke / Water detection
  • Some lights are controlled
  • Historical data graphs (weteaher, temp/hum of all rooms,..)
  • Push notifications to all phones (for smoke, water, alarm, ....everything)
    (Everything on premise without cloud, exception only for Arlo and Push - everything else via VPN)

So what I needed Arlo.py for:
We got two key chains for enabling/disabling the home security, which is working very well. Now I wanted to enable all 4 arlo cameras automatically by activation of the home security.

When I am leaving, the home-automation enables all window/door/motion contacts, shutdowns
some power sockets, sometime enables the vacuum cleaner, and then sends an http-request to my
apache webserver to turn-on the arlo cameras via your Arlo.py. The same happens the other way around when I am coming home -> turn off Arlo, turn on power sockets.
This is great, because I have only to push one button, and not enabling arlo separately or via
time schedule / geofence.

My problem was the race condition, because the http-requests where hanging in my apache until the request timeout was reached.This was an issue, because after pressing the button several times I had 5 requests which were hung in the webserver and the cameras keep running.
For sure I am also using the download/delete function, at night all pictures/videos are move from the netgear-cloud to my qnap.

So I think this is a small overview...for sure there are several other programs running for home automation, but that's to much to describe ...;-)

from arlo.

jeffreydwalter avatar jeffreydwalter commented on May 16, 2024

Wow! That sounds really awesome. I've been interested in home automation for a while, but haven't really had the time to build out a platform.

from arlo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.