Περιγραφή
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
Εγκατάσταση
- Download the plugin .zip archive and unpack it.
- Locate the plugin file and upload to your website Plugins folder.
- Log into WordPress and activate the plugin.
- Once the plugin is activated, go to
Settings > Foobot APIand add your Foobot API username and API key (Get your Foobot API key here). - Use the shortcode
[foobot-show-data device="foo"], wherefoois 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.
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Air Quality Data from Foobot” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Air Quality Data from Foobot” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
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

