Comments (7)
I just released version 2021.9.5 that includes the ability to enable logging of the rtsp urls via the configure option on the integration. Please note that you also have to have logging enabled in your configuration.yaml file with custom_components.vivint
set to a minimum of info
. Here's an example:
logger:
default: error
logs:
custom_components.vivint: info
from hacs-vivint.
It wouldn't be hard to expose this at all. If I recall, I even exposed it at one point in my initial iteration of the component as an attribute on the camera, but then decided to remove it from the published file because it could be a security issue (especially for external sources). But this section
is where you would get the stream source, which is the RTSP url.from hacs-vivint.
I was trying to write a python script to extract the internal RTSP url from the panel but the API broke after Vivint had their maintenance, I'm hoping they fix it soon so I can share with you guys
EDIT:
As I wrote this comment, the repository was update and was able to finish this script
https://gist.github.com/DarellAdams/1721590ab83443f43eea0c6391c39380
usage as following:
python camRTSP.py [username] [password]
output
DEBUG:root: Device: <Camera, Cam1>
Internal rtsp URL non-hd: [URL]
Internal rtsp URL hd: [URL]
External rtsp URL non-hd: rtsp[URL]
External rtsp URL hd: rtsp[URL]
DEBUG:root: Device: <Camera, Cam2>
Internal rtsp URL non-hd: [URL]
Internal rtsp URL hd: [URL]
External rtsp URL non-hd: rtsp[URL]
External rtsp URL hd: [URL]
from hacs-vivint.
I am interested in this as well.
from hacs-vivint.
Hi @DarellAdams
Thanks so much for sharing your script! Just so I understand this correctly, where exactly do you place the cameraRTSP script at? The vivint folder under custom_componets?
When I try running it from the terminal in Visual Studio Code after adding the file, I get the same error from running the script if it's in the config folder or custom_componets/vivint/ folder:
Traceback (most recent call last):
File "camRTSP.py", line 5, in <module>
from vivintpy.account import Account
ModuleNotFoundError: No module named 'vivintpy'
from hacs-vivint.
@thelightningist
Sorry for the late reply. You actually need to run this on a laptop/client computer.
- On your Mac/PC, run a terminal, cmd, or powershell
- Make sure you have python3 installed (Just google it to install)
- Make sure module vivintpy is installed (install vivintpy module: pip install vivintpy)
- On terminal, cd /path/of/the/scirpt/ (e.i cd C:\Scripts)
- C:\Scripts> python3 camRTSP.py [username] [password]
from hacs-vivint.
Awesome! Thanks so much!
from hacs-vivint.
Related Issues (20)
- Can't reinstall after upgrade HOT 4
- Failed to setup message on startup of Home Assistant HOT 1
- FEATURE REQUEST - Deter Tone Toggle HOT 2
- Question / Feature Request: Humidity from Thermostat HOT 2
- Latest HA update broke Vivint HOT 7
- Camera as Speaker HOT 2
- Vivint Integration Broken after update 2023.8.0 HOT 3
- 2023.8.1 - Hub shows as unavailable HOT 15
- Nothing in Vivint is working after most recent HA update HOT 1
- All Vivint devices became unavailable after HA update HOT 3
- Vivint and MyQ Integration HOT 1
- Doorbell Camera Delay HOT 1
- Camera chime extender switch not working HOT 2
- Cameras connected via POE switch not loading anymore HOT 6
- Config Flow issues HOT 1
- Connection to Vivint seems to be throttled or delayed HOT 6
- Unable to Re-Authenticate my Credentials after changing Vivint Password HOT 4
- Support for Triggering Alarm from HA HOT 8
- no mfa prompt HOT 2
- config flow 405 not allowed HOT 1
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 hacs-vivint.