With a test client I've discovered that CloudMQTT require a username and password to be sent for the websocket connections (TLS only too so it's a wss connection) - that needs adding into skin.conf Pat I guess please.
Cheers Colin On Sun, Aug 26, 2018 at 2:04 PM Colin Larsen <[email protected]> wrote: > Now I just have to get the skin.conf to read it back > > These are the instance settings at CloudMQTT > > > Instance info > > Server m11.cloudmqtt.com > User > Restart > Password > Rotate > Port 13147 > SSL Port 23147 > Websockets Port (TLS only) 33147 > Connection limit 5 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > And here is the skin.conf section ..... > > > > # MQTT Defaults > > mqtt_enabled = 1 > > mqtt_host = "m11.cloudmqtt.com" > > mqtt_port = 33147 > > mqtt_ssl = 0 > > mqtt_topic = "weather/41south/loop" > > disconnect_live_website_visitor = 1800000 > > > > Not quite sure what is awry - Pat? > > > > > On Sun, Aug 26, 2018 at 1:44 PM Colin Larsen <[email protected]> > wrote: > >> Thanks John! I used the installer rather than Pat's manual method and it >> works great now :) >> >> Ignore the data values it's working on Simulator only at the moment >> >> weather/41south/loop {"cloudbase_meter": "385.160767033", "outHumidity": >> "79.9998437932", "pressure_mbar": "1053.16654107", "rain_cm": "0.0", >> "barometer_mbar": "1053.16654107", "dewpoint_C": "-2.69897261268", >> "windGust_kph": "5.02780872081e-05", "heatindex_C": "0.341840163469", >> "dayRain_cm": "0.508", "inDewpoint_C": "-0.511415146209", "altimeter_mbar": >> "1053.61058559", "windchill_C": "0.341840163469", "appTemp_C": >> "-2.00597980905", "outTemp_C": "0.341840163469", "windGustDir": >> "359.999062759", "humidex_C": "0.341840163469", "rain24_cm": "0.508", >> "inTemp_C": "17.2222800764", "windSpeed_kph": "4.1898406007e-05", >> "usUnits": "16.0", "UV": "11.4155207049", "rainRate_cm_per_hour": "0.0", >> "dateTime": "1535247709.0", "windDir": "359.999062759", "inHumidity": >> "29.9997917248", "radiation_Wpm2": "815.394336067"} >> >> On Sun, Aug 26, 2018 at 1:26 PM John Smith <[email protected]> >> wrote: >> >>> >>> >>> On Sunday, 26 August 2018 11:18:40 UTC+10, Colin Larsen wrote: >>>> >>>> Aug 26 13:10:14 raspberrypi weewx[3191]: **** ImportError: No >>>> module named mqtt >>>> >>>> >>>> >>> >>>> The mqtt.py file is in /usr/share/weewx/ as per below (I'll change the >>>> permissions for read-only shortly) >>>> >>>> >>>> >>> You need to put it in /usr/share/weewx/user/ >>> >>> -- >>> 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.
