magapp / blueiriscmd Goto Github PK
View Code? Open in Web Editor NEWPython cmd tool that talk with Blue Iris Camera surveillance software
License: GNU General Public License v2.0
Python cmd tool that talk with Blue Iris Camera surveillance software
License: GNU General Public License v2.0
Hi i have also version 5 but it does not work ich copied you code and trie it butt all i get is this.
C:\Users\Be\Desktop\verbindung mit kamera python>blueiris.py --debug --host Myhost:81 --user ben --password Mypassword --list-profile
usage: blueiris [-h] [--version] --host HOST --user USER --password PASSWORD
[--debug] [--list-profiles] [--set-profile profile-name]
[--set-schedule schedule-name] [--set-signal signal-name]
[--trigger camera-short-name] [--ptzbutton ptz-button-name]
[--ptzcam ptz-cam-name]
blueiris: error: the following arguments are required: --host, --user, --password
do you know maybe what i have to change?
I see this information listed in the JSON documents but am unsure on how to implement in the code. I am looking for the ability to change the signal control with your tool.
status
Get (and optionally set) the state of the traffic signal icon, active global profile as well as the schedule's hold/run state:
signal: a single digit 0 for red, 1 for green, 2 for yellow.
Hi there Magnus!
Should the script work for the new Blue Iris version 5?
I've been using your script many years for version 4 without any issues. However I had to reinstall my server and decided to upgrade to version 5.
blueiris.py --debug --host MYHOST:81 --user MYUSER --password MYPASS --list-profile
session: 2fe908935b9865ef732828e57a384d02 response: 076990c8401822d7a64b30402ea8a7a4
Connected to 'XXX CCTV'
{u'session': u'2fe908935b9865ef732828e57a384d02', u'result': u'fail'}
Traceback (most recent call last):
File "/home/ME/blueiriscmd/blueiris.py", line 168, in <module>
main()
File "/home/ME/blueiriscmd/blueiris.py", line 29, in main
print "Profile '%s' is active" % bi.get_profile()
File "/home/ME/blueiriscmd/blueiris.py", line 142, in get_profile
profile_id = int(r["profile"])
Logging in seems to work since because it echoes "Connected to XXX CCTV'" which is the name of my BI server.
Do you have any idea what's going on?
I have about a dozen cameras and was looking for a way to programmatically audit them (does everything have the same settings? Is anything different?) and update settings (when I find something that works better, apply it to all cameras). I'm hoping that some of this can be added to blueiriscmd. It seems like an active project and the logical place to add it.
The majority of the stuff I'm looking for falls into adjustments to motion/trigger settings, and AI
List all cameras motion/trigger settings in some form of table, at a minimum:
List all cameras AI settings in some form of table, at a minimum:
Set as many of these as possible, but for my own uses, preferably at least motion/min object size, and motion/min contrast
script worked great until recent update (perhaps 4.5.3) of blueiris software now it seems to connect but throws off an error:
Connected to 'Blue Iris Server'
200
{"result":"fail","session"......
any ideas?
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.