Re: [weewx-development] new driver ... next steps

2020-08-16 Thread Bob Atchley
> > ValueError: Device not found This means that the ws6in1 driver was unable to establish a connection to the weather station. Check that the usb cable is connected properly, possibly replace it with another cable Nearly there ... Bob -- You received this message because you are

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread Bob Atchley
Hi SteinWolf, Yes both are installed but python2 is the default. If you carried out step 3.4 in the install: $ python3 ./setup.py build $ sudo python3 ./setup.py install Then you should be using python3. If you are not sure what you did its easy to check $ head -1 /home/weewx/bin/weewxd

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread SteinWolf
YES! last code was the right one. Now I could choose the driver. But weewx ist still running in simulator mode. And I now have the problem, that the index.html isnt showing up in the browser. "cd /var/www/html" and "ln -s /home/weewx/public_html weather" was done, but

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread SteinWolf
Yes - step by step we (I with your help) got it. So... at "/home/weewx/weewx.conf" there is no 6in1 section and there is simulator at the Station info. BUT when I do "sudo wee_config --reconfigure" it says driver WS6in1 (user.ws6in1), AND "Saved backup to /etc/weewx/weewx.conf.20200816160218".

Re: [weewx-development] HTTPS for weewx.com

2020-08-16 Thread Tom Keffer
I have no idea, but I assume so. On Sun, Aug 16, 2020 at 3:09 PM Gavin S wrote: > Would the majority of the config changes needed to switch to HTTPS be on > AWS? > > On Sunday, August 16, 2020 at 2:35:05 PM UTC-7 Tom Keffer wrote: > >> We are using a custom server on AWS (Lightsail). >> >>

Re: [weewx-development] HTTPS for weewx.com

2020-08-16 Thread Tom Keffer
We are using a custom server on AWS (Lightsail). There isn't any content on the site that isn't available as open-source, so it just hasn't been a priority. I recognize that's only one half of the equation and that there may be some users who prefer to browse the site securely. It's hard to

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread SteinWolf
Done! So I guess "sudo /home/weewx/bin/weewxd" will start weewx? Done this. Then, with another lines before, the last line shows up: File "/home/weewx/bin/user/ws6in1.py", line 836, in find_my_device raise ValueError('Device not found') ValueError: Device not found But hey - better then

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread SteinWolf
Hey, and I also have installed the apache2 now - I guess the right way. The http://.../index.html shows me a "403 forbidden" but the weewx/public_html isn't build yet, so I think this is ok for the moment. And way better then anything else before. Next step will be to let weewx see the device.

Re: [weewx-development] HTTPS for weewx.com

2020-08-16 Thread Gavin S
Would the majority of the config changes needed to switch to HTTPS be on AWS? On Sunday, August 16, 2020 at 2:35:05 PM UTC-7 Tom Keffer wrote: > We are using a custom server on AWS (Lightsail). > > There isn't any content on the site that isn't available as open-source, > so it just hasn't

[weewx-development] HTTPS for weewx.com

2020-08-16 Thread Gavin S
Hey all, It looks like weewx.com does not accept HTTPS web connections. I am not sure who to direct the question to, but would it be possible to move to a new hosting provider that accepts secure connections? If cost is an issue, Netlfy offers a free Open Source

Re: [weewx-development] HTTPS for weewx.com

2020-08-16 Thread John Kline
This might be of some help: https://cloudconfusing.com/2018/05/13/moving-a-lightsail-instance-to-https-with-lets-encrypt-certbot/ > On Aug 16, 2020, at 4:25 PM, Tom Keffer wrote: > >  > I have no idea, but I assume so. > >> On Sun, Aug 16, 2020 at 3:09 PM Gavin S wrote: >> Would the

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread Bob Atchley
Hi SteinWolf, A step close If you have a look at your weewx.conf file (/home/weewx/weewx.conf) in the section starting "[Station]" you should see: station_type = WS6in1 If you followed the readme instructions: https://github.com/BobAtchley/weewx-ws6in1/readme.txt There should also be a

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread Bob Atchley
That's very odd ... If you install weewx via the debian distribution it puts the files in the normal linux locations (/etc, /usr/bin ...) If you install manually (which is what your initial post led me to believe) then everything gets put in /home/weewx/ I think you have done both ? If so,

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread Bob Atchley
Actually if you have followed the instructions you should nearly be there ... Linux needs to know where things are in order to run them. There are 2 ways this can be achieved: 1) specify the full path with the command you are using 2) add the folder containing the commands to the $PATH

Re: [weewx-development] new driver ... next steps

2020-08-16 Thread SteinWolf
Hmm. I done all from this site: http://weewx.com/docs/setup.htm And in my opinion this is the manually way. But I cannot exclude, that I had done both in the many attempts I had done until now. OK. I now started over again. Removed both versions, because commands like wee_config doesn't work