[weewx-user] Re: Limit MQTT topics

2020-01-21 Thread gjr80
Hi,

I presume you are referring to the MQTT uploader in the wiki 
? If so have you specified an 
[[[inputs]]] stanza under [StdRESTful] [[MQTT]] with the WeeWX fields you 
wish to publish? I suspect you also need to include the config item 
obs_to_upload = none as well, something like this (untested):

[StdRESTful]
[[MQTT]]

obs_to_upload = none
[[[inputs]]]
outTemp
windSpeed

The [[[inputs]]] stanza is covered in the MQTT instructions in the wiki 
entry, but the need for obs_to_upload is not so clear.

Gary

On Wednesday, 22 January 2020 12:29:14 UTC+10, CKnutson wrote:
>
> Hi, I am wondering if there is a way to define which topics from WeeWx 
> tthat is published in MQTT.  There are so many topics that I do not uses.  
> Now I have binding=loop.
>
> Thanks,
> Chris
>

-- 
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/70c62df9-4f55-4677-9c4b-36cbe9344f57%40googlegroups.com.


Re: [weewx-user] Re: Belchertown MQTT not generating real time data...

2020-01-21 Thread G Hammer
When I go to the site you gave zeebytes.org, I actually get 
crabapple.dickens.com
Redirects are possible, but I have no idea where to start since I haven't 
configured any for my domain.

That is where MQTT is attempting to connect as well.

mqttws31.min.js:36 WebSocket connection to 
'wss://crabapple.dickens.com:9001/mqtt' failed: Error in connection 
establishment: net::ERR_CONNECTION_TIMED_OUT



-- 
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/2df8eb6d-2f96-4488-9921-0613114f1f19%40googlegroups.com.


[weewx-user] Re: Kestrel 4500 NV weather meter interface for Raspberry Pi

2020-01-21 Thread Scott Irwin
I wanted to follow up on this thead to see if anyone could help point me in 
the right direction.

I figured out how to interface with the Kestrel meter via bluetooth on my 
raspberry pi4. I ended up configuring a bluetooth serial port and using an 
app called minicom. See here for directions:

https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=262406&p=1599144#p1599144

Using the communication protocols provided by the Kestrel Weather Meter 
manufacturesee 
here: 
https://drive.google.com/file/d/0BzTEsrIDO36ua3ZMWGx4a09mV3ptNE5oT2RsNW9maDU3aFFn/view?usp=sharing


.I was able to communicate with the device and return data sets. For 
example, I can return the following ASCII dataset:

DT,MG,TR,WS,CW,HW,TP,WC,RH,HI,DP,WB,BP,AL,DA
s,Mag,True,mph,mph,mph,▒F,▒F,%,▒F,▒F,▒F,mb,ft,ft
631207800,---,---,0.0,0.0,0.0,70.4,70.3,62.8,70.3,57.1,61.9,1017.7,-133,822
631209600,---,---,0.0,0.0,0.0,70.6,70.7,62.8,70.9,57.3,62.2,1017.4,-128,848
631211400,---,---,0.0,0.0,0.0,70.6,70.5,62.9,70.5,57.3,62.2,1017.7,-135,831
631213200,---,---,0.0,0.0,0.0,70.0,70.0,63.4,70.0,57.0,61.9,1017.9,-138,792
631215000,---,---,0.0,0.0,0.0,69.4,69.4,59.3,68.9,54.6,60.3,1018.0,-141,730
631216800,---,---,0.0,0.0,0.0,71.1,71.1,67.1,71.6,59.6,63.7,1018.1,-143,875

The first column is a time stamp, the other columns are wind speed, wind 
direction, temp. etc..

I can obtain this info by sending the Kestrel device a command.

QUESTION: What do I need to do to get weewx to send the command and 
collect/record the data it receives?

Do I need to build some sort of interface or driver? Is that what the link 
above to the ventus weather station is doing? Do I need to learn python? 
I'm OK with a conceptual answer and I'm willing to google and learn.

Thanks for any help you can provide.

Scott



