Skip to content

tommyrsk/trasmatech_electricity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrasMaTech - Electricity Meter - Home Assistant

Custom Integration for integrating Electricity Meter that use HAN / API.

The readings are approximately 2 minutes old when looking in Home Assistant.

For the moment there is only support for the Norwegian OSS-device used by Å Strøm.
(More updates will arrive)

Per time (temporary): the "token" and "meter id" needs to be extracted out after authenticated through the https://api.services.oss.no/swagger/index.html
(and yes, you need to have a registered email address from OSS that you are getting the authsecret on, that you need to use)

Temporary Procedure (step-by-step):

  1. "Authentication step 1: Start authentication procedure"
  2. "Authentication step 2: Complete authentication procedure"
    • authid is result from step 1, and authSecret is coming to your email
  3. Now you need to "Authorize" with the token you got in step 2. authorize is own button up to right above the list of commands 4: "Authentication step 3: Creates a new Public API token for this account"
    • Suggesting to set "expires" to one year ahead.
    • Suggesting to set "friendlyName" to "HomeAssistant"
    • Take care of this encodedToken, you need it for the HomeAssistant as token. If you loose it, you have to create a new one
  4. Now you need to logout "Authorize". And ReAuthorize with the token you got in step 4.
    • authorize is own button up to right above the list of commands
  5. "Get meters for an account"
    • Read out the meterNumber from the result, you need it for the HomeAssistant.

About

Custom Integration of electricy meter with HAN / API compatible unit with Home Assistant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages