Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106485

MQTT connecting to appdaemon

$
0
0

I am trying to get a python script to listen in to a topic which is successfully being broadcast from home assistant. I can get MQTT integration to see it but I am struggling to get the python code to work.

HA is on a debian12 machine and in a docker, have checked and everything appears to be running the docker correctly.

appdaemon says: 2025-01-09 14:13:42.292413 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 127.0.0.1:1883 is correct and broker is not down and restart Appdaemon

my config file in appdaemon is

appdaemon:
latitude: 5X.XXXX
longitude: 4X.XXXX
elevation: 2
time_zone: Europe/Amsterdam
plugins:
HASS:
type: hass
MQTT:
type: mqtt
namespace: mqtt

http:
url: http://127.0.0.1:5050

admin:
api:
hadashboard:

I have tried all sorts of suggestions, in the setup including setting host to core-mosquitto and various other variations and no luck.

I have tried logging in with username and password based on HA password and by creating them via ssh and still get the same response.

At a loss now, again I think there is a simple answer just not seeing it so any help is appreciated.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 106485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>