Hi Xant, Pat and everybody other
I am trying to connect Belchertown skin to my home mqtt browser . I am
using at home RabbitMQ as mqtt broker. I activated the websockets mqtt
plugin https://www.rabbitmq.com/web-mqtt.html
my Extras section from Belchertown shin looks like :
[[[Extras]]]
belchertown_root_url= http://meteopi.paul.local/weewx/belchertown/
earthquake_enabled = 1
forecast_enabled = 1
darksky_secret_key = ##########################
site_title = "Home, sweet home"
webpage_autorefresh = 30000
mqtt_websockets_enabled = 1
mqtt_websockets_host = 10.100.100.10
mqtt_websockets_port = 15675
mqtt_websockets_topic = home/weewx
the weewx mqtt section is
[[MQTT]]
server_url = mqtt://mqtt:[email protected]:1883/
topic = home/weewx
unit_system = METRIC
binding = loop, archive
# aggregation = individual, aggregate
I can see on the broker the messages publised by weewx but Belchertoen
skin indicates that is failed to connect to the broker over websockets.
I suspect that is required an authentication by used and password that
is also needed over mqtt. as you can see in the weewx mqtt section.
I don't know how to authenticate Belchertown skin .
Thanks for any suggestion
Paul
On 21/08/2019 04:45, Xant wrote:
All works well.... till reboot. Unable to load driver error. Not sure
if MQTT, but most suspicious....
Aug 20 21:35:32 raspberrypi weewx[446]: engine: Locale is 'en_US.UTF-8'
Aug 20 21:35:32 raspberrypi weewx[446]: engine: pid file is
/var/run/weewx.pid
Aug 20 21:35:32 raspberrypi weewx[330]: Starting weewx weather system:
weewx.
Aug 20 21:35:32 raspberrypi systemd[1]: Started LSB: weewx weather system.
Aug 20 21:35:32 raspberrypi weewx[469]: engine: Using configuration
file /etc/we
Aug 20 21:35:32 raspberrypi weewx[469]: engine: Loading station type
ObserverIP
Aug 20 21:35:33 raspberrypi weewx[469]: observerip: version is 0.6
Aug 20 21:35:33 raspberrypi weewx[469]: engine: Import of driver
failed: [Errno
Aug 20 21:35:33 raspberrypi weewx[469]: engine: Unable to load driver:
[Errno 10
Aug 20 21:35:33 raspberrypi weewx[469]: **** Exiting...
If I kill and restart Mosquitto and WeeWX (in this order), still gives
error, but will engage at sometime (and "luck").
Wondering if there is a Reboot sequence issue, and someone to advice
as to verify Mosquitto service ahead of WeeWX (if that matters).
Thanks,
Xant
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/37a4e471-f3e2-441a-8d9f-dce5a00ebaad%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/37a4e471-f3e2-441a-8d9f-dce5a00ebaad%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/fa8dbebb-3e3b-b837-32d5-0c3b7e0c672b%40gmail.com.