Git Product home page Git Product logo

iobroker.reolink's Introduction

Logo

ioBroker.reolink

NPM version Downloads Number of Installations Current version in stable repository Dependency Status

NPM

Tests: Test and Release

reolink adapter for ioBroker

Adapter for ioBroker Plattform to get Reolink camera information.

In general all newer Reolink cameras support API commands. They just differ in their supported commands.

If you wish to have any specific API command included...just let me now.

Implemented functions

SET

  • PTZ Control / PTZ Guard
  • Push Notification
  • Set Autofocus values: 0,1
  • Set IR light values: Auto, Off
  • Set LED light
  • Set Mail Notification values: 0, 1
  • Play Audio Alarm
  • Zoom Focus

Functions can be triggert by changing reolink..settings states.

GET

  • Device Info
  • PTZ Info
  • Drive Info
  • Network Info
  • Motion Detection
  • Auto Focus
  • Snapshot
  • IR Light
  • LED Light
  • Mail Notification

Example Usage of get image:

sendTo("reolink.0",{action: "snap"}, function(result){
    sendTo("matrix-org.0",{file:result});
});

// content from result is JSON :

{type:"image/png",base64:"iVBORw....askldfj"}

Known working cameras (firmware out of year 2023)

  • RLC-420-5MP
  • E1 Outdoor
  • RLC-522
  • RLC-810A
  • RLC-823A
  • Duo 3 PoE

Changelog

1.1.0 (2024-05-16)

  • (Nibbels) #56 added function to switch scheduled recording on and off
  • (Nibbels) #25 detach led light from led light mode
  • (Nibbels) added setWhiteLedMode function
  • (Nibbels) read zoom and focus with POST request (works on RLC-823A v3.1)
  • (oelison) removed node 16

1.0.3 (2024-01-21)

1.0.2 (2023-12-19)

  • (oelison) known working cameras added
  • (oelison) setIrLights accept "On" now
  • (oelison) #40
  • (oelison) #42

1.0.1 (2023-11-11)

  • (oelison) resolve review for latest adapter addition
  • (oelison) maybe the last node 16 version
  • (oelison) booleans are now false/true and not 0/1

0.1.2 (2023-11-03)

  • (oelison) ptz patrol added
  • (oelison) node 12 tests removed
  • (aendue) added getAiState

0.1.1 (2022-11-03)

  • (aendue) ssl validation included
  • (aendue) fixed issue with ack-flag not set
  • (aendue) changed datatypes of disk.free and RAW.Email
  • (aendue) enabled getAutoFocus again
  • (aendue) name change on state EmailNotification (state gets created dynamically now)

0.1.0 (2022-10-25)

  • (aendue) fixed asynchron functions (Axios Errors)
  • (aendue) added getAutoFocus funktion
  • (aendue) added getIrLight funktion
  • (aendue) added getWhiteLED function
  • (aendue) added getMailNotification function
  • (aendue) added setMailNotification function
  • (aendue) cleanup code

0.0.5 (2022-09-28)

  • (oelison) guard point (new info)

0.0.4 (2022-09-27)

  • (oelison) ptz preset tested
  • (oelison) change protocol (http/https) possible
  • (oelison) led on/off and brightness
  • (oelison) push on/off
  • (oelison) auto focus on/off
  • (oelison) set zoom
  • (oelison) play alarm (n times)
  • (oelison) motion detection enabled again

0.0.3 (2022-09-05)

  • (aendue) npm release prepare
  • (oelison) ptz preset (untested, missing ptz cam)

0.0.2 (2022-09-05)

  • (aendue) added languages
  • (oelison) added get image function (snap)

0.0.1 (2022-07-05)

  • (aendue) initial release

License

MIT License

Copyright (c) 2024 Andy Grundt [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.reolink's People

Contributors

oelison avatar aendue avatar nibbels avatar dependabot[bot] avatar

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.