[weewx-user] Re: Tried installation using Raspbian Bullseye on an RPi4

2022-06-07 Thread gjr80
Actually, exactly how did you install WeeWX? I'm seeing /home/weewx which 
is suggestive of a setup.py install but I'm also seeing that weewxd is in 
/home/weewx/weewx-4.8.0/bin - that's non-standard and I'm not surprised 
WeeWX is having problems.

For a first time user I would suggest either a package install 
 or following the setup.py install 
 to the letter. Also, if you were 
downloading and unpacking the .tar.gz to /home/weewx it might be an idea to 
use a different location (like /var/tmp), that way you won't get tangled up 
between WeeWX being installed in /home/weewx and the untarred files being 
in /home/weewx/weewx-4.8.0 - I guarantee you will eventually edit/run the 
wrong file.

Gary

-- 
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/9a49c5fc-0650-447c-bf1a-414f8528604cn%40googlegroups.com.


[weewx-user] Re: Tried installation using Raspbian Bullseye on an RPi4

2022-06-07 Thread vince
This one comes up a lot it seems.  You either don't have a weewx.conf or 
yours isn't configured with a station type.

Are you following the setup.py install example in the quickstart guide (
(link)  perhaps ?

You can also try to add "--config=/some/path/to/your/weewx.conf" to your 
command above if you have weewx.conf installed someplace unusual...

On Tuesday, June 7, 2022 at 9:36:19 PM UTC-7 mup...@gmail.com wrote:

> Getting the following error when running for the first time:
> weewx@weewx-RPi:~/weewx-4.8.0 $ sudo ./bin/weewxd
> Traceback (most recent call last):
>   File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 248, in 
> main()
>   File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 147, in main
> engine = weewx.engine.StdEngine(config_dict)
>   File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 81, in __init__
> self.setupStation(config_dict)
>   File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 103, in 
> setupStation
> driver = config_dict[station_type]['driver']
>   File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
> __getitem__
> val = dict.__getitem__(self, key)
> KeyError: 'unspecified'
>
> I've selected the Vantage driver.  Any thoughts on what is going on?  This 
> is a fresh install.
>
>

-- 
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/ba695fc7-785f-4aad-9ba7-45f096821fe7n%40googlegroups.com.


[weewx-user] Tried installation using Raspbian Bullseye on an RPi4

2022-06-07 Thread mup...@gmail.com
Getting the following error when running for the first time:
weewx@weewx-RPi:~/weewx-4.8.0 $ sudo ./bin/weewxd
Traceback (most recent call last):
  File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 248, in 
main()
  File "/home/weewx/weewx-4.8.0/./bin/weewxd", line 147, in main
engine = weewx.engine.StdEngine(config_dict)
  File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 81, in __init__
self.setupStation(config_dict)
  File "/home/weewx/weewx-4.8.0/bin/weewx/engine.py", line 103, in 
setupStation
driver = config_dict[station_type]['driver']
  File "/usr/lib/python3/dist-packages/configobj.py", line 554, in 
__getitem__
val = dict.__getitem__(self, key)
KeyError: 'unspecified'

I've selected the Vantage driver.  Any thoughts on what is going on?  This 
is a fresh install.

-- 
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/b653c689-75ee-4448-babd-7a4aca1f62ben%40googlegroups.com.


Re: [weewx-user] Re: Adding lightening sensor to weewx

2022-06-07 Thread gjr80
Dave,

Thanks, the log is great resource for troubleshooting; if you include the 
WeeWX startup portion of the log it provides detail on how WeeWX is 
configured and if you have debug set high enough you get a good picture of 
what is going on. The log is the first place to look when things don't work.

It looks like the SDR driver is not being fed any data from rtl_433 that 
contains lightning related data. Your sensor map maps fields from 
AcuriteAtlasPacket packets (which appears to be correct) and correctly sets 
up lightning_strike_count as a delta:

Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: sensor map is 
{'outTemp': 'temperature.0010.AcuriteAtlasPacket', 'outHumidity': 
'humidity.0010.AcuriteAtlasPacket', 'windSpeed': 
'wind_speed.0010.AcuriteAtlasPacket', 'windDir': 
'wind_dir.0010.AcuriteAtlasPacket', 'UV': 'uv.0010.AcuriteAtlasPacket', 
'rain_total': 'rain_total.0010.AcuriteAtlasPacket', 'radiation': 
'lux.0010.AcuriteAtlasPacket', 'outTempBatteryStatus': 
'battery.0010.AcuriteAtlasPacket', 'lightning_distance': 
'strike_distance.0010.AcuriteAtlasPacket', 'lightning_strike_count': 
'strike_count.0010.AcuriteAtlasPacket', 'luminosity': 
'lux.0010.AcuriteAtlasPacket'}
Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: deltas is {'rain': 
'rain_total', 'lightning_strike_count': 'lightning_strike_count'}

but according to the log SDR is only seeing AcuriteTowerPacketV2 packets 
from rtl_433:

Jun  7 16:15:23 raspberrypi weewx[25278] INFO user.sdr: unmapped: ['{"time" 
: "2022-06-07 22:15:20", "model" : "Acurite-Tower", "id" : 9794, "channel" 
: "A", "battery_ok" : 1, "temperature_C" : 17.300, "humidity" : 48, "mic" : 
"CHECKSUM"}\n', '{"time" : "2022-06-07 22:15:20", "model" : 
"Acurite-Tower", "id" : 9794, "channel" : "A", "battery_ok" : 1, 
"temperature_C" : 17.300, "humidity" : 48, "mic" : "CHECKSUM"}\n'] 
({'dateTime': 1654640120, 'usUnits': 16, 
'protocol.2642.AcuriteTowerPacketV2': None, 
'model.2642.AcuriteTowerPacketV2': 'Acurite-Tower', 
'sensor_id.2642.AcuriteTowerPacketV2': '', 
'channel.2642.AcuriteTowerPacketV2': 'A', 
'temperature.2642.AcuriteTowerPacketV2': 17.3, 
'humidity.2642.AcuriteTowerPacketV2': 48.0, 
'battery.2642.AcuriteTowerPacketV2': 1, 'mod.2642.AcuriteTowerPacketV2': 
None, 'freq.2642.AcuriteTowerPacketV2': None, 
'rssi.2642.AcuriteTowerPacketV2': None, 'snr.2642.AcuriteTowerPacketV2': 
None, 'noise.2642.AcuriteTowerPacketV2': None})
Jun  7 16:15:23 raspberrypi weewx[25278] INFO user.sdr: unmapped: ['{"time" 
: "2022-06-07 22:15:20", "model" : "Acurite-Tower", "id" : 9794, "channel" 
: "A", "battery_ok" : 1, "temperature_C" : 17.300, "humidity" : 48, "mic" : 
"CHECKSUM"}\n'] ({'dateTime': 1654640120, 'usUnits': 16, 
'protocol.2642.AcuriteTowerPacketV2': None, 
'model.2642.AcuriteTowerPacketV2': 'Acurite-Tower', 
'sensor_id.2642.AcuriteTowerPacketV2': '', 
'channel.2642.AcuriteTowerPacketV2': 'A', 
'temperature.2642.AcuriteTowerPacketV2': 17.3, 
'humidity.2642.AcuriteTowerPacketV2': 48.0, 
'battery.2642.AcuriteTowerPacketV2': 1, 'mod.2642.AcuriteTowerPacketV2': 
None, 'freq.2642.AcuriteTowerPacketV2': None, 
'rssi.2642.AcuriteTowerPacketV2': None, 'snr.2642.AcuriteTowerPacketV2': 
None, 'noise.2642.AcuriteTowerPacketV2': None})
Jun  7 16:15:23 raspberrypi weewx[25278] INFO user.sdr: unmapped: [] 
({'dateTime': 1654640120, 'usUnits': 16, 
'protocol.2642.AcuriteTowerPacketV2': None, 
'model.2642.AcuriteTowerPacketV2': 'Acurite-Tower', 
'sensor_id.2642.AcuriteTowerPacketV2': '', 
'channel.2642.AcuriteTowerPacketV2': 'A', 
'temperature.2642.AcuriteTowerPacketV2': 17.3, 
'humidity.2642.AcuriteTowerPacketV2': 48.0, 
'battery.2642.AcuriteTowerPacketV2': 1, 'mod.2642.AcuriteTowerPacketV2': 
None, 'freq.2642.AcuriteTowerPacketV2': None, 
'rssi.2642.AcuriteTowerPacketV2': None, 'snr.2642.AcuriteTowerPacketV2': 
None, 'noise.2642.AcuriteTowerPacketV2': None})

