Update HA dev config to use existing mqtt.home broker

- Remove mosquitto from flake (use existing broker)
- Point dev config to mqtt.home instead of localhost
- Cleaner setup using your existing MQTT infrastructure
This commit is contained in:
ryan 2025-08-02 21:01:45 -07:00
parent 8a0fa9604c
commit 8bf3f9e96a
2 changed files with 4 additions and 6 deletions

View File

@ -24,9 +24,9 @@ system_health:
# Enable mobile app support # Enable mobile app support
mobile_app: mobile_app:
# MQTT Configuration (connect to local broker) # MQTT Configuration (connect to existing mqtt.home broker)
mqtt: mqtt:
broker: localhost broker: mqtt.home
port: 1883 port: 1883
discovery: true discovery: true
discovery_prefix: homeassistant discovery_prefix: homeassistant

View File

@ -49,7 +49,6 @@
# Home Assistant for development # Home Assistant for development
home-assistant home-assistant
mosquitto
]; ];
shellHook = '' shellHook = ''
@ -58,7 +57,7 @@
echo "Python: $(python --version)" echo "Python: $(python --version)"
echo "Home Assistant: $(hass --version)" echo "Home Assistant: $(hass --version)"
echo "" echo ""
echo "Available tools: pytest, black, isort, flake8, mypy, mosquitto" echo "Available tools: pytest, black, isort, flake8, mypy"
echo "" echo ""
echo "Directories:" echo "Directories:"
echo " server/ - Elixir systant daemon" echo " server/ - Elixir systant daemon"
@ -66,8 +65,7 @@
echo " dev-config/ - Home Assistant development configuration" echo " dev-config/ - Home Assistant development configuration"
echo "" echo ""
echo "Commands:" echo "Commands:"
echo " hass --config ./dev-config - Start HA dev instance" echo " hass --config ./dev-config - Start HA dev instance (uses mqtt.home)"
echo " mosquitto - Start MQTT broker for testing"
''; '';
}; };
packages = { packages = {