Here is what worked for me:

[[MQTT]]
server_url = mqtt://broker.hivemq.com:1883
topic = topic/subtopic
unit_system = US
binding = archive, loop
aggregation = aggregate


...
[[[Extras]]]
# Set to 1 to enable the real-time streaming website updates from your MQTT
broker (server)
mqtt_enabled = 1
mqtt_ssl = 0
mqtt_host = broker.hivemq.com # The MQTT broker hostname or IP
mqtt_port = 8000 # The port of the MQTT broker's Websockets port. Check
your broker's documentation.
mqtt_topic = "topic/subtopic/#" # The topic to subscribe to for your
weather data
disconnect_live_website_visitor = 1800000 #The number of seconds after a
visitor has loaded your page that we disconnect them from the live
streaming updates. The idea here is to save your broker from a streaming
connection that never ends. Time is in milliseconds. 0 = disabled. 300000 =
5 minutes. 1800000 = 30 minutes

--
Tom Mitchell
[email protected]
Real Time Beverly, MA Weather
http://weather.tom.org

"The whole problem with the world
  is that fools and fanatics are
  always so certain of themselves,
  and wiser people so full of doubts."
  - Bertrand Russell


On Mon, Feb 11, 2019 at 3:18 PM Pat <[email protected]> wrote:

> Feel free to share your hivemq settings that worked for you and I'll
> update the skin's wiki file.
>
> On Monday, February 11, 2019 at 1:38:08 PM UTC-5, Colin Larsen wrote:
>>
>> Same here. Built my own MQTT server, no problems at all
>>
>> Colin
>>
>> On Tue, 12 Feb 2019, 00:52 Tom Mitchell <[email protected] wrote:
>>
>>> Never got it to work - just switched to hivemq and all is good.
>>>
>>> --
>>> Tom Mitchell
>>> [email protected]
>>> Real Time Beverly, MA Weather
>>> http://weather.tom.org
>>>
>>> "The whole problem with the world
>>>   is that fools and fanatics are
>>>   always so certain of themselves,
>>>   and wiser people so full of doubts."
>>>   - Bertrand Russell
>>>
>>>
>>> On Sun, Feb 10, 2019 at 12:26 PM vince <[email protected]> wrote:
>>>
>>>> On Monday, September 24, 2018 at 7:11:05 PM UTC-7, G Hammer wrote:
>>>>>
>>>>> Is anyone using CloudMQTT broker with the Belchertown skin?
>>>>> I have data published to the broker, but will not connect via SSL/TLS
>>>>> Websockets.
>>>>> I can connect via TLS websockets using a different client.
>>>>>
>>>>>
>>>>>
>>>> I'd lean toward it being a cert problem in how you configured
>>>> Belchertown (just a guess)
>>>> Did you do it ala his docs at
>>>> https://github.com/poblabs/weewx-belchertown#mqtt-optional ?
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "weewx-user" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/weewx-user/cXlnH9kui9U/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> 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].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/cXlnH9kui9U/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to