I would take a step back and work through the *How to diagnose problems* 
section of the SDR readme . 
Start by running rtl_433 directly to see what packets it is picking up. If 
rtl_433 is not picking up any Acurite Atlas packets then SDR has no chance. 
I'm not an Acurite user but looking at some other threads on Acurite Atlas 
and SDR the Atlas seems to emit packets containing lightning data roughly 
every 15 seconds. By all means post the rtl_433 output if you wish.

Gary
On Wednesday, 8 June 2022 at 08:19:27 UTC+10 dave.sp...@gmail.com wrote:

> Gary thanks for the reply. Sorry I didn’t provide enough data. So here it 
> what I am running. My driver is SDR. I have verified that data is being 
> received and stored into the database, but what I am not getting is any 
> type of graph with the distance and strike counts on the web site. That is 
> what I need help with. How do I make that show up?
>
>  
>
> I have included a log output
>
>  
>
> Thanks
>
> Dave
>
>  
>
> *From:* weewx...@googlegroups.com  *On Behalf 
> Of *gjr80
> *Sent:* Monday, 

RE: [weewx-user] Re: Adding lightening sensor to weewx

2022-06-07 Thread dave.spicer2012
Gary thanks for the reply. Sorry I didn’t provide enough data. So here it what 
I am running. My driver is SDR. I have verified that data is being received and 
stored into the database, but what I am not getting is any type of graph with 
the distance and strike counts on the web site. That is what I need help with. 
How do I make that show up?

 

