iobroker-community-adapters / ioBroker.synology

ioBroker SYNOLOGY Adapter
MIT License
10 stars 9 forks source link
iobroker iobroker-adapter synology synology-nas

Logo

ioBroker Synology adapter

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Description

The driver allows you to receive data and manage your Synology NAS server.

2FA Settings

If you use 2FA in DSM6/7 see instructions here

Important note for Windows Installations

This adapter requires git to be installed at the hist system. Installation media can be found at https://git-scm.com/download/win.

Reboot and Shutdown

The adapter will do this via SSH since v2.1.4, so please set the SSH port in the adapter setttings. You can see it in the Synology settings: grafik grafik

sendMethod

You can send any command (method) by setting the sendMethod object, for example: Get the SurveillanceStation info is a getInfo method with no additional parameters.

{"method": "getInfo", "params": {}}

Control

commands.reboot - reboot NAS

commands.wake - send Wake On Lan to NAS

commands.shutdown - shutdown NAS

SurveillanceStation.cameras.{NAMECAM}:

SurveillanceStation.HomeMode.status_on - Current status and enable/disable homemode

SurveillanceStation.getSnapshotCamera - Get snapshot by camera number, the file is saved in a directory ...iobroker-data\synology_0\snapshotCam_2.jpg

AudioStation.players.{PLAYERID}:

DownloadStation:

Messagebox

sendTo('synology.0', 'getSnapshot', {camId: 2}, (res) => {
    if(res) sendTo('telegram.0', {text: res, caption: 'caption for image'});
});

Changelog

3.1.0 (2024-04-07)

3.0.1 (2023-10-01)

3.0.0 (2023-09-07)

2.1.13 (2022-11-05)

(McM1957) Code has been prepared for upcoming js-controller release. Reference to utils.controllerDir has been removed. (#198) (McM1957) Several base modules have been updated.

2.1.12 (2022-10-26)

*(McM1957) Logging of password in clear text has been removed.

2.1.11 (2022-10-24)

*(McM1957) The adapter has been adapted to be compatible with node14.

2.1.10 (2022-10-23)

(McM1957) Handling of passwords containing special characters (i.e. a dollar sign) has been fixed (#180) (McM1957) Base modules have been updated as suggested by dependabot.

2.1.9 (2022-07-01)

2.1.8 (2022-06-12)

2.1.7 (2022-04-26)

2.1.6 (2022-04-04)

2.1.5 (2022-04-03)

2.1.4 (2022-04-03)

2.1.1 (2022-03-26)

2.1.0 (2022-03-25)

2.0.1 (2021-09-17)

2.0.0

1.1.3 (2021-08-23)

1.1.2 (2021-08-12)

1.1.1 (2021-08-09)

1.1.0 (2021-08-07)

1.0.1

1.0.0

0.1.20

0.1.18

0.1.17

0.1.16

0.1.15

0.1.14

0.1.11

0.1.10

0.1.8

0.1.7

0.1.6

0.1.4

0.1.3

0.1.2

0.1.1

0.1.0

0.0.4 (2018-10-07)

0.0.3 (2018-01-03)

License

The MIT License (MIT)

Copyright (c) 2024, iobroker-community-adapters iobroker-community-adapters@gmx.de Copyright (c) 2021-2023 instalator vvvalt@mail.ru, ioBroker Community-Developers

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.