The driver allows you to receive data and manage your Synology NAS server.
If you use 2FA see instructions here
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": {}}
commands.reboot - reboot NAS
commands.shutdown - shutdown NAS
SurveillanceStation.cameras.{NAMECAM}:
- enabled - Current status and enable/disable camera
- linkSnapshot - URL for snapshot
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}:
- play, pause, stop, next, prev - Controlling playback (button, only true)
- repeat - Repeat control (Off, All, One)
- shuffle - Shuffle control (true/false)
- volume - Volume remote player (0-100)
- seek - Controlling playback seek (0-100)
- play_folder - Add tracks from the folder to the playlist (id folder e.g.
dir_5816
) - play_track - Play track by its id (e.g.
music_120847
) - current_play - Control and status of the current track by its number in the playlist (e.g.
14
)
DownloadStation:
- activeTask - number of incomplete downloads
- listTasks - an array with incomplete downloads
- shedule_enabled, shedule_emule_enabled - Status and control of scheduled or immediate downloads
- add_hash_download - add to Hash Downloads (e.g.
8BD3CAD02FC9ECB661A12378414FA310D3F3FE03
) - add_url_download - add download URL or magnet link
- folder - The folder to download, set before adding the download, otherwise it is loaded into the default folder
- pause_task, resume_task - Pause the download and resume. (e.g.
dbid_170
or170
orall
)
sendTo('synology.0', 'getSnapshot', {camId: 2}, (res) => {
if(res) sendTo('telegram.0', {text: res, caption: 'caption for image'});
});
- (instalator) change link for album cover
- (instalator) added Sentry plugin support
- (instalator) fixed error
- (instalator) fixed error in parse Info
- (instalator) fixed api undefined
- (instalator) fixed missing datapoints
- (instalator) refactoring
- (instalator) Changed the logging of some errors
- (instalator) Changed format session in syno package
- (instalator) added motionDetected state
- (SpectreKr*) Adding to FS Sharing
- (instalator) fixed copy cover file
- (instalator) fix get packages for DSM 5.x
- (instalator) Added option to select services for receiving data
- (instalator) fix error addDownload
- (instalator) fixed listRadios
- (instalator) fixed get cover
- (instalator) fixed 2FA
- (instalator) Added setup guide 2FA
- (instalator) fix for 2fa
- (instalator) fix error
- (instalator) change error log
- (instalator) fix io-package
- (instalator) fix error status player
- (instalator) change for DownloadStation
- (instalator) added playlist favorite radio
- (instalator) added clearPlaylist button
- (instalator) refactoring
- (instalator) change obj for ss info fix for cover song
- (instalator) fix for info.connection
- (instalator) add 6.2.3 fix for player browser files
- (instalator) fix for 2FA
- (instalator) fixed error add download
- (instalator) added DownloadStation task list
- (instalator) fixed error
- (instalator) added messagebox for snapshot
- (instalator) update readme
- (instalator) added ss link for different streams
- (instalator) fix error
- (instalator) refactoring
- (instalator) added HomeMode switch
- (instalator) change for audiostation
- (instalator) change for as and ss
- (instalator) added snapshot functional
- (instalator) fixed systemConfig
- (instalator) fixed many error
- (instalator) Изменен репозиторий библиотеки
- (instalator) Добавлено в конфиг время опроса
- (instalator) initial
The MIT License (MIT)
Copyright (c) 2020 instalator [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.