Comments (7)
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.
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.
Looks like there's still an issue here.
from arlo.
@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.
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.
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.
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)
- Support for the multiple verification emails HOT 1
- localhost:7788 not found error after "Arlo wants access to your Google Account" screen HOT 52
- Feature Request - Local Storage file download HOT 5
- Arm/Disarm Throws an error - Validated Auth/MFA was successful HOT 20
- Feature Request - Doorbell HOT 1
- How to get the current status (Armed or Disarmed) HOT 2
- 413 Client Error: Request Entity Too Large for url: https://myapi.arlo.com/hmsweb/users/library/recycle HOT 2
- Error on login API - Forbidden for url: https://ocapi-app.arlo.com/api/auth -
- Error on login API - Forbidden for url: https://ocapi-app.arlo.com/api/auth HOT 19
- 401 Client Error: for url: https://my.arlo.com/hmsweb/users/devices HOT 3
- Support for Docker? HOT 1
- 'Origin': f'https://{self.BASE_URL}', SyntaxError: invalid syntax HOT 1
- Feature ? HOT 1
- email factorRole SECONDARY throws StopIteration HOT 4
- Mode Changing no longer works / other functions work with same credentials HOT 7
- [Arlo Pro 4] is basestation required for python interaction
- GetRules() hangs, seemingly, forever
- oauthlib.oauth2.rfc6749.errors.MismatchingStateError: (mismatching_state) CSRF Warning! State not equal in request and response. HOT 3
- 403 Client Error: Forbidden for url: https://ocapi-app.arlo.com/api/auth HOT 19
- Feature request: move away from Arlo's cloud/use cameras as standalone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arlo.