Not a proxmix user but this link might be worth a read https://www.wundertech.net/how-to-pass-through-usb-devices-in-proxmox/
On Saturday, February 24, 2024 at 2:58:03 PM UTC-8 sab...@gmail.com wrote: > While the RPi is not as cheap as they once were, they are perfect little > devices to dedicated to a weather station. I have been using a RPi3B with > an acurite console since 2016. I recently started to move to weewx5 and in > the process upgrade it to a 4GB RPi4. While the RPi3b still works fine, I > was impressed with how much faster the RPi4 is. Building the reasons skin > took about half the time. Currently I still have both Pis set up with > different consoles both reading frome the same station until I get the new > Pi and Weewx5 set up just how I want it. > > Personally I would set up a dedicated pi per acurite station. 😁 > > On Saturday, February 24, 2024 at 4:31:25 PM UTC-6 Patrick Whaley wrote: > >> Thank you all for your quick responses with useful information as you've >> definitely help direct my efforts. >> >> I spent the last few days setting up a hypervisor ('pimox' aka ProxMox 7) >> on my raspberry pi 400 (since it's the only spare computer I have that is >> capable of running VM's), with the intent of running two debian linux VM's, >> each with their own install of weewx and hopefully being constricted to >> 'seeing' a single/specified AcuRite system on USB. >> >> ProxMox & debian work/run great, but unfortunately it seems I'm back >> at/near square one as this does not seem to be able to solve the original >> problem. >> >> Turns out there are multiple ways to setup USB ports in the VM's , and >> ways to turn USB ports on/off in linux - I tried all the conventional >> options and some hacks, but ultimately if I have both AcuRite's hooked to >> teh pi, and both VM's running weewx, one VM weewx will work and the other >> VM weewx will not, as it claims it's not receiving USB data from an >> AcuRite. Shutting down the working VM frees up (or whatever is going on) >> the AcuRite usb data for the other VM and it starts working. >> >> I'm going to put this one on the back burner for now but am not throwing >> in the towel just yet ;-) >> >> -pw >> >> On Wednesday, February 21, 2024 at 3:36:46 PM UTC-5 p q wrote: >> >>> I wonder if it would be easier to use SDR on one sensor unit and USB for >>> the other so that way you know which you're getting. I am not familiar with >>> weewx-multi, so maybe I'm talking crap. >>> >>> >>> >>> On Wed, Feb 21, 2024 at 12:02 PM matthew wall <mwall...@gmail.com> >>> wrote: >>> >>>> hi patrick, >>>> >>>> unfortunately, every acurite station looks the same - there is no >>>> unique identifier that lets you distinguish one station from another via >>>> the USB interface. >>>> >>>> if chaney instruments had done it right, they would have burned a >>>> serial number into each device, not just idProduct and idVendor. >>>> >>>> in lieu of an identifier for each device, another approach is to >>>> distinguish devices based on their locations in the usb tree. if you >>>> could >>>> do that, then you could conceivably plug them into a usb hub that has >>>> ports >>>> whose addresses are repeatable across reboots (that might even apply to >>>> the >>>> usb 'hub' built in to the computer). >>>> >>>> i am not sure whether this is possible, but it would be a fun little >>>> project to determine the feasibility. and it is probably easier now that >>>> libusb is not as volatile as it was 10 years ago. >>>> >>>> when you initiate communication with a HID (which is how the acurite >>>> and other usb-based stations present themselves), you specify idProduct >>>> and >>>> idVendor, then take the first one that shows up. if a device has a unique >>>> identifier, you can match on that too (the ws28xx transceviers are an >>>> example of this. some, but not all, USB-to-serial converters are too, but >>>> they are not HID). it *might* be possible to use the usb tree information >>>> to distinguish devices. or maybe the HID interface lets you enumerate >>>> them >>>> - not sure whether the libusb and pyusb layers even let you determine >>>> whether there are multiple devices that match. >>>> >>>> m >>>> >>>> -- >>>> 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+...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/1ef9de61-4b62-4818-8dd1-eec25bade230n%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/1ef9de61-4b62-4818-8dd1-eec25bade230n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> Peter Quinn >>> (415)794-2264 <(415)%20794-2264> >>> >> -- 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/5dd9709f-679a-465f-96b5-bf2aeefc8aafn%40googlegroups.com.