Re: [weewx-user] Two of Same/Similar Model AcuRite 5n1 on Single Host - Station Identification Conflict?

2024-02-24 Thread Graham Eddy
i tried proxmox on RPi 4 briefly but it was too unstable for a reliable weather 
station - proxmox (pimox) is not supported on RPi and known to have problems 
and limitations (don’t get me started on overlay driver!)

proxmox 8 runs extremely well on bookworm on my mac mini. i pass through a 
usb-serial adapter to a container running several instances of weewx; my 
adapter is actually two serial ports not one, but i happily pass through two 
devices from the one usb port into one container. for encapsulation reasons i 
do not want and have not tried management of serial ports in a second container
(yes, i could have a container for each weewx instance, but i have some 
co-dependencies between the instances that make it easier to treat as a group 
e.g. shared venv, ‘master’ report that binds to all the instance databases, …)
mqtt broker has a container

on mac/proxmox i have had one glitch where the passthrough broke - the perms 
for the pass-through devices suddenly set to 000 - but until it happens again i 
don’t have a good handle on it. rebooting the container did not work, rebooting 
proxmox did work, i was too focussed on getting the station up to properly 
analyse (these things only happen at very interesting data-gathering moments 
such as the peaks of storms…)
⊣GE⊢

> On 25 Feb 2024, at 10:46 am, vince  wrote:
> 
> Not a proxmix user but this link might be worth a read 
> https://www.wundertech.net/how-to-pass-through-usb-devices-in-proxmox/

-- 
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/FC2B1718-DB34-42C6-950F-0859F308D0E6%40geddy.au.


[weewx-user] Two of Same/Similar Model AcuRite 5n1 on Single Host - Station Identification Conflict?

2024-02-21 Thread Patrick Whaley
Hi. I have two AcuRite 5n1 weather stations (model #'s 01536 and 02064), 
each connected to it's own host computer and successfully running weewx 5.   
Additionally 
they both are setup to upload data to Wunderground, and generate an MQTT 
topic. One also uploads to CWOP.  

The host computers obtain sensor data via the USB data on the AcuRite 
display units.

I would prefer to have both weather stations connected to a single host 
computer, so I attempted to do this via the 'How to run multiple instances 
of WeeWX' instructions in the link: 
https://github.com/weewx/weewx/wiki/weewx-multi

Per the instructions I was able to configure weewx to successfully run the 
stations with the same functionality as when they are connected to 
dedicated hosts, albeit only one station can be connected to the host 
computer at a time or I have the issues described below. 

One station's configuration is named 'yardA' (the AcuRite model# 01536 
unit) and the other is named 'yardB' (the AcuRite model #02064 unit).

With both stations plugged into the host computers USB ports:
1. When running both 'yardA' and 'yardB' at the same time, both stations 
report data, but the data that is reported for both stations is exactly the 
same.

2. When starting only 'yardA', weewx cannot 'pick' the model# 01536 unit 
versus 'picking' the  model# 02064 unit.  

3. Likewise when starting only 'yardB', weewx cannot 'pick' the model# 
02064 unit versus 'picking' the  model# 01536 unit.

I have some suspicion the issue is being caused by using two of the exact 
same AcuRite sensor units and both connected via USB.

I unplugged/re-plugged both units to USB and ran 'dmesg' to see if there is 
any distinguishing device information between the two units. Based on this 
simple test I'm not seeing anything specific that would let weewx 
distinguish between these two AcuRite's as different devices (although I am 
far from being knowledgeable on most anything weewx/linux/python/etc.)


[   78.637352] usb 1-1.3: new low-speed USB device number 5 using xhci_hcd
[   78.743717] usb 1-1.3: New USB device found, idVendor=24c0, 
idProduct=0003, bcdDevice= 0.20
[   78.743738] usb 1-1.3: New USB device strings: Mfr=0, Product=2, 
SerialNumber=0
[   78.743750] usb 1-1.3: Product: Chaney Instrument
[   78.754195] input: Chaney Instrument as 
/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:24C0:0003.0004/input/input5
[   78.754819] hid-generic 0003:24C0:0003.0004: input,hidraw0: USB HID 
v1.11 Device [Chaney Instrument] on usb-:01:00.0-1.3/input0

[   94.512418] usb 1-1.2: new low-speed USB device number 6 using xhci_hcd
[   94.619178] usb 1-1.2: New USB device found, idVendor=24c0, 
idProduct=0003, bcdDevice= 0.20
[   94.619201] usb 1-1.2: New USB device strings: Mfr=0, Product=2, 
SerialNumber=0
[   94.619213] usb 1-1.2: Product: Chaney Instrument
[   94.629809] input: Chaney Instrument as 
/devices/platform/scb/fd50.pcie/pci:00/:00:00.0/:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:24C0:0003.0005/input/input6
[   94.630554] hid-generic 0003:24C0:0003.0005: input,hidraw3: USB HID 
v1.11 Device [Chaney Instrument] on usb-:01:00.0-1.2/input0  

 I'm grateful in advance for suggestions anyone has on how make my multiple 
AcuRite station setup work on a single host computer. 
   

-- 
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/e11687c5-0776-417a-b8c9-adff013664b4n%40googlegroups.com.