Luftdaten Live Widget is a WordPress Widget which helps to show live data from a sensor node registered at sensor.community.
Choose a Widget title and provide a sensor ID. After saving this information, you can customize the text shown for each sensor value.
You can find the sensor ID at https://devices.sensor.community/sensors. If they are not owned by yourself, you can find them by searching on the map at https://sensor.community/.
Widgets can be used with shortcodes, too! Examples:
[feinstaublive title=”Titel” sensorIDs=”260,262″]
[feinstaubampel title=”Titel” sensorIDs=”260″]
An additional shortcode is the map:
[feinstaubkarte sensorIDs=”255,260,262″ zoom=”13″]
Thanks to bleeptrack who wrote this great plugin!
Thank for testing and contributing patches: networx,alexschnapper,abulvenz!
Contributors & Developers
“Luftdaten Live Widget” is open source software. The following people have contributed to this plugin.Contributors
“Luftdaten Live Widget” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Luftdaten Live Widget” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
*Bugfix: Error if whitespaces between sensor ids
*Bugfix: Error if sensor offline
*new Widget: colorful widget for showing the current PM values. Turns red if over EU threshold.
*new Shortcodes: widgets can now be used with shortcodes. See description
*Bugfix: faulty color on value 10
*optional info text
*Time is now fetchted from WordPress GTM
*JSON Requests zu luftdaten api are cached for 120s
*A map is available as shortcode.
*removed faulty var_dump
*added support for http and https iframes
*added notification if wrong tick have been copied from the wordpress side for shortcodes
*patches for php 8.1
*change to new sensor.community urls