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.
- 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.
- Device Info
- PTZ Info
- Drive Info
- Network Info
- Motion Detection
- Auto Focus
- Snapshot
- IR Light
- LED Light
- Mail Notification
sendTo("reolink.0",{action: "snap"}, function(result){
sendTo("matrix-org.0",{file:result});
});
// content from result is JSON :
{type:"image/png",base64:"iVBORw....askldfj"}
- RLC-420-5MP
- E1 Outdoor
- RLC-522
- RLC-810A
- RLC-823A
- (oelison) known working cameras added
- (oelison) setIrLights accept "On" now
- (oelison) #40
- (oelison) #42
- (oelison) resolve review for latest adapter addition
- (oelison) maybe the last node 16 version
- (oelison) booleans are now false/true and not 0/1
- (oelison) ptz patrol added
- (oelison) node 12 tests removed
- (aendue) added getAiState
- (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)
- (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
- (oelison) guard point (new info)
- (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
- (aendue) npm release prepare
- (oelison) ptz preset (untested, missing ptz cam)
- (aendue) added languages
- (oelison) added get image function (snap)
- (aendue) initial release
MIT License
Copyright (c) 2023 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.