Skip to content

wiltodelta/homeassistant-govee-smart-heater-h7131

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Govee Smart Heater H7131 Integration for Home Assistant

Overview

This guide provides step-by-step instructions for integrating the Govee Smart Heater H7131 into Home Assistant using the Govee Developer API.

Prerequisites

Before you begin, make sure you have the following:

Integration Steps

1. Obtain Govee Developer API Key

Use the Apply Govee-API-Key instructions to get your API key.

2. Get device ID using Govee Developer API

Make a request to the Govee Developer API to get the list of devices, replacing YOUR_GOVEE_API_KEY with the API key obtained in the previous step.

curl --location 'https://openapi.api.govee.com/router/api/v1/user/devices' \
--header 'Content-Type: application/json'
--header 'Govee-API-Key: YOUR_GOVEE_API_KEY'
wget --no-check-certificate --quiet \
  --method GET \
  --timeout=0 \
  --header 'Govee-API-Key: YOUR_GOVEE_API_KEY' \
  --header 'Content-Type: application/json' \
   'https://openapi.api.govee.com/router/api/v1/user/devices'

3. Configure Home Assistant

Add lines from configuration.yaml, scripts.yaml and secrets.yaml to your configuration files. You should replace YOUR_GOVEE_API_KEY and YOUR_DEVICE_ID in these files beforehand.

4. Restart Home Assistant

Restart Home Assistant to apply the changes made to the configuration.

5. Add a button to the Home Assistant panel

Screenshot

Happy automating! 🏡✨