docs » WifiNotifier

Receive notifications every time your wifi network changes.

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WifiNotifier.spoon.zip

API Overview

API Documentation

Methods

init
Signature WifiNotifier:init()
Type Method
Description

Initialize the WifiNotifier spoon

Parameters
  • None
Returns
  • The WifiNotifier object
Source Source/WifiNotifier.spoon/init.lua line 18
ssidChangedCallback
Signature WifiNotifier:ssidChangedCallback()
Type Method
Description

Fires whenever the wifiWatcher detects an SSID change.

Parameters
  • None
Returns
  • The WifiNotifier object
Source Source/WifiNotifier.spoon/init.lua line 48
start
Signature WifiNotifier:start()
Type Method
Description

Starts the wifiNotifier

Parameters
  • None
Returns
  • The WifiNotifier object
Source Source/WifiNotifier.spoon/init.lua line 34