In this article:
We often get asked if there is a myenergi API (or Application Programming Interface) that would allow you to create your computer programs to access and control your myenergi devices.
We don't currently have an "officially supported" API - we are working on an API that will be supported so watch this space.
For the time being, anyone interested in the API should look at the discussion on our forum https://myenergi.info/api-f54/
Obtaining an API key
Important - The API key is only available in the myaccount that was used to register the myenergi devices. If you are logged into a shared account then it is not possible to obtain the API key. If the "Advanced" button is not available please log out of myaccount and log back in again using the email address that was used when the devices were registered.
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.
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.
Thank you for reading this help centre page and taking an interest in the myenergi product range.
If you have any further issues or wish to speak with us directly please see below methods.
(+44) 333 240 5565
Monday-Friday 9 am - 5 pm