I am hoping this is an easy question to answer.

I have Python 3 running on a Raspberry 400 with the Raspbian OS.

I used the setup program to install WeeWX that leaves the majority of stuff in the /etc/weewx directory.

I am trying to get the driver for the Texas Weather Instruments system running over a /ttyUSB0 port.  I have the port at 9600 baud, and have used PuTTY to talk to the station and get back expected data sentences.


I have installed the latest (I hope) version of Matthew Wall's TWI driver from GitHub, and I think that Tom had tweaked a few things about 6 months ago after the 4.9 release of WeeWX came out.


Having installed it, I did a sudo wee_config  --reconfigure command and ran through the questions, but choosing the TWI option rather than the simulator which I had used to verify that the WeeWX was running OK in the environment, letting it run for a couple days and looking at the index.html file that it produced to show the graphs and statistics.

I used sudo tail -f /var/log/syslog to monitor what was being written to that file, and see every 15 seconds a command 'b r' which should be right according to the command looking for the current conditions (and was what I used to verify with PuTTY that the connection to the station was working.


The next line on the display says that the station responded with:  and is blank.  I watched the blinky lights on the USB dongle and there is no change, unlike when I did PuTTY and the transmit/receive and say them change with the command and when I received the data sentence.


My concern is that there is something that the driver is needing, like the baud rate, and while WeeWX is asking for data via the driver, the station isn't seeing it and not responding.  I have changed the baud rate to other values, like the native 19.2kBaud that the station uses by default but can obviously be changed otherwise.  I did set the PuTTY to 9600 baud in the start up screen for it and that is how I know that part works.


So I have been searching for where the installed driver is kept on the Raspberry 400 file structure to look there to see if there is something I'm missing, but doesn't seem to be anywhere in the /etc/WeeWX directory where the skins are kept.


One more question:  When I do some tinkering, I usually shut down ( I think) WeeWX by saying in a terminal window:  "sudo /etc/init.d/weewx stop" and then restart with "sudo /etc/init.d/weewx start"

Should I be using 'sudo weewxd" instead?

Dale


--
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/8576f943-2ad8-4912-c06f-f9836fe7a787%40gmail.com.

Reply via email to