[Issue #4] - Adding support for sht4x sensors, configurable via the SENSOR_TYPE parameter
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -12,3 +12,6 @@ MQTT_PASS = "mqtt_password" # MQTT password (leave blank for no login)
|
|||||||
NODE_NAME = "Room Weather" # Name that's displayed on HA Device Card
|
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
|
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
|
CLIENT_ID = f"pico2w_{NODE_ID}" # Unique client ID used by the MQTT broker
|
||||||
|
|
||||||
|
# Sensor selection: "bme280" or "sht41"
|
||||||
|
SENSOR_TYPE = "bme280"
|
||||||
|
|||||||
Reference in New Issue
Block a user