Files
pico-weather/config.go.example
T
2026-09-12 01:58:24 -04:00

25 lines
478 B
Plaintext

package main
import (
"time"
)
const (
WifiSSID = "My Wifi Name"
WifiPass = "SecretWifiPassword"
// Networking settings
EnableICMP = true
MQTTHost = "192.168.1.50" // Must be an IP address; DNS resolution is not supported currently
MQTTPort = "1883"
MQTTUser = "" // Leave empty if not required
MQTTPass = "" // Leave empty if not required
NodeName = "Studio Weather"
NodeID = "studio_env"
ClientID = "pico2w_studio_env"
UpdateInterval = 30 * time.Second
)