I installed mqtt as an wee_extensions,
And followed the instructions.

I installed the mqtt broker as instructed, mosquito, as instructed on the
belchertown wiki.

Both portsaus 1883 and 9001 are open in my ubuntu running in a virtual box
environment.

I checked your links, thx for that. But that also was followed.

By glad if you had more specifics


Thx



Op za 26 nov. 2022 20:17 schreef vince <vinceska...@gmail.com>:

> Connection refused means the computer you specified (localhost) is not
> listening on the port you specified (9001).   So you have more software to
> install and configure in addition to weewx and the skin.
>
> Reread
> https://github.com/poblabs/weewx-belchertown#mqtt-and-mqtt-websockets-optional
> and https://github.com/poblabs/weewx-belchertown#mqtt-brokers for what is
> needed and how to do it.
>
> On Saturday, November 26, 2022 at 5:52:55 AM UTC-8 vanuxe...@gmail.com
> wrote:
>
>> Hi
>>
>> I'm trying to set mqtt inside the belchertown skin.
>>
>> i can see that my data is getting published in the syslog.
>>
>> however the connection fails in my website
>>
>> in the developer i get this:
>>
>> WebSocket connection to 'ws://localhost:9001/mqtt' failed: Error in
>> connection establishment: net::ERR_CONNECTION_REFUSED
>>
>> my set in the belchertown skin.conf is this
>>
>> # MQTT Websockets defaults
>>     mqtt_websockets_enabled = 1
>>     mqtt_websockets_host = "localhost"
>>     mqtt_websockets_port = 9001
>>     mqtt_websockets_ssl = 0
>>     mqtt_websockets_topic = "weather"
>>     disconnect_live_website_visitor = 1800000
>>
>> in weewx.conf its this
>>
>> [[MQTT]]
>>         server_url = mqtt://alex:passwd@localhost:1883/
>>         topic = weather
>>         unit_system = METRIC
>>         binding = archive, loop
>>         aggregation = aggregate
>>
>> can somebody point me in the direct direction, please?
>>
>> thank you!!
>>
>>
>>
>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/841ec5a0-f416-45db-938b-74753ccd645an%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/841ec5a0-f416-45db-938b-74753ccd645an%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHaYyoJqfQjoEMYc4DKZKWZ4h-uVOGUqb_RWqbUT1B-0GgxYSA%40mail.gmail.com.

Reply via email to