https://github.com/floppy/bitbar-foobot-plugin
Show CO2 level from you Foobot air quality monitor in your macOS menubar.
https://github.com/floppy/bitbar-foobot-plugin
air-quality bitbar bitbar-plugin co2 foobot
Last synced: 11 months ago
JSON representation
Show CO2 level from you Foobot air quality monitor in your macOS menubar.
- Host: GitHub
- URL: https://github.com/floppy/bitbar-foobot-plugin
- Owner: Floppy
- License: mit
- Created: 2020-07-08T16:37:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-07-08T16:46:52.000Z (over 5 years ago)
- Last Synced: 2025-02-12T06:57:31.594Z (about 1 year ago)
- Topics: air-quality, bitbar, bitbar-plugin, co2, foobot
- Language: Ruby
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bitbar-foobot-plugin
A [Foobot](https://foobot.io/) plugin for [BitBar](https://getbitbar.com/) to show CO2 level. Useful for noticing when the air in your office has gotten stale.
## Installation
* Install [BitBar](https://getbitbar.com/).
* Copy co2.5m.rb into your BitBar plugins directory.
## Configuration
The `.5m.` in the filename governs how often the plugin updates; by default, this is 5 minutes. If you want it more or less regular, change the number.
You need to edit the script to enter your username, API key and device ID. To get these, get your device ID from the URL at https://dashboard.foobot.io/, and request an API key at https://api.foobot.io/apidoc/index.html.