Skip to content

Get Current Network

`@ha-bits/bit-wifi`v1.0.0📥 - downloadswifi network mobile tauri

Monitor Wi-Fi network connections and trigger actions on network changes

Usage

yaml
# In your habit YAML
nodes:
  - id: my-bit-wifi-node
    type: bit
    framework: bits
    module: "@ha-bits/bit-wifi"
    action: "getCurrentNetwork"
    data:
      # action properties...

Actions

ActionDescription
Get Current NetworkGet information about the currently connected Wi-Fi network
Is ConnectedCheck if device is connected to Wi-Fi
Is Connected To NetworkCheck if device is connected to a specific Wi-Fi network
List Saved NetworksGet a list of saved Wi-Fi network names
Check PermissionsCheck Wi-Fi related permissions status
Request PermissionsRequest Wi-Fi related permissions

Triggers

TriggerDescription
On Network ChangeTriggered when the Wi-Fi network changes
On Connect To NetworkTriggered when connecting to a specific Wi-Fi network
On Disconnect From NetworkTriggered when disconnecting from a specific Wi-Fi network

Released under the AGPL-3.0 License.