npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.srm

v0.2.0

Published

This adapter allows you to connect to a Synology router

Downloads

11

Readme

Table of Contents

Introduction

This is an iobroker adapter to connect to Synology routers. The adapter uses the Synology API to get the data. The adapter is tested with the SRM version 1.3.1. and router model RT6600 but should work with other models as well.

Thanks to

  • Nocilas who provider the connector for the Synology API.
  • The countless iobroker adapters that I used as a template, especially asuswrt.

Usage

Installation

Create a new instance of the adapter and enter the IP address of your router. The port is 8001 by default. Enter user name and password of your router. Make sure that the user is not using 2FA.

Objects

The adapter creates the following objects:

router

  • IPV4_IP: IP4 address of the router
  • IPV4_status: Status of the IPV4 connection
  • IPV6_IP: IP6 address of the router
  • IPV6_status: Status of the IPV4 connection

devices

JSON table for the following device states:

  • all: All known devices
  • mesh: All mesh devices
  • online: All online devices
  • online_ethernet: All online devices connected via ethernet
  • online wifi: All online devices connected via wifi

Each JSON table has the following objects for each device:

  • connection: Connection type (Eternet, Wifi)
  • dev_type: Device type (Computer, Mobile, etc.)
  • hostname: Hostname of the device
  • ip6_addr: IP6 address of the device
  • ip_addr: IP4 address of the device
  • is_banned: Is the device banned
  • is_beamforming_on: Is beamforming enabled
  • is_high_qos_on: Is high QOS enabled
  • is_low_qos_on: Is low QOS enabled
  • is_manual_device_type: Is the device type manually set
  • is_manual_hostname: Is the hostname manually set
  • is_online: Is the device online
  • is_qos_on: Is QOS enabled
  • is_wireless: Is the device connected via wifi
  • mac: MAC address of the device
  • mesh_node_id: ID of the mesh node
  • mesh_node_name: Name of the mesh node

info

  • connection: Status of the connection to the router

mesh

List of mesh nodes. Each mesh nodes has the following objects:

  • band: Uplink band
  • connected_devices: Number of connected devices
  • current_tx_rate: Current transmission rate
  • current_rx_rate: Current reception rate
  • name: Name of the mesh node
  • network_status: Status of the network
  • node_id: ID of the mesh node
  • node_status: Status of the mesh node
  • parent_node_id: ID of the parent node
  • signal_strength: Signal strength

wifi

List of wifi networks and settings. Wifi settings can only be changed every 3s to avoid conflicting changes. Each mesh nodes has the following objects:

  • enable: Enable the wifi network (read/write)
  • enable_client_isolation: Enable client isolation (read/write)
  • hide_ssid: Hide the WIFI SSID (read/write)
  • mac_filter: Enable MAC filter (read)
  • schedule_enable: Enable schedule for network (read/write)

Sentry

What is Sentry.io and what is reported to the servers of that company? Sentry.io is a service for developers to get an overview about errors from their applications. And exactly this is implemented in this adapter.

When the adapter crashes or another Code error happens, this error message that also appears in the ioBroker log is submitted to Sentry. When you allowed iobroker GmbH to collect diagnostic data then also your installation ID (this is just a unique ID without any additional infos about you, email, name or such) is included. This allows Sentry to group errors and show how many unique users are affected by such an error.

Changelog

0.2.0 (2023-12-27)

  • Added new section for WIFI settings. Some settings can be changed via the adapter.
  • Account for different API versions

0.1.6 (2023-12-26)

  • Account for different API versions

0.1.5 (2023-12-10)

  • minor bug fixes

0.1.3 (2023-12-06)

  • minor bug fixes

0.1.2 (2023-12-05)

  • minor bug fixes

0.1.1 (2023-12-05)

  • enabled NPM deployment

0.1.0 (2023-12-05)

  • first public release

Version 0.0.1

  • initial release

License

MIT License

Copyright (c) 2023 stephan stricker [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.