Allow arbitrary actions when transitioning between SSIDs
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/WiFiTransitions.spoon.zip
Signature | WiFiTransitions.actions |
---|---|
Type | Variable |
Description | Table containing a list of actions to execute for SSID transitions. |
Notes |
|
Source | Source/WiFiTransitions.spoon/init.lua line 22 |
Signature | WiFiTransitions.actOnNilTransitions |
---|---|
Type | Variable |
Description | Whether to evaluate |
Source | Source/WiFiTransitions.spoon/init.lua line 38 |
Signature | WiFiTransitions.logger |
---|---|
Type | Variable |
Description | Logger object used within the Spoon. Can be accessed to set the default log level for the messages coming from the Spoon. |
Source | Source/WiFiTransitions.spoon/init.lua line 17 |
Signature | WiFiTransitions:processTransition(new_ssid, prev_ssid, interface) |
---|---|
Type | Method |
Description | Process the rules and execute any actions corresponding to the specified transition. |
Parameters |
|
Returns | |
Notes |
|
Source | Source/WiFiTransitions.spoon/init.lua line 57 |
Signature | WiFiTransitions:start() |
---|---|
Type | Method |
Description | Start the WiFi watcher |
Parameters |
|
Returns |
|
Source | Source/WiFiTransitions.spoon/init.lua line 104 |