-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWIFI_CONFIG.py
More file actions
15 lines (14 loc) · 853 Bytes
/
WIFI_CONFIG.py
File metadata and controls
15 lines (14 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Description: Configuration file for WIFI connection and MQTT broker
# Update the following variables with your own values that match your network and MQTT broker
SSID = "WIFI_SSID" # e.g. "my_wifi"
PSK = "WIFI_PASSWORD" # e.g. "password"
COUNTRY = "COUNTRY_CODE" # e.g. "US"
BROKER = "BROKER_IP" # e.g. "mqtt://192.168.1.2"
HOSTNAME = "NETWORK_HOSTNAME" # e.g. "DasBlinkenLights"
LOCATION = b"LOCATION" # e.g. b"Living\\Cabinet2\\" for MQTT topic, this can be used to group devices
# MQTT topics, note these need to match the topics configured in the MQTTThing plugin configuration
# These are the topics that the Pico W will subscribe to
# and the topics that Homebridge will publish to
SET_ON = b"setOn" # MQTT topic for turning on/off
GET_RGB = b"getRGB" # MQTT topic for getting RGB values
SET_RGB = b"setRGB" # MQTT topic for setting RGB values