On Sunday, January 19, 2020 at 9:31:18 AM UTC-8, rich T wrote:
>
> Here is a link for a Bluetooth enabled WX station.  It might provide some 
> insight. https://github.com/daduke/ventusw820
>
> On Sunday, January 19, 2020 at 10:58:05 AM UTC-5, Scott Irwin wrote:
>>
>> I am a weather fanatic and new to the raspberry pi world. I recently 
>> figured out how to create a weather fax receiver out of a pi4 and a 
>> software defined radio. It works great. 
>> https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=260690&p=1594172&hilit=weather+fax#p1594172
>>
>> Now I want to use the raspberry pi as a weather station. 
>>
>> A quick google shows there are tons of examples of how to do this. Some 
>> options involving connecting to an external arduino weather station you 
>> build yourself with sensors. Other examples include installing sensors to 
>> the pi board itself.
>>
>> I want to connect my Kestrel 4500 NV Pocket Weather Tracker to my 
>> Raspberry Pi using the bluetooth interface. There is software that exists 
>> in the Windows world that allows me to do this. I cannot find any reference 
>> to being able to pull this off through my Raspberry Pi.
>>
>> I don't need to post information to Weather Underground or other 3rd 
>> party apps. I would like to record data collected on kestrel as well as 
>> view real-time data being collected through some type of GUI on the Pi. 
>>
>> I don't know much about weewx other than the Kestrel device is not listed 
>> as a supported device. Is there an easy hack that would allow me to pull 
>> data from the Kestrel onto the Raspberry Pi?
>>
>> Any ideas? Thanks for any help you can provide.
>>
>> Scott
>>
>

-- 
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/56396f68-acc6-4f10-a07d-2e6668a730ce%40googlegroups.com.


[weewx-user] Limit MQTT topics

2020-01-21 Thread CKnutson
Hi, I am wondering if there is a way to define which topics from WeeWx 
tthat is published in MQTT.  There are so many topics that I do not uses.  
Now I have binding=loop.

Thanks,
Chris

-- 
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/139b3470-a859-4e16-a616-e041e58d122e%40googlegroups.com.


Re: [weewx-user] Re: WxForum down?

2020-01-21 Thread Thomas Keffer
Wow, that's a long time for a popular site to be down!

On Tue, Jan 21, 2020 at 4:40 PM galfert  wrote:

> Looks like January 25th for transfer completion. But it may take up to 24
> hours after than for DNS to propagate.
>
> --
> 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/a4edcccf-12c3-4d41-9eee-e8ba135c6ee8%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/CAPq0zEAsb%3D6KF7JcOA78n7OrzYotN%2Bxkk_fHQjn22tUwRxYqGw%40mail.gmail.com.


[weewx-user] Re: WxForum down?

2020-01-21 Thread galfert
Looks like January 25th for transfer completion. But it may take up to 24 hours 
after than for DNS to propagate. 

-- 
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/a4edcccf-12c3-4d41-9eee-e8ba135c6ee8%40googlegroups.com.


Re: [weewx-user] Which weather station would you buy ?

2020-01-21 Thread PJO
Oops. Sorry about that!

wxforum.net is down at the moment anyway. Looks like they had some hosting 
problems and are moving.

-- 
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/710dba57-9d64-4dbf-80a2-237cfb5c61a0%40googlegroups.com.


[weewx-user] Re: Connection problem with WMR89

2020-01-21 Thread John Smith
I used to have problems with different usb/serial ports jumping about on 
boot up. I solved this by using the symlinks in /dev/serial/by-id/

-- 
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/c9ce2b9f-f326-4673-ad1a-7793902c7789%40googlegroups.com.


Re: [weewx-user] Connection problem with WMR89

2020-01-21 Thread Thomas Keffer
I'm not familiar with this driver (it's not part of WeeWX), but if it
behaves like other serial drivers, it's possible that the operating system
changed ports on you. That's pretty common when a device experiences a
power failure. You need to make sure that WMR89 is on the port you think it
is on.

Try stopping WeeWX, then unplugging the WMR89, then plugging it back in.
Run the command 'dmesg'. It will tell you which port the kernel used when
mounting the device. That's the one you want.

-tk

On Tue, Jan 21, 2020 at 9:33 AM willefg  wrote:

