MQTT error - last_result.log does not exist #572
Replies: 3 comments 9 replies
-
Hi @Staples1010 , I haven't tested a stand-alone Mosquitto instance. Can you please confirm you are using the correct details for Broker, Port, Username, Password? https://github.com/jokob-sk/Pi.Alert/blob/main/docs/HOME_ASSISTANT.md The below are the most important settings: Please make sure they align with your Mosquito MQTT settings: https://github.com/jokob-sk/Pi.Alert/tree/main/front/plugins/_publisher_mqtt YOu can check the message, including topic, that is sent here: |
Beta Was this translation helpful? Give feedback.
-
@jokob-sk It would be okay with me, but If people already have automations in Home Assistant set up using the existing name, could this break their setups? Having a toggle in the settings could be good, or maybe a textbox for a custom name? |
Beta Was this translation helpful? Give feedback.
-
The above callback error was fixed in pull request #759. The paho library is now v2.0 and will be dropping support for V1 callback. |
Beta Was this translation helpful? Give feedback.
-
Not sure if anyone can suggest what I've done wrong here? I've been trying to get this working with Mosquitto (container not in Home Assistant). Whenever I try the test button I seem to get the following error:
Can I confirm the 'topic' I should be using in Home Assistant is 'homeassistant'?:
![image](https://github.com/jokob-sk/Pi.Alert/assets/93349494/8307e5ef-c0b1-4d83-8afa-bd82662bd67c)
Am I meant to be using a specific username for MQTT? "PiAlert":
client = mqtt_client.Client('PiAlert') # Set Connecting Client ID
Beta Was this translation helpful? Give feedback.
All reactions