I have included a log output

 

Thanks

Dave

 

From: weewx-user@googlegroups.com  On Behalf Of 
gjr80
Sent: Monday, June 6, 2022 7:14 PM
To: weewx-user 
Subject: [weewx-user] Re: Adding lightening sensor to weewx

 

Hi,

 

Going to need a little more info. What driver are you using? SDR? If so what 
does your weewx.conf [SDR] stanza contain? Again assuming SDR, have you run the 
driver directly as per the SDR readme 
 ? What does the WeeWX log 
show? Post a log extract with debug = 1 showing the full WeeWX startup and a 
couple of archive periods, this WeeWX wiki page 

  will give you instructions on how to get such a log extract.

 

Gary

 

On Tuesday, 7 June 2022 at 08:16:10 UTC+10 dave.sp...@gmail.com 
  wrote:

Good afternoon all, I am trying to get the lightening detector sensor to show 
in weewx. The sensor is Acurite Atlas

 

I have added the following under [[sensor_map]]

lightning_distance = strike_distance.0010.AcuriteAtlasPacket

lightning_strike_count = strike_count.0010.AcuriteAtlasPacket

 

Any help getting this working would be great

 

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/cce095de-a364-4987-ad60-cae4f905c70fn%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/017701d87abc%24a34925f0%24e9db71d0%24%40gmail.com.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2022.06.07 16:14:26 =~=~=~=~=~=~=~=~=~=~=~=
Jun  7 16:14:28 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Jun  7 16:14:29 raspberrypi weewx[25274] INFO __main__: Initializing weewx 
version 4.5.1
Jun  7 16:14:29 raspberrypi weewx[25274] INFO __main__: Using Python 3.7.3 
(default, Jan 22 2021, 20:04:44) #012[GCC 8.3.0]
Jun  7 16:14:29 raspberrypi weewx[25274] INFO __main__: Platform 
Linux-5.10.60-v7+-armv7l-with-debian-10.10
Jun  7 16:14:29 raspberrypi weewx[25274] INFO __main__: Locale is 'en_US.UTF-8'
Jun  7 16:14:29 raspberrypi weewx[25274] INFO __main__: PID file is 
/var/run/weewx.pid
Jun  7 16:14:29 raspberrypi weewx[25278] INFO __main__: Using configuration 
file /home/weewx/weewx.conf
Jun  7 16:14:29 raspberrypi weewx[25278] INFO __main__: Debug is 0
Jun  7 16:14:29 raspberrypi weewx[25278] INFO weewx.engine: Loading station 
type SDR (user.sdr)
Jun  7 16:14:29 raspberrypi weewx[25264]: Starting weewx weather system: weewx.
Jun  7 16:14:29 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: driver version is 0.78
Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: sensor map is 
{'outTemp': 'temperature.0010.AcuriteAtlasPacket', 'outHumidity': 
'humidity.0010.AcuriteAtlasPacket', 'windSpeed': 
'wind_speed.0010.AcuriteAtlasPacket', 'windDir': 
'wind_dir.0010.AcuriteAtlasPacket', 'UV': 'uv.0010.AcuriteAtlasPacket', 
'rain_total': 'rain_total.0010.AcuriteAtlasPacket', 'radiation': 
'lux.0010.AcuriteAtlasPacket', 'outTempBatteryStatus': 
'battery.0010.AcuriteAtlasPacket', 'lightning_distance': 
'strike_distance.0010.AcuriteAtlasPacket', 'lightning_strike_count': 
'strike_count.0010.AcuriteAtlasPacket', 'luminosity': 
'lux.0010.AcuriteAtlasPacket'}
Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: deltas is {'rain': 
'rain_total', 'lightning_strike_count': 'lightning_strike_count'}
Jun  7 16:14:29 raspberrypi weewx[25278] INFO user.sdr: startup process 'sudo 
/usr/local/bin/rtl_433 -M utc -F json'
Jun  7 16:14:29 raspberrypi /weewxd: bme280: bme280wx configuration 
{'i2c_port': '1', 'i2c_address': '0x77', 'usUnits': 'US', 'temperatureKeys': 
'inTemp', 'temperature_must_have': '', 'pressureKeys': 'pressure', 
'pressure_must_have': 'outTemp', 'humidityKeys': 'inHumidity', 
'humidity_must_have': ''}
Jun  7 16:14:29 raspberrypi /weewxd: bme280: I2C port: 1
Jun  7 16:14:29 raspberrypi /weewxd: 