> Hi,
>
> I had Weewx 3.9.2 running on a Raspberrypi for some time without any
> issues (that I couldn't resolve). Until now, that is. After a power outage
> the WMR89 is no longer recognized. Weewx Status command reports following
>
> ● weewx.service - LSB: weewx weather system
>Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
>Active: active (exited) since Tue 2020-01-21 17:58:59 CET; 28min ago
>  Docs: man:systemd-sysv-generator(8)
>   Process: 574 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/
> SUCCESS)
>   Process: 629 ExecStart=/etc/init.d/weewx start (code=exited, status=0/
> SUCCESS)
>CGroup: /system.slice/weewx.service
>
> jan 21 17:58:59 raspberrypi systemd[1]: Started LSB: weewx weather system.
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Using configuration file /
> etc/weewx/weewx.conf
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Debug is 3
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Initializing engine
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Loading station type
> WMR89 (weewx.drivers.wmr89)
> jan 21 17:58:59 raspberrypi weewx[644]: wmr89: driver version is 0.1.1
> jan 21 17:58:59 raspberrypi weewx[644]: wmr89: sensor map is {
> 'yesterdayRain': 'rain_yesterday', 'extraTemp8': 'temperature_8',
> 'outHumidity': 'humidity_out', 'extraHum
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Import of driver failed:
> [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map
> bestaat niet: '/dev/ttyUSB
> jan 21 17:58:59 raspberrypi weewx[644]: engine: Unable to load driver: [
> Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map
> bestaat niet: '/dev/ttyUSB0'
> jan 21 17:58:59 raspberrypi weewx[644]:   Exiting...
>
> I only have the WMR89 connected to the RPi, no other USB devices.
>
> Please point me in the right direction.
>
> Thanks.
>
> --
> 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/905e9569-2ccf-47fb-a2f2-c8e041c934eb%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/CAPq0zEBMQ1BuiZkOvNJfdEdOrJrT8HcFtgve_wT1booWh23yKA%40mail.gmail.com.


[weewx-user] Re: WxForum down?

2020-01-21 Thread galfert
The wxforum.net domain name is being transferred from one registrar to 
another. It is down temporarily. I will be back withing a few days.


On Tuesday, January 21, 2020 at 11:34:18 AM UTC-5, Paul Grunwald wrote:
>
>
> me (pgrunwald change) 
> 9:33 AM (less than a minute ago)
> https://notopening.com/site/wxforum.net
>
> Anyone know what is going on?
>
>

-- 
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/3222354c-8c76-4697-8340-e480abf454b3%40googlegroups.com.


[weewx-user] Connection problem with WMR89

2020-01-21 Thread willefg
Hi,

I had Weewx 3.9.2 running on a Raspberrypi for some time without any issues 
(that I couldn't resolve). Until now, that is. After a power outage the 
WMR89 is no longer recognized. Weewx Status command reports following

● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2020-01-21 17:58:59 CET; 28min ago
 Docs: man:systemd-sysv-generator(8)
  Process: 574 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/
SUCCESS)
  Process: 629 ExecStart=/etc/init.d/weewx start (code=exited, status=0/
SUCCESS)
   CGroup: /system.slice/weewx.service

jan 21 17:58:59 raspberrypi systemd[1]: Started LSB: weewx weather system.
jan 21 17:58:59 raspberrypi weewx[644]: engine: Using configuration file /
etc/weewx/weewx.conf
jan 21 17:58:59 raspberrypi weewx[644]: engine: Debug is 3
jan 21 17:58:59 raspberrypi weewx[644]: engine: Initializing engine
jan 21 17:58:59 raspberrypi weewx[644]: engine: Loading station type WMR89 (
weewx.drivers.wmr89)
jan 21 17:58:59 raspberrypi weewx[644]: wmr89: driver version is 0.1.1
jan 21 17:58:59 raspberrypi weewx[644]: wmr89: sensor map is {
'yesterdayRain': 'rain_yesterday', 'extraTemp8': 'temperature_8', 
'outHumidity': 'humidity_out', 'extraHum
jan 21 17:58:59 raspberrypi weewx[644]: engine: Import of driver failed: 
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map 
bestaat niet: '/dev/ttyUSB
jan 21 17:58:59 raspberrypi weewx[644]: engine: Unable to load driver: [
Errno 2] could not open port /dev/ttyUSB0: [Errno 2] Bestand of map bestaat 
niet: '/dev/ttyUSB0'
jan 21 17:58:59 raspberrypi weewx[644]:   Exiting...

I only have the WMR89 connected to the RPi, no other USB devices.

Please point me in the right direction.

Thanks.

-- 
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/905e9569-2ccf-47fb-a2f2-c8e041c934eb%40googlegroups.com.


[weewx-user] WxForum down?

2020-01-21 Thread Paul Grunwald

me (pgrunwald change) 
9:33 AM (less than a minute ago)
https://notopening.com/site/wxforum.net

Anyone know what is going on?

-- 
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/e4231e8b-79a8-45e1-a941-8c956cc2c0c4%40googlegroups.com.


Re: [weewx-user] Re: How can the ftp transfer be influenced?

2020-01-21 Thread Ryan Kramer
if at all possible, use SSH + rsync.  Far better way of transferring and 
much more reliable.

-- 
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/11b172dd-d33f-41ef-bee4-c6e436c77860%40googlegroups.com.


Re: [weewx-user] Re: Belchertown MQTT not generating real time data...

2020-01-21 Thread Ryan Kramer
Looking at your site, you have something wrong in your config yet.   Per 
the includes, you have crabapple.dickens.com as your MQTT server.  Doesn't 
look like that is responding to anything.


view-source:https://crabapple.dickens.com/js/belchertown.js?1579622117

client = new Paho.MQTT.Client("crabapple.dickens.com", 9001, mqttclient);



-- 
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/a3017db8-44cc-40db-a983-84d92cce6430%40googlegroups.com.


Re: [weewx-user] my weewx high records error value need help how to edit

2020-01-21 Thread Thomas Keffer
See the Wiki article *Cleaning up old 'bad' data
* and see
if that helps.


On Tue, Jan 21, 2020 at 6:43 AM Mike Harold Chan 
wrote:

> hey Guys,
>
>
> I noticed my High recorded barometric pressure record on my weewx is
> wrong, I need help how to edit these values in weewx and how to replace it
> with a correct value it should be 1018 hpa, not 1054 hpa.
>
>
> Thanks and Regards
>
> -Mike-
>
> --
> 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/073c3958-5a92-4c5d-915d-7f82da2bd490%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/CAPq0zEAcTwJuhXnLuy%3DVxpTqRf6kEG%3D8JV%2BTAbX12y4-z%2B915Q%40mail.gmail.com.


[weewx-user] my weewx high records error value need help how to edit

2020-01-21 Thread Mike Harold Chan
hey Guys,


I noticed my High recorded barometric pressure record on my weewx is wrong, 
I need help how to edit these values in weewx and how to replace it with a 
correct value it should be 1018 hpa, not 1054 hpa.


Thanks and Regards

-Mike-

-- 
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/073c3958-5a92-4c5d-915d-7f82da2bd490%40googlegroups.com.


Re: [weewx-user] Re: How can the ftp transfer be influenced?

2020-01-21 Thread Thomas Keffer
The FTP uploader includes an algorithm to avoid unnecessary uploads. If the
timestamp on the file has not changes since the last upload, it does not
upload the file.

I suspect that your cron job is not "refreshing" the timestamp.

-tk

On Tue, Jan 21, 2020 at 3:37 AM Geni  wrote:

> This is what I was looking for, unfortunately this does not work.
> At Jan 21 12:19:01 a new version was fetched, but it was not copied to Jan
> 21 12:20:26
>
>
> Am Montag, 20. Januar 2020 19:32:27 UTC+1 schrieb rich T:
>>
>> Try setting CopyGenerator to copy the file every time you upload.
>>
>> In the skin.conf file:
>>
>> [CopyGenerator]
>>
>> # This section is used by the generator CopyGenerator
>> # List of files to be copied only the first time the generator runs
>> copy_once = favicon.ico, images/*, json/index.html, js/index.html,
>> js/responsive-menu.js, robots.txt
>>
>> # List of files to be copied each time the generator runs
>> copy_always = *.css, status.jpg
>>
>>
>>
>> On Monday, January 20, 2020 at 12:46:21 PM UTC-5, Geni wrote:
>>
>>> In my opinion there are no errors in the log.
>>>
>>> It's about the image uwz.png, this is fetched every 10 minutes around
>>> X9.
>>> But in the attached log it was only transferred once via ftp.
>>>
>>>
>>>
>>> Am Montag, 20. Januar 2020 15:43:16 UTC+1 schrieb Andrew Milner:

 have you run with debug turned on?

 the 'fault' could be something happening at the other end - ie weewx
 may be transferring correctly and your ISP may be doing something odd.



 On Monday, 20 January 2020 16:05:45 UTC+2, Geni wrote:
>
> No error is entered in syslog
>
> Am Montag, 20. Januar 2020 14:22:01 UTC+1 schrieb Andrew Milner:
>>
>> what error messages are in the log for the times when ftp appears to
>> be failing??
>>
>> On Monday, 20 January 2020 14:38:29 UTC+2, Geni wrote:
>>>
>>> A cronjob fetches every 10 min a status.jpg of an external website
>>> and stores it in the HTML_ROOT/meteo.
>>> Target the file in this folder should always be copied with the ftp
>>> to the configured server and its path.
>>> This almost always works now but sometimes nothing is copied for 1
>>> or 2 hours and suddenly it works again.
>>>
>>> Can or must I make an entry in the weewx.conf to make this work more
>>> reliable?
>>>
>>> Geni
>>>
>> --
> 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/73ad19b6-ca6c-408a-85d8-a9396b471e76%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/CAPq0zEBfQpvwmsWApZJrv1r7iZfKNhrEu54_%2BbNA3w%3Dvh3n3yA%40mail.gmail.com.


Re: [weewx-user] Re: Belchertown MQTT not generating real time data...

2020-01-21 Thread Gordon Dickens

  
  
Hi Gary,

Thanks very much for your reply!  As you suggested, I set the host
name to be my FQDN,"zeebytes.org", instead of "localhost". I also
added a non-ssl url with http://zeebytes.org (as opposed to
https://zeebytes.org) and I set the mqtt_websockets_topic =
"weather/loop", however, it still does not do any real time
updating.  So, here are my config files:

weewx.conf:

[[MQTT]]
        server_url =
mqtt://:@localhost:1883/
        topic = weather
        unit_system = US
        binding = archive, loop
        aggregation = aggregate

Belchertown skin.conf:

# MQTT Websockets defaults
    mqtt_websockets_enabled = 1
    mqtt_websockets_host = "zeebytes.org"
    mqtt_websockets_port = 9001
    mqtt_websockets_ssl = 0
    mqtt_websockets_topic = "weather/loop"
    disconnect_live_website_visitor = 180

You may now view the site at: http://zeebytes.org

Does anyone have any other ideas as to what I am doing wrong?

Thanks,

Gordon




On 1/18/20 12:55 PM, G Hammer wrote:


  
  I also had to change from mqtt_websockets_host =
"localhost" to mqtt_websockets_host = "FQDN" with FQDN being the
full public name of the server.

On Saturday, January 18, 2020 at 8:48:36 AM UTC-5, Gordon
Dickens wrote:

  
Hello everybody,


I have the Belchertown skin up and running nicely and
  so I decided to enable MQTT.  I successfully installed
  mosquitto and endeavored to enable MTTQ with
  Belchertown/weewx.  However, Belchertown/weewx is not
  doing realtime updates as it is supposed to and displays
  either "Connecting to weather station real time data"
  (with firefox) or "Failed connecting to the weather
  station. Please try again later!" (with chrome, chromium
  or Konqueror) according to which browser I am using.
  
  I am confident that mosquitto is working properly since I
  am able to manually receive mosquitto output with the
  command, "mosquitto_sub -h localhost -t weather/#", which
  generates lots of weather data every two seconds. Also, my
  logs show MQTT posting every two seconds as follows:
  
  Jan 17 17:46:27 zeebytes.org
  weewx[22287]: restx: MQTT: Published record 2020-01-17
  17:46:27 EST (1579301187)
  
  Here is my MQTT setup in weewx.conf:
  
      [[MQTT]]
          server_url = mqtt://:@localhost:1883/
          topic = weather
          unit_system = US
          binding = archive, loop
          aggregation = aggregate
  
  Here is my MQTT setup in the Belchertown skin.conf:
  
  # MQTT Websockets defaults
      mqtt_websockets_enabled = 1
      mqtt_websockets_host = "localhost"
      mqtt_websockets_port = 9001
      mqtt_websockets_ssl = 0
      mqtt_websockets_topic = "weather/#"
      disconnect_live_website_visitor = 180
   
  I am running Debian 10 and apache2.
  
  You may view the site at https://zeebytes.org
  
  I hope that someone can tell me what I am doing wrong!
  
  Thanks,
  
  Gordon
  
  
  
  
  
  
  
  

  

  
  -- 
  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/fbc8ce3d-bfb6-4dd0-9725-c23dfa5c66b4%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/efcc8228-b2ad-0b50-ada7-7f2a08a3c25c%40gmail.com.


[weewx-user] Re: How can the ftp transfer be influenced?

2020-01-21 Thread Geni
This is what I was looking for, unfortunately this does not work.
At Jan 21 12:19:01 a new version was fetched, but it was not copied to Jan 
21 12:20:26


Am Montag, 20. Januar 2020 19:32:27 UTC+1 schrieb rich T:
>
> Try setting CopyGenerator to copy the file every time you upload.
>
> In the skin.conf file:
>
> [CopyGenerator]
> 
> # This section is used by the generator CopyGenerator
> # List of files to be copied only the first time the generator runs
> copy_once = favicon.ico, images/*, json/index.html, js/index.html, 
> js/responsive-menu.js, robots.txt
> 
> # List of files to be copied each time the generator runs
> copy_always = *.css, status.jpg
>
>
>
> On Monday, January 20, 2020 at 12:46:21 PM UTC-5, Geni wrote:
>
>> In my opinion there are no errors in the log.
>>
>> It's about the image uwz.png, this is fetched every 10 minutes around X9. 
>> But in the attached log it was only transferred once via ftp.
>>
>>
>>
>> Am Montag, 20. Januar 2020 15:43:16 UTC+1 schrieb Andrew Milner:
>>>
>>> have you run with debug turned on?
>>>
>>> the 'fault' could be something happening at the other end - ie weewx may 
>>> be transferring correctly and your ISP may be doing something odd.
>>>
>>>
>>>
>>> On Monday, 20 January 2020 16:05:45 UTC+2, Geni wrote:

 No error is entered in syslog

 Am Montag, 20. Januar 2020 14:22:01 UTC+1 schrieb Andrew Milner:
>
> what error messages are in the log for the times when ftp appears to 
> be failing??
>
> On Monday, 20 January 2020 14:38:29 UTC+2, Geni wrote:
>>
>> A cronjob fetches every 10 min a status.jpg of an external website 
>> and stores it in the HTML_ROOT/meteo.
>> Target the file in this folder should always be copied with the ftp 
>> to the configured server and its path.
>> This almost always works now but sometimes nothing is copied for 1 or 
>> 2 hours and suddenly it works again.
>>
>> Can or must I make an entry in the weewx.conf to make this work more 
>> reliable?
>>
>> Geni
>>
>

-- 
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/73ad19b6-ca6c-408a-85d8-a9396b471e76%40googlegroups.com.
Jan 21 12:19:01 Wetter-Raspi CRON[25575]: (pi) CMD (sudo wget -q -N 
http://alarm.meteocentrale.ch/images/map/schweiz_index.png -O 
/home/pi/NAS/www/meteo/uwz.png)
Jan 21 12:20:16 Wetter-Raspi weewx[25458]: manager: Added record 2020-01-21 
12:20:00 CET (1579605600) to database 'weewx'
Jan 21 12:20:16 Wetter-Raspi weewx[25458]: manager: Added record 2020-01-21 
12:20:00 CET (1579605600) to daily summary in 'weewx'
Jan 21 12:20:16 Wetter-Raspi weewx[25458]: reportengine: Running reports for 
latest time in the database.
Jan 21 12:20:16 Wetter-Raspi weewx[25458]: vantage: Requesting 200 LOOP packets.
Jan 21 12:20:16 Wetter-Raspi weewx[25458]: reportengine: Running report 
'SeasonsReport'
Jan 21 12:20:17 Wetter-Raspi weewx[25458]: reportengine: Found configuration 
file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jan 21 12:20:17 Wetter-Raspi weewx[25458]: vantage: Gentle wake up of console 
successful
Jan 21 12:20:17 Wetter-Raspi weewx[25458]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jan 21 12:20:17 Wetter-Raspi weewx[25458]: manager: Daily summary version is 2.0
Jan 21 12:20:23 Wetter-Raspi weewx[25458]: manager: Daily summary version is 2.0
Jan 21 12:20:24 Wetter-Raspi weewx[25458]: reportengine: Running report 
'SmartphoneReport'
Jan 21 12:20:24 Wetter-Raspi weewx[25458]: reportengine: Found configuration 
file /etc/weewx/skins/Smartphone/skin.conf for report 'SmartphoneReport'
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: manager: Daily summary version is 2.0
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: manager: Daily summary version is 2.0
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: reportengine: Report 'MobileReport' 
not enabled. Skipping.
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: reportengine: Report 
'StandardReport' not enabled. Skipping.
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: reportengine: Running report 'FTP'
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: reportengine: Found configuration 
file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Jan 21 12:20:25 Wetter-Raspi weewx[25458]: ftpupload: Att