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

homebridge-meraki-mr

v0.1.1

Published

Meraki Wireless automation, via Homebridge.

Downloads

53

Readme

published npmnpmnpm

A Cisco Meraki Wireless plugin for Homebridge.


Purpose

The purpose of this code is to create a Homebridge plugin to allow a wireless administrator to enable or disable a WLAN through a Light Switch control in Apple’s homekit or through Siri.

alt text

alt text

Installation

Run these commands:

% sudo npm install -g homebridge
% sudo npm install -g homebridge-meraki-mr

NOTE: If you install homebridge like this:

sudo npm install -g --unsafe-perm homebridge

Then all subsequent installations must be like this:

sudo npm install -g --unsafe-perm homebridge-meraki-mr

Configuration

Example accessory config (needs to be added to the homebridge config.json): ...

"platforms": [
	{
		"name": "Meraki WiFi",
		"apiKey": "4854372bf7b61bdb701512314e3134bcb3e61b85",
		"timeout": 10000,
		"refreshInterval": 15,
		"debug": false;
		"networks": [
			{
				"displayName": "Site 1",
				"networkId": "L_012345678901234501"
			},
			{
				"displayName": "Site 2",
				"networkId": "L_012345678901234502"
			}
		],
		"platform": "Meraki MR"
	}
]

...

Config Explanation:

Field | Description ----------------------------|------------ platform | (required) Must always be "Meraki MR". name | (required) The internal name you want to use for the platform within Homebridge. apiKey | (required) The Meraki API Key used to access the Meraki Dashboard. timeout | (optional) The timeout duration in ms for the web API calls. refreshInterval | (optional) The refresh interval in minutes for polling the WiFi status. debug | (optional) Enables additional logging. displayName | (required) The name you want to show for the WLC in homekit. networkId | (required) The Meraki Network ID for the site or network.

To make your Meraki Dashboard account work with the plugin:

  1. Login to your Meraki Dashboard account.
  2. In the Dashboard, go to Organization / Settings.
  3. Scroll down to the bottom and Enable access to the Cisco Meraki Dashboard API.
  4. Save Changes, then scroll to the top, click on your username on the right & click My Profile.
  5. Scroll down towards the bottom and under API Access, click on Generate API Key.
  6. Write down or copy the API Key.
  7. In the same browser, go to https://api.meraki.com/api/v0/organizations
  8. Use the resulting org id to browse to https://https://api.meraki.com/api/v0/organizations/{orgID}/networks
  9. Write down the network id(s) for the network(s) that you want to control.
  10. Create your config file according to the above example (or using the Homebridge UI).

More information

Check out https://github.com/nfarina/homebridge for more information about Homebridge.