# Using maker edition to pull in data from my smart energy meter

**URL:** <https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860>\
**Category:** Maker\
**Created:** [January 28, 2024, 5:22pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860 "2024-01-28T17:22:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![batman01793](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@batman01793](https://forum.inductiveautomation.com/u/batman01793)\
**Post date:** [January 28, 2024, 5:22pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860/1 "2024-01-28T17:22:04Z")

</div>

Hi I know my energy provider (octopus energy) has an API so 3rd parties can pull the 30 min live data from the smart meters.  
I’m interested to see how this could be pulled in to ignition.  
This information could then be used to trigger switching off heating / lighting/sockets on determined trigger levels.  
Has anyone built any projects that do this?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 28, 2024, 5:27pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860/2 "2024-01-28T17:27:11Z")

</div>

I haven't seen any such mention on the forum, but lurkers might pop up. 😄

Meanwhile, can you provide a link to the API documentation?

---

<div class="post-metadata">

**Author:** ![batman01793](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@batman01793](https://forum.inductiveautomation.com/u/batman01793)\
**Post date:** [January 28, 2024, 5:41pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860/3 "2024-01-28T17:41:29Z")

</div>

[https://developer.octopus.energy/docs/api/](https://developer.octopus.energy/docs/api/)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 28, 2024, 5:55pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860/4 "2024-01-28T17:55:45Z")

</div>

Seems to be fairly straightforward. I'd use a gateway scheduled event that invokes a `GET` with `system.net.httpClient()` and stores the result in a document memory tag. The httpClient will decode the json resonses for you, so you can assign directly to the document tag. Follow that with whatever script actions you like for your house control decisions.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [March 4, 2024, 2:35pm UTC](https://forum.inductiveautomation.com/t/using-maker-edition-to-pull-in-data-from-my-smart-energy-meter/84860/5 "2024-03-04T14:35:39Z")

</div>

Hi @batman01793, I am also with octopus, but I use the [n3rgy](https://www.n3rgy.com/consumer/) API instead so it shouldn't matter if I switch supplier.
