Files
pico-weather/config.go.example
T
2026-09-12 02:43:51 -04:00

29 lines
555 B
Plaintext

package main
import (
"time"
)
const (
WifiSSID = "My Wifi Name"
WifiPass = "SecretWifiPassword"
// Networking settings
Hostname = "pico2w-bme280"
EnableICMP = true
// Sensor configuration
SensorType = "bme280"
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
)