该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Luftdaten Live Widget

描述

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!

评价

2017 年 5 月 4 日
Das Luftdaten Live Widget macht genau das was es soll, einfache Installation, Einbindung in die Widgets problemlos, das Anzeigen der Sensoren IDs auch optimal. Danke, weiter so.
2017 年 5 月 3 日
Klar kann man es noch verbessern (Link zur Karte, mittige Darstellung der Ampel), aber ich finde das alles schon sehr großartig und freue mich, dass @bleeptrack das für uns alle anbietet. Thx!
2017 年 4 月 12 日
Schlankes und funktionales Widget. Verbesserungsvorschläge wurden prompt umgesetzt, freue mich bereits auf die integration der Karte 🙂 Ausgezeichneter und sehr netter Premium-Support!
阅读所有3条评价

贡献者及开发者

「Luftdaten Live Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Luftdaten Live Widget」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Luftdaten Live Widget」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

*Bugfix: Error if whitespaces between sensor ids
*Bugfix: Error if sensor offline

1.1

*new Widget: colorful widget for showing the current PM values. Turns red if over EU threshold.

1.2

*new Shortcodes: widgets can now be used with shortcodes. See description

1.2.1

*Bugfix: faulty color on value 10
*optional unit
*optional info text

1.3.0

*Minor Bugfixs
*Time is now fetchted from WordPress GTM
*JSON Requests zu luftdaten api are cached for 120s
*A map is available as shortcode.

1.3.1

*removed faulty var_dump

1.3.2

*added support for http and https iframes
*added notification if wrong tick have been copied from the wordpress side for shortcodes

1.4.0

*patches for php 8.1
*change to new sensor.community urls
*minor cleanups