# Import E.ON W1000 energy meter data to Home Assistant: n8n workflow

> Started by a clock, and works across Email and Gmail. 32 steps, 2 branches: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/import-e-on-w1000-energy-meter-data-to-home-assistant (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Data collection](https://millionrounds.com/workflows?category=Data+collection#library)

# Import E.ON W1000 energy meter data to Home Assistant

Started by a clock, and works across Email and Gmail. 32 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fimport-e-on-w1000-energy-meter-data-to-home-assistant)

**32 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 18 Service 12

The steps in the order they run, from what starts it.

- 1 **Gmail Trigger** Gmail trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **Email Trigger (IMAP)** Email Read Imap *Service*
- 4 **Check Email Subject** If *Logic*
- 5 **Get last 5 messages** Gmail *Service*
- 6 **If attachment_0 is xlsx** If *Logic*
- 7 **Aggregate_id** Aggregate *Logic*
- 8 **No Operation, do nothing1** No Op *Logic*
- 9 **Extract from File** Extract From File *Service*
- 10 **Get a message[0]** Gmail *Service*
- 11 **Extract default data from source (+A)** Split Out *Logic*
- 12 **Extract '*_1' data from source (-A)** Split Out *Logic*
- 13 **Extract '*_2' data from source (1_8_0)** Split Out *Logic*
- 14 **Extract '*_3' data from source (2_8_0)** Split Out *Logic*
- 15 **Rename "*_1" keys for merge3** Rename Keys *Service*
- 16 **Rename "*_1" keys for merge** Rename Keys *Service*
- 17 **Rename "*_1" keys for merge1** Rename Keys *Service*
- 18 **Rename "*_1" keys for merge2** Rename Keys *Service*
- 19 **Merge (+A; -A)** Merge *Logic*
- 20 **Merge (+A; -A)1** Merge *Logic*
- 21 **Merge (+A; -A)2** Merge *Logic*
- 22 **Convert Excel time** Date Time *Logic*
- 23 **Convert datetime to Spook format** Date Time *Logic*
- 24 **Calculate hourly sum and** Code *Logic*
- 25 **Generate 1_8_0 list for stats** Set *Logic*
- 26 **Generate 2_8_0 list for stats** Set *Logic*
- 27 **Generate 1_8_0 stats** Aggregate *Logic*
- 28 **Generate 2_8_0 stats** Aggregate *Logic*
- 29 **Spook: update +A hitorical data1** Home Assistant *Service*
- 30 **Spook: update -A hitorical data1** Home Assistant *Service*
- 31 **Update input_number.import entity state1** Home Assistant *Service*
- 32 **Update input_number.exportt entity state1** Home Assistant *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 32, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Email, Gmail
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Email and Gmail accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 32 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 32 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fimport-e-on-w1000-energy-meter-data-to-home-assistant)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)

## Workflows like it

Also data collection, with the same services where possible, closest in size first.

- [**Track fitness class attendance and retention** 32 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/track-fitness-class-attendance-and-retention)
- [**Build an omnichannel OTP verification flow with Postgres** 33 steps · Email, Postgres](https://millionrounds.com/workflow/build-an-omnichannel-otp-verification-flow-with-postgres)
- [**Manage finances, tasks, tweets and Gmail with OpenAI** 33 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-finances-tasks-tweets-and-gmail-with-openai)
- [**Passbolt API - password export** 30 steps · Email](https://millionrounds.com/workflow/passbolt-api-password-export)
- [**Register users and authenticate with Google Sheets** 30 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/register-users-and-authenticate-with-google-sheets)
- [**Advanced usage of Forms with OpenAI and Gmail** 30 steps · calls a model · Gmail, Notion](https://millionrounds.com/workflow/advanced-usage-of-forms-with-openai-and-gmail)