[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-07 Thread Bob Atchley
Hi weewx-user

I would highly recommend using weewx v4.x with python3 if you can.
It is sometime since I tested the ws6in1 driver with python2 and never on 
arch linux (but that shouldn't be a problem).
I seem to remember that weewx v4 is needed for compatibility with python3 - 
so you would need to reinstall weewx if you want to use Python3

Having said that this should still work.  Just need to replace the 'pip3' 
commands with 'pip' and the crcmod install should be the pacman equivalent 
of
$ sudo apt install python-crcmod

Having said that python-crcmod is no longer included in the ubuntu 
repositories.  May be it is in the Arch Linux repositories ?  If not you 
can build it from the source code 
crcmod.sourceforge.net
But that's getting complicated.

I used to use Arch Linux - it updates to the latest version of everything 
(I was a happy user until a major version upgrade of gnome left me with an 
unusable system and I re-thought my priorities),
so with that in mind using weewx v4.8 and python3 would be the way to go

Hope that helps

Bob

On Tuesday, 7 June 2022 at 12:50:01 UTC+1 Ξ wrote:

> It seems I've installed WeeWx to use Python2.7 and python-crcmod is 
> installed for Python3, is there a way to change to Python3 or do I need to 
> re-install again?
>

-- 
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/df7039b7-3248-42e8-83ee-b07063a8282bn%40googlegroups.com.


[weewx-user] Re: Weewx-sdr Oregon THR228N sensor not parsed .

2022-06-07 Thread Andy
you are welcome!

https://github.com/matthewwall/weewx-sdr/pull/150/commits/9c86098e19f237e43a27f77c93b16565afe1f4f3

Andy

On Tuesday, June 7, 2022 at 7:11:55 AM UTC-7 modu...@gmail.com wrote:

> Hello Andy , thank you for you nice help !
> Now it works wit your file sdr.py  !!
> but before there is a small syntax error to correct .
>
>return 
> OS.insert_ids(pkt, OSTHR228Packet.__name__)N
> must be replaced byreturn OS.insert_ids(pkt, 
> OSTHR228NPacket.__name__)N 
>
> And now 
>
>
> sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py 
> --cmd="rtl_433 -M utc -F json"
> out: ['{"time" : "2022-06-07 14:02:18", "model" : "Fineoffset-WH2", "id" : 
> 227, "temperature_C" : 18.600, "humidity" : 82, "mic" : "CRC"}\n']
> out: ['{"time" : "2022-06-07 14:02:59", "model" : "Oregon-THR228N", "id" : 
> 211, "channel" : 1, "battery_ok" : 0, "temperature_C" : -21.300}\n', 
> '{"time" : "2022-06-07 14:02:59", "model" : "Oregon-THR228N", "id" : 211, 
> "channel" : 1, "battery_ok" : 0, "temperature_C" : -21.300}\n']
> parsed: {'dateTime': 1654610579, 'usUnits': 16, 
> 'battery.1:211.OSTHR228NPacket': 1, 'temperature.1:211.OSTHR228NPacket': 
> -21.3}
> parsed: {'dateTime': 1654610579, 'usUnits': 16, 
> 'battery.1:211.OSTHR228NPacket': 1, 'temperature.1:211.OSTHR228NPacket': 
> -21.3}
> out: ['{"time" : "2022-06-07 14:03:06", "model" : "Fineoffset-WH2", "id" : 
> 227, "temperature_C" : 18.700, "humidity" : 82, "mic" : "CRC"}\n']
>
>
> I thank you very very very much , I can now continue my small home made 
> weather station project !
> Thank you and have a nice week !
>
> Le mardi 7 juin 2022 à 14:43:36 UTC+2, Andy a écrit :
>
>> Test this one out and let me know. If it works I will create a pull and 
>> get it added to the driver repo.
>>
>> Andy
>>
>> On Tuesday, June 7, 2022 at 1:21:01 AM UTC-7 modu...@gmail.com wrote:
>>
>>> Hello !
>>> I try to use an  Oregon THR228N sensor in weewx with weewx-sdr.
>>> When i run the driver , i receive an OUT message but no Parsed message .
>>> Here is the output :
>>>
>>> out: ['{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" 
>>> : 211, "channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n', 
>>> '{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" : 211, 
>>> "channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n']
>>>
>>>
>>> I've changed the label in sdr.py fromIDENTIFIER = "Thermo Sensor 
>>> THR228N" to   IDENTIFIER = "Oregon-THR228N" but have the same result .
>>>
>>> Do you have an idea ?
>>> Thank for help and sheers from france !
>>>
>>>
>>>

-- 
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/2112d78d-076b-46f3-84b0-29a0d32b5527n%40googlegroups.com.


[weewx-user] Re: Weewx-sdr Oregon THR228N sensor not parsed .

2022-06-07 Thread Pramod Visham
Hello Andy , thank you for you nice help !
Now it works wit your file sdr.py  !!
but before there is a small syntax error to correct .

   return 
OS.insert_ids(pkt, OSTHR228Packet.__name__)N
must be replaced byreturn OS.insert_ids(pkt, 
OSTHR228NPacket.__name__)N 

And now 


sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py 
--cmd="rtl_433 -M utc -F json"
out: ['{"time" : "2022-06-07 14:02:18", "model" : "Fineoffset-WH2", "id" : 
227, "temperature_C" : 18.600, "humidity" : 82, "mic" : "CRC"}\n']
out: ['{"time" : "2022-06-07 14:02:59", "model" : "Oregon-THR228N", "id" : 
211, "channel" : 1, "battery_ok" : 0, "temperature_C" : -21.300}\n', 
'{"time" : "2022-06-07 14:02:59", "model" : "Oregon-THR228N", "id" : 211, 
"channel" : 1, "battery_ok" : 0, "temperature_C" : -21.300}\n']
parsed: {'dateTime': 1654610579, 'usUnits': 16, 
'battery.1:211.OSTHR228NPacket': 1, 'temperature.1:211.OSTHR228NPacket': 
-21.3}
parsed: {'dateTime': 1654610579, 'usUnits': 16, 
'battery.1:211.OSTHR228NPacket': 1, 'temperature.1:211.OSTHR228NPacket': 
-21.3}
out: ['{"time" : "2022-06-07 14:03:06", "model" : "Fineoffset-WH2", "id" : 
227, "temperature_C" : 18.700, "humidity" : 82, "mic" : "CRC"}\n']


I thank you very very very much , I can now continue my small home made 
weather station project !
Thank you and have a nice week !

Le mardi 7 juin 2022 à 14:43:36 UTC+2, Andy a écrit :

> Test this one out and let me know. If it works I will create a pull and 
> get it added to the driver repo.
>
> Andy
>
> On Tuesday, June 7, 2022 at 1:21:01 AM UTC-7 modu...@gmail.com wrote:
>
>> Hello !
>> I try to use an  Oregon THR228N sensor in weewx with weewx-sdr.
>> When i run the driver , i receive an OUT message but no Parsed message .
>> Here is the output :
>>
>> out: ['{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" 
>> : 211, "channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n', 
>> '{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" : 211, 
>> "channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n']
>>
>>
>> I've changed the label in sdr.py fromIDENTIFIER = "Thermo Sensor 
>> THR228N" to   IDENTIFIER = "Oregon-THR228N" but have the same result .
>>
>> Do you have an idea ?
>> Thank for help and sheers from france !
>>
>>
>>

-- 
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/bc1b02f1-c524-44d6-ba96-bed59590c834n%40googlegroups.com.


[weewx-user] Re: Installing WS 6in1 for Bresser 5-in1

2022-06-07 Thread Ξ
It seems I've installed WeeWx to use Python2.7 and python-crcmod is 
installed for Python3, is there a way to change to Python3 or do I need to 
re-install again?

-- 
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/c9279a67-529c-44af-b437-a04475564efan%40googlegroups.com.


[weewx-user] Installing WS 6in1 for Bresser 5-in1

2022-06-07 Thread Ξ

Hello,

Can someone please point me to how do I make ws6in1 recognise crcmod which 
I have installed? Here's what happens when I run reconfig:
Installed drivers include:
  0) ?   (user.ws6in1) No module named crcmod
  1) AcuRite (weewx.drivers.acurite)
  2) ?   (weewx.drivers.cc3000)No module named serial
  3) FineOffsetUSB   (weewx.drivers.fousb)
  4) Simulator   (weewx.drivers.simulator)
  5) TE923   (weewx.drivers.te923)
  6) ?   (weewx.drivers.ultimeter) No module named serial
  7) Vantage (weewx.drivers.vantage)
  8) WMR100  (weewx.drivers.wmr100)
  9) WMR200  (weewx.drivers.wmr200)
 10) WMR300  (weewx.drivers.wmr300)
 11) ?   (weewx.drivers.wmr9x8)No module named serial
 12) WS1 (weewx.drivers.ws1)
 13) WS23xx  (weewx.drivers.ws23xx)
 14) WS28xx  (weewx.drivers.ws28xx)
