thanks for the tip, it says "Valid YAML!"

Il giorno sabato 10 febbraio 2024 alle 15:14:32 UTC+1 p q ha scritto:

> Yaml files are really picky about formatting. You might try a checking 
> site like yamlint.com
>
> On Sat, Feb 10, 2024, 3:05 AM Claudio <[email protected]> wrote:
>
>> Thanks Peter for your support, I will try and reinstall mosquitto to see 
>> if I missed something along the way....
>> what seems strange to me is that, as you can see from the photo, home 
>> assistant is able to read the topic
>> Claudio
>>
>> Il giorno sabato 10 febbraio 2024 alle 12:00:14 UTC+1 Vetti52 ha scritto:
>>
>>> Ok, so at least weewx is uploading data to mqtt sucessfully.
>>> The only thing, I am concerned from your listing, is the proper 
>>> formation. But perhaps this is due to your pasting mqtt.yaml in this forum. 
>>> You have hopefully placed the spaces properly, thus
>>> sensor:               top left
>>>   - name             two spaces indented (starts below the „n“ of 
>>> sensor)
>>>     unique_id and all following entries for this entity four spaces 
>>> indented (starts below „name“)
>>>
>>> Otherwise I would consider reconfiguring mqtt in home assistant.
>>>
>>> HTH
>>> Peter
>>> Claudio schrieb am Samstag, 10. Februar 2024 um 11:22:31 UTC+1:
>>>
>>>> this is mine
>>>>
>>>> persistence false
>>>>
>>>>
>>>> # mqtt
>>>>
>>>> listener 1883
>>>>
>>>> protocol mqtt
>>>>
>>>>
>>>> # websockets
>>>>
>>>> listener 9001
>>>>
>>>> protocol websockets
>>>>
>>>>
>>>> allow_anonymous true
>>>>
>>>> password_file /etc/mosquitto/passwd
>>>>
>>>>
>>>> acl_file /etc/mosquitto/acl
>>>> [image: Screenshot 2024-02-10 alle 08.21.14.png]
>>>>
>>>> Before writing here, I also followed the instructions in this post but 
>>>> without success
>>>> community.home-assistant.io/t/weewx-mqtt-and-how-to-import-data/212344
>>>>
>>>> Il giorno sabato 10 febbraio 2024 alle 11:15:17 UTC+1 Vetti52 ha 
>>>> scritto:
>>>>
>>>> Well, as I am not a specialist, I can just forward my working 
>>>> configuration, adopted from 
>>>> community.home-assistant.io/t/weewx-mqtt-and-how-to-import-data/212344
>>>>
>>>> Another question is, if MQTT needs to allow anonymous access. In my 
>>>> setup I had to allow it by creating 
>>>> /etc/mosquitto/conf.d/anon.conf
>>>> (or any other file.conf name) with the content
>>>>
>>>> listener 1883
>>>> allow_anonymous true
>>>>
>>>> and restart mosquitto.
>>>>
>>>>
>>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/161d7523-daf6-43c5-b239-507715a6256en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/161d7523-daf6-43c5-b239-507715a6256en%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6f87390e-fa6d-4081-83c3-2ee20b76a502n%40googlegroups.com.

Reply via email to