A Home Assistant integration for automatically reporting temperature to Temperatur.nu with support for multiple sensors and intelligent aggregation.
Swedish version below / Svenska beskrivning nedan
Bug Fix Release - Fixed critical issue preventing sensor creation in some configurations. See CHANGELOG.md for details.
No breaking changes - all existing configurations will continue to work.
Before you can use this integration, you need an account at Temperatur.nu:
- Go to www.temperatur.nu
- Click "Create account" or "Register"
- Fill in the form with username, email, password, and location
- Verify your account via email
- Log in and find your hash code in account/reporting settings
- Copy the hash code - you'll need it to configure the integration
- Open HACS in Home Assistant
- Click on "Integrations"
- Click the menu in top right corner (three dots)
- Select "Custom repositories"
- Add URL:
https://github.com/frodr1k/RapporteraTempHA - Select category: "Integration"
- Click "Add"
- Find "Report Temperature" in the list and click "Download"
- Restart Home Assistant
- Go to Settings → Devices & Services
- Click + ADD INTEGRATION
- Search for "Report Temperature"
- Follow the instructions:
- Enter your hash code from Temperatur.nu
- Select 1-3 temperature sensors
- Choose aggregation method (minimum or mean)
- Enter reporting interval (minutes)
- Multiple sensor support - Select up to 3 temperature sensors
- Smart aggregation - Choose minimum (recommended) or mean value
- Shade temperature guarantee - Using multiple sensors with minimum value ensures accurate shade temperature reporting
- Temperature sensor - Aggregated temperature available as a separate sensor for automations
- GUI-based configuration - Easy setup through Home Assistant UI
- Automatic reporting - Configurable interval between 1-60 minutes
- Status tracking - Monitor last report status and individual sensor temperatures
Using 2-3 sensors with minimum aggregation virtually guarantees accurate shade temperature reporting. Since different sensors may be exposed to sun at different times, the lowest reading will almost always be from the sensor in shade. This is especially important for accurate weather reporting.
The integration creates two sensors:
-
Status Sensor - Shows reporting status with attributes including:
- Individual sensor temperatures
- Aggregation method
- Last reported temperature
- Update status and messages
-
Temperature Sensor - The aggregated temperature value that can be used in:
- Automations
- Graphs and history
- Other integrations
- Mean temperature calculations over time
If you have problems or suggestions, create an issue on GitHub.
MIT License
En Home Assistant-integration för att automatiskt rapportera temperatur till Temperatur.nu med stöd för flera sensorer och intelligent aggregering.
Innan du kan använda denna integration behöver du ett konto på Temperatur.nu:
- Gå till www.temperatur.nu
- Klicka på "Skapa konto" eller "Registrera dig"
- Fyll i formuläret med användarnamn, e-post, lösenord och plats
- Verifiera ditt konto via e-post
- Logga in och hitta din hash-kod under kontoinställningar
- Kopiera hash-koden - du behöver den för konfigurationen
- Öppna HACS i Home Assistant
- Klicka på "Integrations"
- Klicka på menyn längst upp till höger (tre prickar)
- Välj "Custom repositories"
- Lägg till URL:en:
https://github.com/frodr1k/RapporteraTempHA - Välj kategori: "Integration"
- Klicka "Add"
- Hitta "Rapportera Temperatur" i listan och klicka "Download"
- Starta om Home Assistant
- Gå till Inställningar → Enheter & tjänster
- Klicka på + LÄGG TILL INTEGRATION
- Sök efter "Rapportera Temperatur"
- Följ instruktionerna:
- Ange din hash-kod från Temperatur.nu
- Välj 1-3 temperatursensorer
- Välj aggregeringsmetod (minimum eller medelvärde)
- Ange rapporteringsintervall (minuter)
- Stöd för flera sensorer - Välj upp till 3 temperatursensorer
- Smart aggregering - Välj minimum (rekommenderat) eller medelvärde
- Skuggtemperatur-garanti - Flera sensorer med minimum-värde säkerställer korrekt skuggtemperatur
- Temperatursensor - Aggregerad temperatur tillgänglig som separat sensor för automationer
- GUI-baserad konfiguration - Enkel konfiguration genom Home Assistant UI
- Automatisk rapportering - Konfigurerbart intervall mellan 1-60 minuter
- Statusövervakning - Se senaste rapporteringsstatus och individuella sensortemperaturer
Att använda 2-3 sensorer med minimum-aggregering garanterar nästan alltid korrekt skuggtemperatur. Eftersom olika sensorer kan exponeras för sol vid olika tidpunkter kommer den lägsta avläsningen nästan alltid vara från sensorn i skugga. Detta är särskilt viktigt för korrekt väderrapportering.
Integrationen skapar två sensorer:
-
Statussensor - Visar rapporteringsstatus med attribut som inkluderar:
- Individuella sensortemperaturer
- Aggregeringsmetod
- Senast rapporterade temperatur
- Uppdateringsstatus och meddelanden
-
Temperatursensor - Det aggregerade temperaturvärdet som kan användas i:
- Automationer
- Grafer och historik
- Andra integrationer
- Medeltemperatur-beräkningar över tid
Om du har problem eller förslag, skapa ett issue på GitHub.
MIT License