choose a driver [4]: 0
Traceback (most recent call last):
  File "./wee_config", line 115, in 
main()
  File "./wee_config", line 110, in main
config_mgr.run(args, options)
  File "/home/weewx/bin/weecfg/config.py", line 102, in run
self.modify_config(config_dict, options)
  File "/home/weewx/bin/weecfg/config.py", line 120, in modify_config
stn_info = self.get_stn_info(config_dict, options)
  File "/home/weewx/bin/weecfg/config.py", line 151, in get_stn_info
stn_info.update(weecfg.prompt_for_driver_settings(driver))
  File "/home/weewx/bin/weecfg/__init__.py", line 1136, in 
prompt_for_driver_settings
__import__(driver)
  File "/home/weewx/bin/user/ws6in1.py", line 369, in 
import crcmod
ImportError: No module named crcmod


Here's the information about the package:
[root@alarmpi bin]# pacman -Qi python-crcmod
Name: python-crcmod
Version : 1.7-4
Description : Module for generating objects that compute the Cyclic 
Redundancy Check (CRC)
Architecture: armv6h
URL : http://crcmod.sourceforge.net/
Licenses: MIT
Groups  : None
Provides: None
Depends On  : python
Optional Deps   : None
Required By : None
Optional For: None
Conflicts With  : None
Replaces: None
Installed Size  : 126.48 KiB
Packager: Arch Linux ARM Build System 
Build Date  : Thu Jan 20 23:01:06 2022
Install Date: Thu May 26 17:33:44 2022
Install Reason  : Explicitly installed
Install Script  : No
Validated By: Signature

