Skip to content

Releases: nobodyinperson/co2monitor

Idle interval between readings

09 Mar 08:55
Compare
Choose a tag to compare

This release adds a configurable idle interval between device readings to reduce file size.
Specify the amount of idle seconds in /etc/co2monitor/service.conf:

interval = 30

The service needs restarting for this to take effect. One of:

  • sudo systemctl restart co2monitor
  • qdbus --system de.nobodyinperson.co2monitor /de/nobodyinperson/co2monitor de.nobodyinperson.co2monitor.quit

and then re-plugging the device should do it.

Easily show graph

08 Mar 19:53
Compare
Choose a tag to compare

In this release, the /usr/share/doc/co2monitor/examples/plot.R-script is launched from the co2monitor menu symbol.

co2monitor-menu

fix: data file sorting by creation time in plot.R

01 Dec 10:56
Compare
Choose a tag to compare

Just a small fix that lets the plotscript /usr/share/doc/co2monitor/examples/plot.R sort the data files by creation time, not just filename.

Known issues

Still, with this release, just don't unplug the device during warmup :-)

  • The logging thread is not stopped when the device is unplugged during warmup. Instead, the thread does not exit at all, which is a problem. It also cannot be stopped from the dbus interface, co2monitor has to be stopped manually (call the quit method on dbus, or do a sudo systemctl stop co2monitor).

co2monitor svg

better hotplug handling

28 Nov 13:10
Compare
Choose a tag to compare

This release should fix some crashes when hotplugging all over the place.

Known issues

With this release, just don't unplug the device during warmup :-)

  • The logging thread is not stopped when the device is unplugged during warmup. Instead, the thread does not exit at all, which is a problem. It also cannot be stopped from the dbus interface, co2monitor has to be stopped manually (call the quit method on dbus, or do a sudo systemctl stop co2monitor).

co2monitor svg

fix: co2monitor-service multiple invocation

23 Nov 16:43
Compare
Choose a tag to compare

This release fixes the bug that on non-systemd systems the co2monitor-service may be started multiple times when multiple devices are plugged in at once.

This makes co2monitor have all the basic functionality for logging from multiple devices.

co2monitor svg

improved structure

23 Nov 08:51
Compare
Choose a tag to compare

This release introduces an improved structure:

When a device in plugged in, udev starts the co2monitor-invoker who makes sure the co2monitor-service is up and running (via systemd if available) and then instructs it via dbus to log from the attached device.

New Features:

  • DBus integration
  • handling multiple devices in parallel
  • add French translation

Known Issues:

  • On non-systemd systems, when plugging in multiple devices at once (e.g. at bootup), the co2monitor-service is started multiple times, because the co2monitor-invoker does not check for other invoker instances. This is not tragic, because the services can only continue if the dbus busname is released again. But after shutting down the co2monitor-service, the next instance kicks in. It does not influence usability.

qdbus

systemd or non-systemd

08 Nov 12:17
Compare
Choose a tag to compare

From this release on, co2monitor decides automatically whether to use systemd or just udev RUN+=... to start the logging service when plugging the device in. This enhances compatibility to a great deal.

  • Tested on deprecated raspbian wheezy, which does not use systemd.
  • In theory, co2monitor should now also be able to start individual logging services per device, if multiple are connected. I cannot test this, because I only have one (And still, the output file naming does not yet include the device name anyway...)

Update: There are indeed multiple services started if multiple devices are plugged in, but there are still bugs that make this not really useful. The next release will introduce a new structure that specifically addresses handling multiple devices in parallel.

co2monitor svg

Application icon

03 Nov 21:21
Compare
Choose a tag to compare

This release just adds an own application icon.

co2monitor svg

Add plotting script to application menu

02 Nov 22:41
Compare
Choose a tag to compare

This release improves the plotting script which now auto-refreshes the graphs and adds a proper application symbol the system applications menu.
bildschirmfoto_2016-11-02_23-27-48

rudimentary data visualization with R

18 Aug 19:07
Compare
Choose a tag to compare

This release adds an example R plotting script to get an overview of the measured data in the standard data logging folder /var/lib/co2monitor/data/.

You may either view only the latest data since you last plugged in the device via

/usr/share/doc/co2monitor/examples/plot.R newest

or all the measured data via

/usr/share/doc/co2monitor/examples/plot.R all

This is for basic visualisation until the co2monitor-applet is ready.

An example output:

bildschirmfoto_2016-08-18_21-00-35