I have a Davis Vue with USB logger and want to run Cumulus MX as a service on Windows 10. When I attempt to run as a service, CMX is unable to find the weather station (see log snippet below). When I run cumulusmx.exe from the command line, it is able to connect with no problem. Is there anything I can do to get the service working properly? I am running Cumulus MX v.3.10.5 build 3122.
2021-04-06 22:56:46.107 Station type = Davis
2021-04-06 22:56:46.107 LOOP2 enabled
2021-04-06 22:56:46.107 Serial device = COM3
2021-04-06 22:56:46.107 Serial speed = 19200
2021-04-06 22:56:46.107 InitSerial: Connecting to the station
2021-04-06 22:56:46.107 InitSerial: Error opening port - The port 'COM3' does not exist.
2021-04-06 22:56:46.107 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
2021-04-06 22:56:46.523 This Cumulus MX instance is running the latest version
2021-04-06 22:57:16.128 InitSerial: Connecting to the station
2021-04-06 22:57:16.128 InitSerial: Error opening port - The port 'COM3' does not exist.
2021-04-06 22:57:16.128 InitSerial: Failed to connect to the station, waiting 30 seconds before trying again
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Unable to Connect to Davis Vue as a Windows Service
Moderator: mcrossley
- ConligWX
- Posts: 1619
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 22.04 LTS
- Location: Bangor, NI
- Contact:
Re: Unable to Connect to Davis Vue as a Windows Service
Hi there.
CumulusMX is set for COM3. and COM3 does not exist on your PC. unless you can prove via screenshots
I suggest you find what port your USB Logger is reporting on (in device manager), and then change the COM port number to whatever it is, then restart CumulusMX.
cumulus.ini
CumulusMX is set for COM3. and COM3 does not exist on your PC. unless you can prove via screenshots
I suggest you find what port your USB Logger is reporting on (in device manager), and then change the COM port number to whatever it is, then restart CumulusMX.
cumulus.ini
Code: Select all
ComportName=COMx
Regards Simon
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX v4.0.0
-
- Posts: 7
- Joined: Fri 24 Feb 2012 5:40 am
- Weather Station: Davis Vantage Vue
- Operating System: RPi 4B+ Debian 11 64-bit
- Location: Troy, MI
- Contact:
Re: Unable to Connect to Davis Vue as a Windows Service
As I mentioned in my first post, CMX is able to communicate on COM3 with the weather station if it is not running as a service (see successful log below). Obviously this means COM3 is configured and working correctly. The problem only occurs when I install CMX as a service and start the service. I thought that it might be a permissions problem, but I have tried running the service with different admin permissions with no success.
2021-04-06 22:55:50.258 Station type = Davis
2021-04-06 22:55:50.258 LOOP2 enabled
2021-04-06 22:55:50.258 Serial device = COM3
2021-04-06 22:55:50.258 Serial speed = 19200
2021-04-06 22:55:50.258 InitSerial: Connecting to the station
2021-04-06 22:55:50.760 This Cumulus MX instance is running the latest version
2021-04-06 22:55:50.776 InitSerial: Flushing input stream
2021-04-06 22:55:50.776 InitSerial: Sending TEST (1) command
2021-04-06 22:55:51.298 InitSerial: TEST (1) received - '0A-0D-54-45-53-54-0A-0D'
2021-04-06 22:55:51.298 InitSerial: TEST (1) successful
2021-04-06 22:55:51.298 InitSerial: Connection confirmed
2021-04-06 22:55:51.298 Connected OK
2021-04-06 22:55:50.258 Station type = Davis
2021-04-06 22:55:50.258 LOOP2 enabled
2021-04-06 22:55:50.258 Serial device = COM3
2021-04-06 22:55:50.258 Serial speed = 19200
2021-04-06 22:55:50.258 InitSerial: Connecting to the station
2021-04-06 22:55:50.760 This Cumulus MX instance is running the latest version
2021-04-06 22:55:50.776 InitSerial: Flushing input stream
2021-04-06 22:55:50.776 InitSerial: Sending TEST (1) command
2021-04-06 22:55:51.298 InitSerial: TEST (1) received - '0A-0D-54-45-53-54-0A-0D'
2021-04-06 22:55:51.298 InitSerial: TEST (1) successful
2021-04-06 22:55:51.298 InitSerial: Connection confirmed
2021-04-06 22:55:51.298 Connected OK
-
- Posts: 2473
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Unable to Connect to Davis Vue as a Windows Service
Looks like an issue in your Windows setup. If the port exists then it should be available to the program running as a service. It obviously isn't available to that program. Perhaps Google may be able to assist you?
-
- Posts: 7
- Joined: Fri 24 Feb 2012 5:40 am
- Weather Station: Davis Vantage Vue
- Operating System: RPi 4B+ Debian 11 64-bit
- Location: Troy, MI
- Contact:
Re: Unable to Connect to Davis Vue as a Windows Service
I played around with this some more and I uninstalled and then reinstalled the drivers for the data logger. Apparently something was messed up with the drivers and the reinstallation solved the problem. I am now successfully running Cumulus MX as a service on Windows 10.