I'm running weewx v3.7.1 

-- 
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/eb66023f-e9f5-4e85-805c-86a16df4c5edn%40googlegroups.com.


Re: [weewx-user] Adding lightening sensor to weewx

2022-06-07 Thread Mark Fraser

On 06/06/2022 23:16, dave.spicer2...@gmail.com wrote:
Good afternoon all, I am trying to get the lightening detector sensor to 
show in weewx. The sensor is Acurite Atlas


I have added the following under [[sensor_map]]

     lightning_distance = strike_distance.0010.AcuriteAtlasPacket

     lightning_strike_count = strike_count.0010.AcuriteAtlasPacket

Any help getting this working would be great

Thanks


I set up my lightning detector yesterday - a WH31L - which uses the SDR 
driver and all I had to do was include these lines under [[sensor_map]] 
and restart weewx. I'm now seeing a Lightning graph with the Seasons skin.


lightning_strike_count = strikes_total.52017.FOWH31LPacket
lightning_distance = distance.52017.FOWH31LPacket
txBatteryStatus = battery.52017.FOWH31LPacket
One thing I would like to do is add it to the Smartphone skin. Is this 
easy to do?


--
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/8715b2d3-1779-d3cb-2344-46e9f7bc9a99%40gmail.com.


[weewx-user] Weewx-sdr Oregon THR228N sensor not parsed .

2022-06-07 Thread Pramod Visham
Hello !
I try to use an  Oregon THR228N sensor in weewx with weewx-sdr.
When i run the driver , i receive an OUT message but no Parsed message .
Here is the output :

out: ['{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" : 
211, "channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n', 
'{"time" : "2022-06-07 08:17:09", "model" : "Oregon-THR228N", "id" : 211, 
"channel" : 1, "battery_ok" : 0, "temperature_C" : -19.900}\n']


I've changed the label in sdr.py fromIDENTIFIER = "Thermo Sensor 
THR228N" to   IDENTIFIER = "Oregon-THR228N" but have the same result .

Do you have an idea ?
Thank for help and sheers from france !


-- 
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/f6b2197d-bb82-4bf4-83e7-236cbf78f92bn%40googlegroups.com.