A KDE Plasma widget that displays real-time weather data from your Ambient Weather station.
- Panel Integration: Compact temperature display in your panel with click-to-expand popup
- Real-time Data: Direct connection to Ambient Weather API
- Comprehensive Weather Data: Temperature, humidity, wind, pressure, UV index
- Theme Integration: Follows your Plasma theme colors and styling
- Error Handling: Clear error messages and connection testing
- KDE Plasma 6.0 or later
- Qt 6.0 or later
- Active internet connection
- Ambient Weather station with API access
-
Download all the widget files to a directory
-
Create the widget directory structure:
mkdir -p ~/.local/share/plasma/plasmoids/org.kde.plasma.ambientweather/contents/ui- Copy the files:
# Copy main widget file
cp main.qml ~/.local/share/plasma/plasmoids/org.kde.plasma.ambientweather/contents/ui/
# Copy metadata
cp metadata.json ~/.local/share/plasma/plasmoids/org.kde.plasma.ambientweather/- Restart Plasma:
plasmashell --replace &- Create an Account: Go to ambientweather.net and log into your account
- Access API Settings: Navigate to Account → API Keys
- Generate Keys:
- Create an API Key
- Create an Application Key
- Note your weather station's MAC Address from the device list
- Create configuration file:
nano ~/.local/share/plasma/plasmoids/org.kde.plasma.ambientweather/apiconfig.txt- Add your Credentials:
apiKey=YOUR_API_KEY_HERE
applicationKey=YOUR_APPLICATION_KEY_HERE
macAddress=YOUR_MAC_ADDRESS_HERE
- Save configuration file:
- Use Ctrl-X to exit, select Yes to save.
- Add Widget: Right-click on desktop/panel → Add Widgets → Search "Ambient Weather"
- Shows current outdoor temperature
- Hover for basic weather info tooltip
- Click to open detailed weather popup
Shows weather data including:
- Current temperature and "feels like" temperature
- Humidity and barometric pressure
- Wind speed and direction
- UV index
- Last update time
- Restart Plasma:
plasmashell --replace & - Check installation path:
~/.local/share/plasma/plasmoids/ - Verify file permissions
- Verify API credentials in Ambient Weather account
- Check internet connection
- Ensure MAC address is correct (no colons or dashes)
- Verify API rate limits (Ambient Weather allows 1 call per second, 288 calls per day)
- Check network connectivity
- "Missing API credentials": Enter API keys and MAC address in configuration
- "API Error: 401": Invalid API credentials
- "API Error: 404": Device not found, check MAC address
- "API Error: 429": Exceeded API rate limit
- "No data received": Device may be offline or not reporting
org.kde.plasma.ambientweather/
├── metadata.json # Widget metadata and information
├── contents/
│ ├── ui/
│ │ └── main.qml # Main widget implementation
- Clone the repository
- Modify the QML files as needed
- Test using
plasmoidviewer:
plasmoidviewer -a /path/to/widget/directory- Report bugs via GitHub issues
- Submit pull requests for improvements
- Follow KDE development guidelines
- Test on Plasma 6.0+
GPL-2.0 - See LICENSE file for details
- Issues: Report bugs and feature requests on GitHub
- Documentation: KDE Plasma widget development docs
- Community: KDE community forums and chat
- Initial release
- Panel integration with popup
- Full Ambient Weather API support
- Theme integration and error handling

