Package Details: co2mon-git 2.1.0.r19.g940fcf1-2

Git Clone URL: https://aur.archlinux.org/co2mon-git.git (read-only, click to copy)
Package Base: co2mon-git
Description: CLI for MasterKit CO2 Monitor
Upstream URL: https://github.com/dmage/co2mon
Keywords: CO₂
Licenses: GPL3
Conflicts: co2mon
Submitter: Self-Perfection
Maintainer: Self-Perfection
Last Packager: Self-Perfection
Votes: 4
Popularity: 0.80
First Submitted: 2015-11-03 15:30 (UTC)
Last Updated: 2019-03-12 21:00 (UTC)

Dependencies (5)

Required by (0)

Sources (4)

Latest Comments

Mr.Smith1974 commented on 2025-08-24 20:17 (UTC)


==> Starting build()...
mkdir: created directory '/home/admin/.cache/yay/co2mon-git/src/co2mon/build'
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: co2mon-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
co2mon-git - exit status 4

chrisberkhout commented on 2022-10-14 15:19 (UTC)

I modified the service definition to run co2mond with the "-P host:port" option and found it always crashed until I added "IgnoreSIGPIPE=no" to the service definition.

Self-Perfection commented on 2021-06-21 20:01 (UTC) (edited on 2021-10-02 10:22 (UTC) by Self-Perfection)

Since about late 2020 this package works not quite well. In particular occasions like some systemd reloads dev-co2mon.device becomes inavailable and this stops co2mon service.

I can bring monitoring back by manually reconnecting my device to USB or running this script:

USB_DEVICE_ADDR=$(lsusb | awk -F '[ :]' '/USB-zyTemp/{print "/dev/bus/usb/" $2 "/" $4}')
udevadm trigger -v -c remove "$USB_DEVICE_ADDR"
udevadm trigger -v -c add    "$USB_DEVICE_ADDR"