Windows Linux Subsystem

58 views
Skip to first unread message

Michael Lawrie

unread,
Nov 4, 2018, 2:38:25 PM11/4/18
to weewx-user
Hey folks.

I knew I would regret this, but I tried anyway - But I think I probably hit the fatal roadblock now.

I moved my working configuration from a dedicated Linux machine to a Linux instance on Windows (Using WLS / Windows Linux Subsystem) and everything is running, but there's no data from the Accurite:

Nov  4 15:30:50 Mammut weewx[18585]: acurite: Cannot find USB device with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Nov  4 15:30:50 Mammut weewx[18585]: acurite: Failed attempt 1 of 10 to get LOOP data: Unable to find station on USB
Nov  4 15:30:50 Mammut weewx[18585]: manager: Daily summary version is 2.0
Nov  4 15:31:20 Mammut weewx[18585]: acurite: Cannot find USB device with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Nov  4 15:31:20 Mammut weewx[18585]: acurite: Failed attempt 2 of 10 to get LOOP data: Unable to find station on USB
Nov  4 15:31:50 Mammut weewx[18585]: acurite: Cannot find USB device with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Nov  4 15:31:50 Mammut weewx[18585]: acurite: Failed attempt 3 of 10 to get LOOP data: Unable to find station on USB
etc etc...

So my question, has anyone else tried this? And if so, have they managed to make USB devices visible to the WLS? I am sure it's possible, I just have no idea how and the web isn't too helpful here.

vince

unread,
Nov 4, 2018, 3:02:04 PM11/4/18
to weewx-user
On Sunday, November 4, 2018 at 11:38:25 AM UTC-8, Michael Lawrie wrote:
So my question, has anyone else tried this? And if so, have they managed to make USB devices visible to the WLS? I am sure it's possible, I just have no idea how and the web isn't too helpful here.


Google for "make usb devices available to wls" first hit was https://www.scivision.co/mount-usb-drives-windows-subsystem-for-linux/

 

Michael Lawrie

unread,
Nov 4, 2018, 3:17:43 PM11/4/18
to weewx...@googlegroups.com
Been there, tried that... It doesn't present as a drive and lsusb shows nothing.

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/pHlOUl1Z8Fc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
"Life's no picnic, but sometimes it's almost as bad"

vince

unread,
Nov 4, 2018, 4:22:37 PM11/4/18
to weewx-user
On Sunday, November 4, 2018 at 12:17:43 PM UTC-8, Michael Lawrie wrote:
Been there, tried that... It doesn't present as a drive and lsusb shows nothing.


Well the weewx group sure isn't the place to ask for help on this one....

Check out the impressively named https://www.reddit.com/r/bashonubuntuonwindows/ and maybe there are posts or folks there that can help.

Michael Lawrie

unread,
Nov 4, 2018, 4:37:50 PM11/4/18
to weewx...@googlegroups.com
Aye, I just hoped somebody had tried it and succeeded! Back to using the Acrite connect software, sigh!

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/pHlOUl1Z8Fc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mwall

unread,
Nov 4, 2018, 4:58:11 PM11/4/18
to weewx-user


On Sunday, November 4, 2018 at 4:37:50 PM UTC-5, Michael Lawrie wrote:
Aye, I just hoped somebody had tried it and succeeded! Back to using the Acrite connect software, sigh!

michael,

you might try running weewx directly in windows.  the 'windows' branch in the weewx repository is configured to run (almost) out-of-the-box on windows.  it has been tested with usb/modbus for the dyacon weather stations, but i do not know of any testing with usb stations such as acurite.

give it a try and let us know what happens.

1) install git

2) install python 2.7

3) install weewx

cd weewx
git checkout windows


python -m pip install configobj Image Cheetah uptime pyephem
mkdir c:\users\weewx
cacls c:\users\weewx /t /e /g Everyone:f


copy util/windows/setup.cfg .
python setup.py install
cd c:\users\weewx
python bin\weewxd weewx.conf

the 'README' file in the windows branch of the weewx repository has these steps



Reply all
Reply to author
Forward
0 new messages