We often get asked if there is a myenergi API (or Application Programming Interface) that would allow you to create your own computer programs to access and control your myenergi devices.
We don't currently have an "officially supported" API - there is an API but it was developed for internal use so it's not as accessible as we would like.
For the time being, anyone interested in the API should look at the discussion on our forum https://myenergi.info/api-f54/
Please note that some features in the API will be considered "premium" so we may make a small charge to access these in the future to contribute towards the costs of developing and maintaining the infrastructure needed to support this feature.
Obtaining an API key
To access the myenergi API you will need the serial number of your hub and an API key.
This is a special code, unique to your system that is used to validate any calls that you make to the API.
To obtain your API key you first need to login into your account at myaccount.myenergi.com.
Navigate to the Products page At the top of the device list is your "Gateway Device" - either a myenergi hub, or another device with built in Ethernet/WiFi which is providing the link to the internet for all your myenergi devices.
Click on the button labelled "Advanced" with small key icon.
The Advanced Options window will now open.
Click on "Generate new API key"
When you generate a new API key it will cancel your previous key if you have one.
The system checks to make sure that you really do want to generate a new key.
Click on "Yes, I am sure" to proceed
The new API key will displayed.
There is the only time that the key will be shown so make a note of it or select the option to copy the key to the clipboard.
If you lose the key you can always generate a new one by following these steps again.
Comments
0 comments
Please sign in to leave a comment.