Page 1 of 1
Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 3:13 am
by Finpat
Hello
In process of moving my weatherstation from a old power hungry atom computer to a Raspberry Pi 3.
(latest Raspbian os)
All installed and running in regard to Cumulus MX except for connection to my weather station on the USB to Com port.
Version : Cumulus MX 3.0.0 b3041
Have chosen Davis Vantage Pro2/VUE in station section
Have choosen serial connection and name: /dev/ttyUSB0 (with this no error when startup)
However there is no data coming in to the program.
Anyone can point me to a post where i find some trouble shooting or give me a idea of what to do?
Will put connection back in meanwhile to my Atom.
Regards
Patrick
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 10:54 am
by steve
What have you looked at to determine that no data is coming in? If you have just looked at dashboard and gauges, then perhaps your browser is not working with web sockets - in which case see the MX FAQ for this problem. If it's definitely not reading data from the station, turn on debug logging and data logging via Cumulus.ini, start MX, run for a while, then zip up and attach the latest MX diags file here.
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 11:44 am
by Finpat
Hello Steve
I looked at the files in MXdiags, and found this error:
2016-12-22 13:35:54.542 !!! No ack received in response to LPS 2 1
2016-12-22 13:35:56.144 !!! No ack received in response to LOOP 50
Attaching file also.
Any settings i have missed?
Only basic setup to get data in is done so far.
Regards
Patrick
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 12:47 pm
by steve
It looks like it isn't getting any response from the station, or perhaps not the responses it's expecting, but it's hard to say for certain without having debug and data logging turned on in Cumulus.ini.
Is /dev/ttyUSB0 definitely the correct device, as determined from the output of dmesg (it usually is).
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 2:50 pm
by Finpat
Hello Steve
Finnaly figured out how to turn on Logging.
Added Logging=1 to station section in Cumulus.ini
Now i havent figured out where i find the log file, Should be debug.log but cant locate it.
R
Patrick
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Thu 22 Dec 2016 4:36 pm
by steve
The additional logging settings in MX add additional logging to the MX diags files. Make sure you also turn on data logging. Note that this is all mentioned in one of the 'PLEASE READ' posts.
Re: Raspberry Pi 3 B not connecting to VUE on COM
Posted: Fri 23 Dec 2016 1:27 am
by Finpat
Hello Steve
I have good news.
I have found the issue and now it seems to be working as it should be.
Problem was the USB to SERIAL converter.
FTDI is working but not the ch341-uart
[37987.247192] ch341-uart ttyUSB0:
ch341-uart converter now disconnected from ttyUSB0
[37996.341620] usb 1-1.3:
FTDI USB Serial Device converter now attached to ttyUSB0
Now i will try to setp all the rest from my old computer.
http://www.pvuorio.net
Thanks
Patrick