Thanks.  I don’t want to publish since I’m already getting data from MQTT.  My 
subscribe settings are the same as yours(other than host and topic obviously).  
But it does not work.

I’m perplexed :)

> On Jun 14, 2020, at 8:54 PM, [email protected] wrote:
> 
> Here’re the settings I’m currently using successfully:
>  
> [[MQTT]]
>         # This is to PUBLISH MQTT topics - username and password are 
> required, on my system.
>  
>         server_url = mqtt://username:[email protected]:1883/ 
> <mqtt://username:[email protected]:1883/>
>         topic = weather/OsoyoosLakeNorthEast
>         unit_system = METRIC
>         binding = archive, loop
>         aggregation = aggregate
>  
>             # This is to SUBSCRIBE to MQTT topics - a username and password 
> are not required – at least not on my system.
>  
>             mqtt_websockets_enabled = 1
>             mqtt_websockets_host = "192.168.1.140”
>             mqtt_websockets_topic = "weather/OsoyoosLakeNorthEast/loop"
>             mqtt_websockets_port = 9001
>             disconnect_live_website_visitor = 1800000
>  
> The “aggregation” option above controls publishing one variable at a time, or 
> publishing them all in a single connection (an aggregate).
>  
> Regards,
>  
> Garry
>  
>  
> From: [email protected] <[email protected]> On Behalf Of 
> Ken Walker
> Sent: June 14, 2020 5:11 PM
> To: [email protected]
> Subject: Re: [weewx-user] Belchertown MQTT
>  
> Is the implementation expecting one observation at a time returned from the 
> broker.  I am returning from 1 - 5 observations in one json string
> 
> 
>> On Jun 14, 2020, at 7:47 PM, Garry A Lockyer <[email protected] 
>> <mailto:[email protected]>> wrote:
>>  
>> The websockets port probably should be 9001.  1883 is usually the MQTT 
>> broker.
>> 
>> Regards,
>>  
>> Garry Lockyer
>> C: +1.250.689.0686
>> E: [email protected] <mailto:[email protected]>
>>  
>> 
>> 
>>> On Jun 14, 2020, at 16:43, Ken Walker <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 
>>> I'm getting my data from an internal MQTT server using the wxMesh driver 
>>> and all is working well.
>>>  
>>> I would like to enable the MQTT updates, but cannot get them to work.
>>>  
>>> I get a failed to connect message.  All items are on my internal network.  
>>>  
>>> I have no trouble connecting from my weewx box(Raspberry Pi) with the 
>>> mosquito_sub client.
>>>  
>>> Am I missing something obvious?
>>>  
>>>  
>>> I have the following in my skin.conf:
>>>  
>>>     mqtt_websockets_enabled = 1
>>>     mqtt_websockets_host = "xx.xx.xx.xxx"
>>>     mqtt_websockets_port = 1883
>>>     mqtt_websockets_ssl = 0
>>>     mqtt_websockets_topic = "weather/davis"
>>>     disconnect_live_website_visitor = 1800000
>>> 
>>> 
>>>  
>>> -- 
>>> 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] 
>>> <mailto:[email protected]>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/7237fbdc-2531-477d-bc4d-cc61970f47cfo%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/7237fbdc-2531-477d-bc4d-cc61970f47cfo%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] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/7D2D3A35-5E77-4E92-BDB2-74FB55535A7A%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/7D2D3A35-5E77-4E92-BDB2-74FB55535A7A%40gmail.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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/F502A4EB-043E-42EF-9AC7-47D47B6DF76B%40gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/F502A4EB-043E-42EF-9AC7-47D47B6DF76B%40gmail.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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/01f101d642af%2495a496b0%24c0edc410%24%40gmail.com
>  
> <https://groups.google.com/d/msgid/weewx-user/01f101d642af%2495a496b0%24c0edc410%24%40gmail.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/4ACAAF83-9CAB-4325-9ED9-38448A575FA0%40gmail.com.

Reply via email to