Coder Social home page Coder Social logo

blueiriscmd's People

Contributors

besynnerlig avatar evanmj avatar magapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blueiriscmd's Issues

cmd fails when used for Blue Iris 5

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?

does not work

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?

Update breaking functionality

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?

[Feature Request] Mass auditing/changes

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:

    • status (on/off), min object size, min contrast, min duration, and break time
  • List all cameras AI settings in some form of table, at a minimum:

    • status (off/Sentry/local), confidence, + real time, analyze once each, to confirm, to cancel, custom models, mark as vehicle
  • Set as many of these as possible, but for my own uses, preferably at least motion/min object size, and motion/min contrast

    • Ideally also have an "all" parameter that would set these settings across all cameras

Adding Traffic Signal control

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.

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.