jeradm / pyxeoma Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
On PyPI 1.4.1 is available but the latest release on GitHub is 1.4.0.
Could you please tag the released? This allows one to use the GitHub source tarballs.
Thanks
I think the latest version of xeoma has changed the way it renders the web server page - therefor the auto discovery of camera image names isnt working.
Looks to me like you have to send a POST Request to /?get_links_data_for_page=
with the body content of '"{"webServerId
":"
"}"' and you get back a json result of camera details.
Let me know, I can take care of it. It's important to have this working to keep homeassistant happy.
Fetching the image does not seem to work if the image and video files have an additional (different) username and password configured. This is the case when they are allowed to be accessed directly without having a login into xeomas web interface itself.
I think that should either be added as a config option (e.g. admin credentials + optional viewing credentials), or the generated username needs to be parsed from the web api homepage when logged in as admin.
For example, after logging in, the camera video feed image url looks like:
image-url="http://localhost:10091/video.mjpg?user=xxXXXXXXXXXXX%3D%3D&resolution=320x240&fps=1&oneframe=1"
that user= variable can be passed into GET /image.jpg?user=
and then it works fine.
If parsing is problematic, the configured viewing credentials can be passed in as GET /image.jpg?login=foo&password=bar
No longer seems to work after a xeoma update to the WebUI. I think its a problem with the regex used.
I use this inside of home-assistant and the problem is that it seems to only add cameras if they pass the checks introduced with async_get_image_names
and ofcourse this failing means no cameras are added.
One solution i suppose would be a config option to just add cameras anyway even if they dont pass async_get_image_names
anyway hopefully you can look into this. thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.