You may need to change unit_system to match yours is all

On Wed, 5 Sep 2018, 15:25 G Hammer, <[email protected]> wrote:

> Thanks.
> I’ll swap to test tomorrow.
>
>
> It’s always something...
>
>
> On Tue, Sep 4, 2018 at 11:01 PM Colin Larsen <[email protected]>
> wrote:
>
>> Here's mine that work fine
>>
>>
>> Weewx.conf
>>
>> [[MQTT]]
>>
>>         #This section is for the MQTT service setup
>>
>>         server_url = mqtt://test.mosquitto.org:1883/
>>
>>         topic = weather/41south
>>
>>         unit_system = METRIC
>>
>>         binding = archive, loop
>>
>>         aggregation = aggregate
>>
>> Skin.conf
>>
>>
>> # MQTT Defaults
>>
>>     mqtt_enabled = 1
>>
>>     mqtt_host = "test.mosquitto.org"
>>
>>     mqtt_port = 8080
>>
>>     mqtt_ssl = 0
>>
>>     mqtt_topic = "weather/41south/#"
>>
>>     disconnect_live_website_visitor = 1800000
>>
>> On Wed, Sep 5, 2018 at 2:31 PM G Hammer <[email protected]> wrote:
>>
>>> I can say that my mosquitto install is not using websockets.
>>> With mqtt-spy on the server, I can set it up for either default or
>>> websockets.
>>> Default works fine, websockets does not.
>>> Though only item I changed in the mosquitto.conf is protocol websockets
>>>
>>> So, stumped. Anyone have a working mosquitto install that they would
>>> share the conf?
>>>
>>>
>>>
>>>
>>> On Tuesday, September 4, 2018 at 5:53:18 PM UTC-4, Pat wrote:
>>>>
>>>> On second glance, use this tool instead.
>>>> http://mitsuruog.github.io/what-mqtt/ since it can support SSL brokers
>>>> (even though it's not documented). Maybe I should setup my own websocket
>>>> test tool? :)
>>>>
>>>> If your MQTT is setup with SSL, then you'll want to connect to secure
>>>> websockets with WSS. Otherwise it'll use normal websockets which is ws.
>>>>
>>>> Example: wss://your.broker.com:port for secure. Then subscribe to your
>>>> topic and see if its working
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tuesday, September 4, 2018 at 5:44:14 PM UTC-4, Pat wrote:
>>>>>
>>>>> The skin - at its core - will show the data from the previous archive.
>>>>> Once connected it'll update those fields from the MQTT messages.
>>>>>
>>>>> The MQTT will show "connected" in the status bar once it gets a
>>>>> timestamp from the published message.
>>>>>
>>>>> Check to make sure your broker allows websockets. To validate you can
>>>>> use this test tool. http://www.hivemq.com/demos/websocket-client/
>>>>>
>>>>> If that test tool works, make sure your config options are correct.
>>>>>
>>>>> Anything in the Chrome console log?
>>>>>
>>>>> On Tuesday, September 4, 2018 at 4:53:08 PM UTC-4, G Hammer wrote:
>>>>>>
>>>>>> Hi Colin,
>>>>>>
>>>>>> I don't think the problem is with sending or retrieving data from the
>>>>>> MQTT server, I have done both the test.mosquitto.org and then
>>>>>> installed mosquitto on my server.
>>>>>> I used MQTT.fx to subscribe to both and both are getting the data.
>>>>>> The skin is getting data as it shows the temp, humidity, wind, but
>>>>>> never shows a connection and never completes the main page. Graphs on the
>>>>>> page are missing/blank but shown on the Graphs page.
>>>>>>
>>>>>> You can better understand the issue by visiting the site. After you
>>>>>> are there for 30 seconds or so, refresh the page and see that the data 
>>>>>> has
>>>>>> changed.
>>>>>> My Weather Site <https://ghammer.net/weather/>
>>>>>>
>>>>>
>>>>>> --
>>> 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/81PjpX0Ajas/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 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