| 开发者 | xylaender |
|---|---|
| 更新时间 | 2026年11月13日 22:27 |
| 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_month_review] – A month in review: temperature, rain and gust against the same month in earlier years, with a headline for what stands out; visitors page through the months without reloading (month, years, title)[naws_compare] – Two daily series from any modules in one chart over months and years, e.g. indoor against outdoor humidity; a second unit gets its own axis. A builder on the Shortcodes page writes the shortcode (a, b, from, to, months, title, height)[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_month_review] — a month in review: mean, highest and lowest temperature, rain and the strongest gust, each against the same month in earlier years, with a headline for what stands out. Visitors page through the months without reloading.[naws_compare] — two daily series from any modules in one chart over months and years, e.g. indoor against outdoor humidity. A builder on the Shortcodes page writes the shortcode and shows a live preview.[naws_table] grouped by day shows seven calendar days in local time in a stable order, [naws_current] shows its values without JavaScript, and SVG symbols keep their viewBox.[naws_live], [naws_current], [naws_table], the admin pages and the e-mail notifications; [naws_current] then shows only that name, without the type badge. An empty field keeps the Netatmo name. The REST API adds display_name beside module_name.GET /naws/v1/modules failed with HTTP 500 on every call.[naws_live] and [naws_history] and the cards of [naws_current] and [naws_live] build up when the visitor scrolls to them, not while the page loads out of sight. The curve rises from the floor as a soft wave and the chart fades in; the cards ease in. With reduced motion switched on in the system, everything is there at once.[naws_radar] showed RainViewer's colours on the DWD map. With DWD as the source it now runs from cyan through green, yellow and orange to red, like the map.[naws_table] and the REST API was a twelfth of what fell — it is a sum now, not an average.