Excellent, glad progress is being made On Thu, Sep 6, 2018 at 7:42 AM G Hammer <[email protected]> wrote:
> Actually, it is the need to have a cert for the server the Mosquitto is > on. > For now, using test.mosquitto.org is working fine. > Thanks to Dave. > > On Wed, Sep 5, 2018 at 3:38 PM Colin Larsen <[email protected]> > wrote: > >> Its my understanding that if mosquitto didn't support websockets then the >> skin updates wouldn't work at all, or did I read what you wrote wrong? >> >> This is my in-house mosquitto server config file (untested) >> >> persistence false >> >> allow_anonymous true >> >> # Non-SSL MQTT >> listener 1883 >> protocol mqtt >> >> # Non-SSL Websockets >> listener 9001 >> protocol websockets >> >> >> >> >> On Thu, Sep 6, 2018 at 2:04 AM G Hammer <[email protected]> wrote: >> >>> Here is what is in the dev console when I load the site: >>> >>> Connecting to MQTT weather:416:13 >>> jQuery.Deferred exception: An invalid or illegal string was specified >>> Paho.MQTT</k.prototype._doConnect@https://cdnjs.cloudflare.com/ajax/libs >>> /paho-mqtt/1.0.1/mqttws31.min.js:36:453 >>> Paho.MQTT</k.prototype.connect@https://cdnjs.cloudflare.com/ajax/libs/ >>> paho-mqtt/1.0.1/mqttws31.min.js:31:476 >>> I/this.connect@https:// >>> cdnjs.cloudflare.com/ajax/libs/paho-mqtt/1.0.1/mqttws31.min.js:65:80 >>> connect@https://ghammer.net/weather/:431:13 >>> @https://ghammer.net/weather/:90:13 >>> j@https:// >>> ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29997 >>> g/</k<@https:// >>> ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313 >>> undefined jquery.min.js:2:31569 >>> sendTimingEvent addSite start undefined undefined >>> >>> There is more, but that seems to be a good starting point. >>> >>> As my mosquitto instance is inside my LAN, it would be difficult to use >>> web based troubleshooting on it. >>> >>> But I have tested and the data is there, I'll have to investigate if it >>> supports websockets though. A quick read says no on mosquitto, which is >>> what I have locally. >>> However, it did not work (same symptoms) using test.mosquitto.org which >>> is why I brought it inhouse. >>> >>> >>> [image: mqtt.png] >>> >>> -- >>> 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.
