[weewx-user] Re: Super simple skin

2020-11-08 Thread Sven Täveby
Thx. Will check it out. /Sven söndag 8 november 2020 kl. 00:30:05 UTC+1 skrev robcr...@gmail.com: > Sven, if you're addressing me, I've got it posted at > > https://github.com/RobCranfill/Crandard > > Does that work for you? > /rob > > PS - I've gotten a little sidetracked from updating the co

Re: [weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread bell...@gmail.com
The [[[topic1]]], etc. are the different MQTT topics that you are publishing to. I think if you run MQTTSubscribe as a service, when it augments either the loop packet or archive record, it will over write any data that has been populated by the driver. But, I have not tested this behavior. rich

Re: [weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread rich T
Did you look through this chain: https://groups.google.com/g/weewx-user/c/opQq4UaOyxs/m/rIT484A1CwAJ On Sunday, November 8, 2020 at 1:02:48 PM UTC-5, Invisible Man wrote: > > Other idea: maybe I can just simply write a script that reads the data > from MQTT and push it to the weewx database (./

Re: [weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread Invisible Man
Other idea: maybe I can just simply write a script that reads the data from MQTT and push it to the weewx database (./archive/weewx.sdb) ? I'd write it in the "archive" table, with dateTime and "outTemp" value. And then, weewx wouldn't even actually see the data is not coming from my WMR200. I

Re: [weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread Invisible Man
>> - https://github.com/bellrichm/WeeWX-MQTTSubscribe >That takes data from mqtt and treats it like a sensor in weewx. Okay, so it's rather this one I need. >weewx has a concept of driver and service. I think you will have to >pehaps modify the WMR200 driver to behave as if temp is not there,

Re: [weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread Greg Troxel
Invisible Man writes: > The external temperature of my WMR200 is failing, and it's apparently > difficult to find a replacement. So, I'm using a temperature sensor I did > myself (based on a Wemo + DS18B20 sensor) which sends the temperature to a > MQTT broker (a Raspberry Pi). > > I've seen

[weewx-user] Get external temperature from MQTT + rest from WMR200

2020-11-08 Thread Invisible Man
Hi, The external temperature of my WMR200 is failing, and it's apparently difficult to find a replacement. So, I'm using a temperature sensor I did myself (based on a Wemo + DS18B20 sensor) which sends the temperature to a MQTT broker (a Raspberry Pi). I've seen at least 2 different projects t

Re: [weewx-user] CRC-error in weewx release

2020-11-08 Thread Luc Heijst
Tom, So far 7zip never gave problems with unzipping weewx .tar.gz files. Just installed winzip version 25 (evaluation version) and this program couldn't uncompress the 4.2.0 file at all. The following Win10 command (runned as administrator) worked without errors: tar -xvzf C:\Users\ljmhe\Downloa

Re: [weewx-user] python 3 and 2.7 weewx4 and 3.9

2020-11-08 Thread vigilance wx
thank you up and running now On Sunday, November 8, 2020 at 1:49:15 PM UTC tke...@gmail.com wrote: > Pretty simple. You're opening the file with mode 'ab', which means for > writing, appending to the file, and in binary mode. Then you try to read > it. Instead, open it in read mode: > > with o

[weewx-user] Re: Bresser 6in1

2020-11-08 Thread Peter Hurn
Thanks Bob, that worked. On Wednesday, 4 November 2020 at 18:38:30 UTC Bob Atchley wrote: > Hi Peter, > > I recently reinstalled weewx and the WS6in1 driver on a RaspberryPi 4 > (previously on a rPi 2) and hit the same problem > I solved it by installing the crcmod library via the apt command: >

Re: [weewx-user] unsupported operand type(s) for -: 'int' and 'NoneType'

2020-11-08 Thread Peter Hurn
Thanks Both, and thanks Bob for updating the driver, I'll test it now. On Saturday, 7 November 2020 at 21:19:40 UTC Bob Atchley wrote: > Yes ... spot on, missed that one ... a fix on the way > > Bob > > On Saturday, 7 November 2020 at 20:38:55 UTC tke...@gmail.com wrote: > >> Looks like the autho

Re: [weewx-user] CRC-error in weewx release

2020-11-08 Thread Tom Keffer
Probably an issue with 7zip. Why not just use an ordinary 'tar' command? *tar xvf weewx-4.2.0.tar.gz* -tk On Sun, Nov 8, 2020 at 4:50 AM Luc Heijst wrote: > Tom, Matthew, > File weewx.com/downloads/weewx-4.2.0.tar.gz got a 'CRC failed' error when > unpacked with 7zip. The release only contains

Re: [weewx-user] python 3 and 2.7 weewx4 and 3.9

2020-11-08 Thread Tom Keffer
Pretty simple. You're opening the file with mode 'ab', which means for writing, appending to the file, and in binary mode. Then you try to read it. Instead, open it in read mode: with open(self.filename, 'rb') as f: Incidentally, this is a good example of a 'try' clause being too broad. You're ca

Re: [weewx-user] python 3 and 2.7 weewx4 and 3.9

2020-11-08 Thread Graham Eddy
i don’t know if readlines reads from current filepos or if it rewinds first, but if the former then your readlines will return no lines and the seek is harmful, or if the latter the seek is redundant → either way get rid of it, then see if you have a read problem > On 8 Nov 2020, at 11:34 pm, v

[weewx-user] CRC-error in weewx release

2020-11-08 Thread Luc Heijst
Tom, Matthew, File weewx.com/downloads/weewx-4.2.0.tar.gz got a 'CRC failed' error when unpacked with 7zip. The release only contains the directory 'bin'. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop rec

[weewx-user] python 3 and 2.7 weewx4 and 3.9

2020-11-08 Thread vigilance wx
HI I have a service running under weewx 3,9 its working fine connected to a Davis vantage. On a second pi i have installed weewx 4.2 with view to upgrading the 3.9 pi to the latest weewx version the service i have on the weewx3.9 will not run under python 3 import syslog import weewx import os