Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread Chotechai Piyavongsiri
So it could be something changed on the public mqtt end.

On Wednesday, 29 July 2020 at 11:18:21 UTC+7 Chotechai Piyavongsiri wrote:

> Running fine with local mqtt broker, with or without encryption.
>
> On Wednesday, 29 July 2020 at 03:10:28 UTC+7 vince wrote:
>
>> On Tuesday, July 28, 2020 at 1:07:05 PM UTC-7, Scott Grayban wrote:
>>>
>>> I opened a issue ticket at 
>>> https://github.com/poblabs/weewx-belchertown/issues/344
>>>
>>>
>> I did a clean install on weewx v4 and belchertown latest, both with 
>> python3.
>> Live stats works just fine for me, without MQTT encryption being enabled.
>>
>>

-- 
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/ab123d4e-3e2c-45f1-9724-397962a5fc62n%40googlegroups.com.


Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread Chotechai Piyavongsiri
Running fine with local mqtt broker, with or without encryption.

On Wednesday, 29 July 2020 at 03:10:28 UTC+7 vince wrote:

> On Tuesday, July 28, 2020 at 1:07:05 PM UTC-7, Scott Grayban wrote:
>>
>> I opened a issue ticket at 
>> https://github.com/poblabs/weewx-belchertown/issues/344
>>
>>
> I did a clean install on weewx v4 and belchertown latest, both with 
> python3.
> Live stats works just fine for me, without MQTT encryption being enabled.
>
>

-- 
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/4ffb64a0-52be-4830-ac0e-d0cbc9f65ce1n%40googlegroups.com.


Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread vince
On Tuesday, July 28, 2020 at 1:07:05 PM UTC-7, Scott Grayban wrote:
>
> I opened a issue ticket at 
> https://github.com/poblabs/weewx-belchertown/issues/344
>
>
I did a clean install on weewx v4 and belchertown latest, both with python3.
Live stats works just fine for me, without MQTT encryption being enabled.

-- 
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/94ce63fc-5bfe-4036-abfc-2a3f80a0e75bo%40googlegroups.com.


Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread Scott Grayban
I opened a issue ticket 
at https://github.com/poblabs/weewx-belchertown/issues/344

-- 
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/63664098-0586-42d1-b26c-045fdde4cf47o%40googlegroups.com.


Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread Scott Grayban
@pat Can you give some help here?

-- 
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/ebcf7172-45c8-4e54-9dd8-29a5f638a8a4o%40googlegroups.com.


Re: [weewx-user] Belchertown MQTT live stats problem

2020-07-28 Thread Don Roberts
Using developer mode, it looks like the MQTT server sends the string “Hello”, 
which causes the following line to crash:

data = jQuery.parseJSON( data );

Don’t know if jQuery has changed recently, or the MQTT protocol. I’m not a 
webservices guru by any means.

don

> On Jul 28, 2020, at 7:55 AM, Graham Eddy  wrote:
> 
> maybe they turned off unencrypted mode.
> try turning on SSL and use encrypted websockets port (8081 on 
> test.mosquitto.org )
> 
> re logs, need option in mosquitto.conf ‘log_type all’ (or at least ‘log_type 
> websockets’) plus (i haven’t tried this) ‘websockets_log_level {some flags}’ 
> - latter defaults to off
> 
>> On 28 Jul 2020, at 10:30 pm, Don Roberts > > wrote:
>> 
>> I'm experiencing this same thing, and I'm using a public MQTT broker. Didn't 
>> change anything.
>> 
>> don
>> 
>> On Friday, July 24, 2020 at 11:26:40 PM UTC-5, Scott Grayban wrote:
>> For over a year my live stats has been working flawlessly until recently. 
>> Now it says Failed connecting to the weather station
>> 
>> Looking at the dev console in chrome I am seeing this for the error and not 
>> sure how to test this out to see what is going on.
>> 
>> mqttws31.min.js:36 WebSocket connection to 'ws://X.X.X.X:9001/mqtt 
>> ' failed: Connection closed before receiving a 
>> handshake response
>> 
>> The MQTT logs are only showing connections via port 1883.
>> 
>> -- 
>> 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/73f84443-63ed-452f-8f2d-2cf65bfa0405o%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> 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/7D44F99A-801E-46F6-8BE1-1B048F7CA890%40gmail.com
>  
> .

-- 
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/F51A8256-F654-444D-B686-C071780439CB%40gmail.com.


[weewx-user] Belchertown MQTT live stats problem

2020-07-26 Thread Paul Anderson
Fist thing is check if your MQTT server is running, and that websockets is 
enabled.
If your running Mosquito on say Debian check etc/mosquitto/mosquitto.conf
Verify websockets is enabled on port 9001.
One possibility as to why it suddenly stopped working, I believe Debian had a 
recent update to MQTT server, if you updated it should have prompted you to 
keep your current configuration file or replace it with the new release 
version. If you didn't choose to keep your config, by default web sockets is 
disabled. Obviously if it's disabled just edit the config file, enable it and 
restart MQTT.

-- 
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/8feb154b-4e3a-4c8e-89c0-d5a5cb03c5d2o%40googlegroups.com.


[weewx-user] Belchertown MQTT live stats problem

2020-07-26 Thread Scott Grayban
Anyone?

-- 
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/97b447a0-fc53-4aae-a291-b71fb85064b1o%40googlegroups.com.


[weewx-user] Belchertown MQTT live stats problem

2020-07-24 Thread Scott Grayban
For over a year my live stats has been working flawlessly until recently. 
Now it says *Failed connecting to the weather station*

Looking at the dev console in chrome I am seeing this for the error and not 
sure how to test this out to see what is going on.

mqttws31.min.js:36 WebSocket connection to 'ws://X.X.X.X:9001/mqtt' failed: 
Connection closed before receiving a handshake response

The MQTT logs are only showing connections via port 1883.

-- 
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/8c4876a8-6ce7-4d9b-964b-59576ba53b5co%40googlegroups.com.