Page 1 of 1

CMX 3.24.2 b3235 on Orange Pi

Posted: Sat 01 Apr 2023 1:33 am
by HowesWeather
All, new to CMX and an Orange Pi. Wanted to move my Davis Vue (USB logger) from old iMAC and WeatherSnoop3 to new Orange Pi 3 LTS. Using Orangepi3-lts_3.0.6_debian_bullseye_desktop_xfce_linux5.16.17 OS. Followed instructions on how to download and set up mono and install CMX. When starting CMX, it shows connected to station, downloading archive data and Normal running. However, I can only see 0 for data on dashboard and gauges. Same thing when I look at Now, Today/Yesterday pages. All 0's. It just does not appear to be talking to the Davis VantageVue console.

I looked at the FAQ regarding displaying all 0, but do not really understand what might be the issue. Have tried both on localhost:8998 and external MacBook, same results. The web page shows triangles next to last Cumulus update and last station update.

Any help would be appreciated and please remember, I am new to this and new to programming.

Thank you.

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Sat 01 Apr 2023 5:38 am
by freddie
I think the first step is to upload your most recent log file. This can be found in the "MXdiags" folder in the place on your computer where you installed MX.

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Sat 01 Apr 2023 3:30 pm
by HowesWeather
Attached is the log file. Do I need to install a driver to make this work? On the mac, I had to install a CP210x USB to UART driver. I didn't see any mention of that when I was looking at install instructions.

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 2:42 pm
by mcrossley
Have you switched your USB logger into serial mode? You must do that using the Windows WeatherLink software afaik. That step has to be done for CMX to read your logger,

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 6:08 pm
by HowesWeather
Thank you. My USB logger is from Davis. How do you switch it? I cannot find any information in my documentation from Davis.

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 6:31 pm
by freddie

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 8:59 pm
by HowesWeather
Thank you. I guess I need to find a windows computer to use. I have Apple products and this has never been an issue because the MAC has a CP210x driver to use that converts from USB to a virtual port. I was thinking there might be something for Linux, as most of what I have read says it is built in.

Once the data logger has been set up as USB direct, it cannot be easily converted to
emulate a serial port connection within the software. A utility is included with the
WeatherLink software that allows you to convert it from a direct USB data logger to a
USB data logger that emulates the COM port. To use this utility, select CP210X to Serial
Converter in your WeatherLink program group on the Start menu of your computer
(Start>AllPrograms>WeatherLink>CP210X to Serial Converter) and run the utility to
convert your data logger back to emulate a COM port.

What I noticed is that there is no /dev/USBx listed when I do a ls /dev/ttyUSB*

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 9:17 pm
by ConligWX
what does this command give you?

Code: Select all

dmesg | grep tty
I had posted this to find your port: viewtopic.php?p=122240#p122240

Re: CMX 3.24.2 b3235 on Orange Pi

Posted: Mon 03 Apr 2023 9:24 pm
by HowesWeather
[ 0.000000] Kernel command line: root=UUID=9abc38f4-ff20-4fa2-bd04-b89660d6ddd9 rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 consoleblank=0 loglevel=1 ubootpart= usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cgroup_enable=memory swapaccount=1
[ 0.000641] printk: console [tty1] enabled
[ 2.484367] printk: console [ttyS0] disabled
[ 2.484486] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 35, base_baud = 1500000) is a 16550A
[ 2.484701] printk: console [ttyS0] enabled
[ 4.562159] systemd[1]: Created slice system-getty.slice.
[ 4.566395] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.751425] mtty_probe init device addr: 0x000000004142d285
[ 5.679660] systemd[1]: Found device /dev/ttyS0.
[ 10.448791] mtty_open device success!
[ 120.820101] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 122.962992] usb 6-1: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
[ 122.965409] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[177153.655650] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0
[177157.966684] usb 6-1: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
[177157.969490] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0