Olivier,
Puzzled, because apparently weewx has been installed in my configuration in
a different way than you expect.
See the inserted text.
;-( Some more thinking to be done ...
Waiting for your next suggestions.
Anton
Op dinsdag 11 februari 2020 20:17:29 UTC+1 schreef Olivier Guyotot:
>
> Alright, so the good news is that the vendor_id and product_id are still
> the same.
>
> NOTE: I just noticed that in your configuration, you specified driver =
> user.hp3000. Unless you made a change, it should be driver = user.ws3000.
>
Where did you see this info?
Or otherwise formulated: where shal I put such line?
> Assuming that you installed the driver correctly in the bin/user
> directory,
>
In my configuration no folder /bin/user; therefore created and put
ws3000.py in that folder with x-attribute set, to enable execution
Most weewx-files found in folder /etc/weewx
to check if the current code is working with your station you could try the
> following:
> 1. first, stop weewx.
> 2. from the weewx folder, run the command:
> PYTHONPATH=bin python bin/user/ws3000.py
>
> To get this running from Putty's CLI, I had to change into
PYTHONPATH=bin python /bin/user/ws3000.py
Result is that the execution stops at the first comment-line.
At least positive is that ws3000.py has been found and is executed.
Have taken out all comment lines from ws3000.py between """ and """
Then running
PYTHONPATH=bin python /bin/user/ws3000.py
=> result is an error report telling
File "/bin/user/ws3000.py", line 17, in <module>
import weewx.drivers
ImportError: No module named weewx.drivers
Then stopped, to write this response .....
NOTE: you may have to replace the 'logdbg' statements by 'print', lines 624
> and 626, if you don't see the data (check in the logs first).
>
> Something else that you could try is to enable debug in the weewx
> configuration file (debug = 1), start weewx, and send me the log.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/1adfc593-12ed-4d83-a3c0-c23c27421e89%40googlegroups.com.