WattTime
The WattTime integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] allows users to get real-time emissions data for a latitude/longitude from WattTime
Registering an account
WattTime account registration is accomplished via the REST API itself
curl -X "POST" "https://api2.watttime.org/v2/register" \
-H 'Content-Type: application/json' \
-d '{
"username": "<USERNAME>",
"password": "<PASSWORD>",
"email": "<EMAIL>",
"org": "<ORG>"
}'
Note that the org
value can be anything you like – it doesn’t need to represent a real entity.
配置
要将 WattTime service 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 WattTime。
-
按照屏幕上的说明完成设置。
Sensors
The sensors available to you will depend on the type of WattTime subscription you have. You can reach out to WattTime to upgrade your subscription via their website
Name | Subscription Level | Meaning |
---|---|---|
Marginal Operating Emissions Rate | Pro | The currently measured amount of lbs of CO2 per MWh |
Relative Marginal Emissions Intensity | All | A percentage between the lowest (cleanest) and highest (highest) MOER values observed in the past two weeks |
You can learn more about the data that WattTime collects by viewing these articles: