| 开发者 | xylaender |
|---|---|
| 更新时间 | 2026年10月22日 22:26 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[naws_live] – Live sensor tiles with 24h trend charts and wind rose[naws_current] – Current readings of one or all modules as tiles or a list (module_id, parameters, layout, title)[naws_infobar] – Astronomy bar with sunrise, moon phase, felt temperature[naws_value] – Single inline sensor value[naws_calc] – Single computed value (dew point, felt temperature, sunrise, moon phase, …); full list on the Shortcodes page in the backend[naws_history] – Year-over-year comparison charts (supports year parameter)[naws_heatmap] – One year of outdoor daily average temperature as a calendar grid, one tile per day, with a year selector (year, title, legend)[naws_records] – Fifteen records from the daily summary with their dates, as tiles or a table (year, records, layout, title)[naws_on_this_day] – This calendar day in every earlier year, with the day's records marked (date, title)[naws_sunpath] – The sun on its arc over the station, with sunrise, solar noon, sunset and the day length (title)[naws_windrose] – Where the wind comes from and how hard, as a rose of 16 or 8 directions stacked by Beaufort class, with a period switcher (period, from, to, measure, sectors, show, switcher, size, title)[naws_sparkline] – A curve the size of a word: the raw readings of the last hours or a column of the daily summary, rain as bars, the band between daily low and high, time and value on hover; as a card or a month block too (param, hours, days, module, width, height, show, type, band, layout, title)[naws_sparkline_tiles] – The sparkline cards side by side in a grid that wraps by itself: temperature, humidity, pressure, wind, rain and CO2 by default (params, hours)[naws_forecast] – Multi-day weather forecast[naws_radar] – Animated rain radar around the station: Deutscher Wetterdienst in Germany (last hour plus two-hour nowcast), RainViewer elsewhere, on a grey OpenStreetMap map. Images are fetched by your server and served from your site (width, height, km, source). Must be switched on under Settings → Rain radar.[naws_table] – Readings as a table over a period, grouped by hour, day, week, month or year (module_id, parameters, period, limit, group_by, title)[naws_weather_widget] – Compact forecast widget for a sidebar (days 3 or 5, width 250–500, scheme light, dark or transparent, sparklines 0 or 1)[naws_weather_icon] – Just the animated icon for the current weather state (size); renders nothing when the state is unknownxtx-integration-for-netatmo folder to /wp-content/plugins/https://yoursite.com/wp-admin/admin.php?page=naws-settingsVisit dev.netatmo.com, log in with your Netatmo account, create a new application and copy the Client ID and Client Secret.
Netatmo sensors transmit every 5 minutes. The plugin sync interval is configurable (5–1440 minutes). Night mode reduces polling between 23:00–06:00.
Yes. The plugin includes a chunk-based historical importer that fetches data from the Netatmo getmeasure API without hitting rate limits.
Yes. Every endpoint is read-only, rate-limited, and requires an API key generated in the admin panel. The key is accepted in the X-NAWS-Key header only — never as a query parameter, so it cannot end up in access logs, the Referer header, browser history or a proxy along the way.
All sensitive data (OAuth tokens, client ID, client secret, API keys) is encrypted with AES-256-GCM before being stored in the database.
Yes. The Appearance page offers 130+ configurable colors with live preview, 4 icon sets, per-sensor colors, chart theming and year comparison palettes.
Yes. The Export/Import feature lets you download weather data, module configs and all settings as JSON. Ideal for migrating to a new WordPress installation.
Open-Meteo (global, default) and Yr.no / MET Norway (optimized for Northern Europe). Both are free and require no API key.
Open XTX Netatmo → Notifications and press "Send test mail". If the page reports that the mail could not be sent, your server sends no mail at all: an SMTP plugin or your hosting provider fixes that, not the plugin. If the test mail arrives but no notifications do, check that the master switch and the rule are switched on and look at the log on the same page. Notifications go out only when a state changes; a battery that has been low since before you switched the rule on is reported at the next fetch, not again afterwards.
[naws_table] and the REST API was a twelfth of what fell — it is a sum now, not an average.global, which finds nothing inside the function these plugins run. The tab, now "PHP / Snippet", shows a [wetter_aktuell] shortcode with the key in the header, a five-minute cache and a copy button.X-NAWS-Key header.[naws_radar] — an animated rain radar around the station: Deutscher Wetterdienst in Germany (the last hour plus a two-hour nowcast), RainViewer elsewhere, on a grey OpenStreetMap map. Play runs through the images once; + and − zoom in around the station, and the enlarged map can be dragged. Your server fetches and stores the images, so visitors never contact a weather service. Nothing is fetched until "Allow rain radar" is switched on under Settings › Rain radar; colours on a new Appearance tab, Rain radar.[naws_records] and [naws_on_this_day]; an empty field follows the base theme. Under Chart Theming three colours for the expand button of the live and history charts.[naws_history] in a leap year. The day was placed after the 31st of December; the axis has 366 days now.
Older versions: the complete changelog since 1.0.0 is kept in CHANGELOG.md on GitHub.