I thought I'd post a link to a pretty flexible installer script for weewx
(Simulator mode) that I cooked up.
By simply uncommenting the right line(s) you can:
- install the latest dpkg'd version
- or install from the main git repo, optionally picking even a different
branch there
- o
Can you try changing something in your copy of aqi.py? I know the pyserial
docs say that if port is None the serial port will not be opened, but let's
see if that's true.
Change this
ser = serial.Serial()
ser.port = "/dev/ttyUSB0"
ser.baudrate = 9600
ser.open()
ser.flushInput()
to this
ser =
I have checked everything but nothing shows up. Have stripped everything
back to the bare minimum and only have the sds011 driver running. Only one
instance of WeeWX running and nothing else connected but still it locks up.
The device works fine outside of WeeWX using aqi.py from here: -
https:
On Friday, August 30, 2019 at 1:37:38 PM UTC-7, Pat wrote:
>
> I notice weewxd has a shebang for python3 and runs without an issue when
> using ./ ... Does setup.py need to be updated?
>
> From /home/weewx/bin/weewxd
>
> #!/usr/bin/python3
>
>
>
Pat, I think things get altered based on which versi
I notice weewxd has a shebang for python3 and runs without an issue when
using ./ ... Does setup.py need to be updated?
>From /home/weewx/bin/weewxd
#!/usr/bin/python3
On Friday, August 30, 2019 at 2:17:33 PM UTC-4, Pat wrote:
>
> I was right, it was a newbie moment. I tried ./setup build, bu
I was right, it was a newbie moment. I tried ./setup build, but running python3
setup.py build worked. Perhaps something to keep in mind for future end
user documentation?
Mind you, I'm used to an apt package being available. I've only installed
from setup.py a few times, which is why I tried t
I think I'm having a bit of a "newbie" moment. I created a new Ubuntu
18.04.3 virtual machine. Ran apt-get update; apt-get upgrade -y; reboot.
Upon reboot I tried to run the setup.py from the alpha package and I get
this error.
/usr/bin/env: ‘python’: No such file or directory
I know it's be
Thomas Keffer writes:
> I must be missing something, and I am most definitely not a Mac expert, but
> my laptop doesn't even have an /opt directory.
It doesn't, and macs don't have /home by default either (mac uses
/Users/$USERNAME instead). But either /opt or /home can be created,
even with SI