Hi

Thanks for your answer, I'll try that.

I'm a little bit unsure about  the configuration and whether it's right.

On the rpi / weewx I have installed the weewx / mqtt extension to send data 
on port 1883.

On vps_host I have installed weewx as well as Belchertown. I'm not 
expecting to install weewx / mqtt here. This is what my weewx.conf looks 
like on the vps_host:

[[Belchertown]]
         HTML_ROOT = / var / www / html
         skin = Belchertown
         [[[Extras]]]
             belchertown_root_url = http: // My Server
             earthquake_enabled = 1
             forecast_enabled =
             mqtt_websockets_enabled = 1
             mqtt_websockets_host = xxx-xxx-xxx-xxx.vpsCloudServer
             mqtt_websockets_port = 9001
             mqtt_websockets_ssl = 0
             mqtt_websockets_topic = weather / loop
             disconnect_live_website_visitor = 1800000

My question is also which weewx driver to install on the vps_host. In 
principle, weewx should only receive data via port 1883 and not use any 
driver (Vantage, etc) or am I wrong on it

Gert

On Wednesday, February 26, 2020 at 2:11:10 PM UTC+1, Pat wrote:
>
> Belchertown should get data as soon as there is a dateTime in the MQTT 
> payload. Simulator should send this. What you have looks correct, but more 
> validating needs to take place. Use another client to connect to the MQTT 
> broker to validate you're seeing any data at all therethere. 
>
> Or run Belchertown in debug mode and check the Chrome logs to see what it 
> says. To run debug, add /?debug=true to the end of your site, like 
> https://belchertownweather.com/?debug=true - then open the Chrome console 
> by going to Settings > More Tools > Developer Tools and open the Console 
> tab. Almost everything the skin is doing is viewable in this debug mode, 
> from chart generation to any and all MQTT payload data it's seeing.
>
>
>
> On Wednesday, February 26, 2020 at 3:56:02 AM UTC-5, Gert Andersen wrote:
>>
>> Hi there
>> Is this scenario possible.
>>
>> Currently I have an Ecowitt GW1000 which sends data to a VPS Server every 
>> 16 seconds with Weewx Interceptor, MQTT and Belchertowner installed on the 
>> VPS Server. This works fine.
>>
>> I also have a Davis Vantage Pro2, which is connected to a Meetobridge via 
>> Davis USB logger. This also works fine.
>>
>> Here's my new scenario:
>> Davis USB logger connected to rpi/weewx. On rpi/weewx I want to install 
>> mqtt with the following content:
>>
>> [[MQTT]]
>>         server_url = mqtt: // user: password @ vps_host_name: 1883 /
>>         topic = weather
>>         binding = archive, loop
>>         aggregation = aggregate
>>         log_success = False
>>         log_failure = True
>>
>> On <vps-host_name> I have installed Mosquitto which works fine with 
>> upload via Interceptor. I want this to be able to upload every 2 seconds.
>>
>> I have not yet connected Davis to the rpi / weewx. but tried the 
>> configuration with Simulator and the above MQTT configuration. Belchertown 
>> on <vps_host_name> connects fine to MQTT, but is awaiting data. Is it 
>> because Simulator does not send data via MQTT or because my configuration 
>> is wrong.
>>
>> Gert
>>
>

-- 
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/88d7e7e7-e4f9-41d6-8dd0-6a6dc05ab112%40googlegroups.com.

Reply via email to