Air Quality Data from Foobot

विवरण

This plugin lets you show the data from one or more Foobot Air Quality Monitors on your WordPress site.Apart from a Foobot device, you will need to request an API key from the Foobot API website.

Credits

Icon made by Vitaly Gorbachev from www.flaticon.com

स्क्रीनशॉट्स

इंस्टॉलेशन

  1. Download the plugin .zip archive and unpack it.
  2. Locate the plugin file and upload to your website Plugins folder.
  3. Log into WordPress and activate the plugin.
  4. Once the plugin is activated, go to Settings > Foobot API and add your Foobot API username and API key (Get your Foobot API key here).
  5. Use the shortcode [foobot-show-data device="foo"], where foo is your device name, to show the world your AQ data!

सामान्य प्रश्न

Do I need to have a Foobot device to use this plugin

No, but you do need access to one via the Foobot API in order to display data on your site.

Can you sell me a Foobot Air Quality Monitor?

Sorry, no. I need both of mine for testing purposes.

समीक्षाएं

इस प्लगइन के लिए कोई समीक्षा नहीं है।

सहायक &डेवलपर्स

यह खुला स्रोत सॉफ्टवेयर है। अनुगामी लोगो ने इस प्लगइन के लिए योगदान दिया है।

योगदानकर्ता

बदलाव विवरण

1.3.0

  • Add a list of devices found on your Foobot account to the settings page, each with a ready-to-copy shortcode
  • Add a “Test Connection” button and a “Last data received” indicator to the settings page
  • Add an option to show a device’s latest reading in the WordPress admin bar, with the full sensor breakdown and last-updated time on hover
  • Mask the saved API key on the settings screen instead of showing it in full
  • Fix stored/reflected XSS: escape device name and Foobot API-derived sensor values before output
  • Fix fatal error on PHP 8+ when no device data exists yet (e.g. fresh install with no API key configured)
  • Fix uninstall.php referencing an undefined constant, which silently skipped cleanup on uninstall
  • Stop sending the API key in the request URL query string (it’s already sent via header)
  • Sanitize the API credentials setting on save, not just when displayed
  • Fix an ORDER BY bug that could return a stale device/reading instead of the most recent one
  • Add PHPUnit test suite and WordPress Coding Standards linting
  • Add GitHub Actions CI (tests on every push/PR) and tag-triggered WordPress.org deploy
  • Reformat codebase to WordPress Coding Standards
  • Confirm compatibility with WordPress 7.0

1.2.1

  • Fix database error

1.2

  • Display data timestamp in WordPress format
  • Use system fonts
  • Force temp to show decimals

1.1

  • Add credits and assets for plugin repo

1.0

  • Initial plugin version