Coder Social home page Coder Social logo

camera-widget's People

Contributors

daleus avatar grubernaut avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

camera-widget's Issues

How to find the camera URL

I have an IP camera and was trying to interface it with the dashing dashboard. I have its IP address, connection username and password, but not sure what to give for the camera1URL in the cameras.erb file under the jobs folder. The example shows @camera1URL = "/mobile/channel01.jpg". How do we know this path ? Appreciate your help.

Don't work

Hello, I installed correctly, the images are not displayed.

If I can see the image in another window, the scripts look the picture in the folder / assets and not in the / assets / images /

The camera settings are good, I do not understand.

zoneminder camera feeds

I would like to use a zoneminder url to get the camera stream instead of connecting directly to my cameras. I attempted:

@camera1Host = "192.168.10.21" ## CHANGE
@camera1Port = "80" ## CHANGE
@camera1Username = 'None' ## CHANGE
@camera1Password = '' ## CHANGE
@camera1URL = "/cgi-bin/nph-zms?mode=single&monitor=3"
@newfile1 = "assets/images/cameras/snapshot1_new.jpeg"
@oldFile1 = "assets/images/cameras/snapshot1_old.jpeg"

but it didn't work

the following command works just fine

wget "http://192.168.10.21/cgi-bin/zms?mode=single&monitor=3" -O foo.jpg

so I'm not sure why the cameras widget will not display...

parameters missing in fetch_image function call

Please note that I noticed an issue with the code currently posted:

the calls to fetch_image are missing some parameters:

the lines
new_file1 = fetch_image(@camera1Host,@oldFile1,@newfile1)
...
...

need to be replaced by the following lines:
new_file1 = fetch_image(@camera1Host,@oldFile1,@newfile1,@camera1Port,@camera1Username,@camera1Password,@camera1URL)
... (same as above for new_file2 with associated params)
... (same as above for new_file3 with associated params)

After doing this change, and changing the hoist IP address, url,... I was able to set up the view to my camera

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.