Initial project that works

This commit is contained in:
2026-09-06 00:40:32 -04:00
parent dfd0920ec7
commit e6703ca6cb
3 changed files with 336 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
# Wi-Fi credentials
WIFI_SSID = "YourSSID" # Set this to your Wi-Fi network name
WIFI_PASS = "YourPassword" # Set this to your Wi-Fi network password
# MQTT broker details
MQTT_HOST = "192.168.1.50" # MQTT broker IP/hostname
MQTT_PORT = 1883 # MQTT broker port
MQTT_USER = "mqtt_user" # MQTT username (leave blank for no login)
MQTT_PASS = "mqtt_password" # MQTT password (leave blank for no login)
# Home Assistant node details
NODE_NAME = "Room Weather" # Name that's displayed on HA Device Card
NODE_ID = "room_env" # Unique slug for entity_id and MQTT topic path
CLIENT_ID = f"pico2w_{NODE_ID}" # Unique client ID used by the MQTT broker