iobroker.reolink
v1.1.2
Published
reolink
Downloads
2,027
Readme
ioBroker.reolink
Tests:
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.2 (2024-09-14)
- (oelison) #22 password with some more special chars works now
- (oelison) adapter warnings resolved
1.1.1 (2024-08-03)
- (oelison) removed warnings from adapter check
- (olli) added ftp support
- (oelison) channel now distinguishing most requests
- (oelison) #79 error messages with more info where
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.