Automation library · Data collection

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

32 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Logic 18Service 12

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

  1. 1Gmail TriggerGmail triggerStarts it
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3Email Trigger (IMAP)Email Read ImapService
  4. 4Check Email SubjectIfLogic
  5. 5Get last 5 messagesGmailService
  6. 6If attachment_0 is xlsxIfLogic
  7. 7Aggregate_idAggregateLogic
  8. 8No Operation, do nothing1No OpLogic
  9. 9Extract from FileExtract From FileService
  10. 10Get a message[0]GmailService
  11. 11Extract default data from source (+A)Split OutLogic
  12. 12Extract '*_1' data from source (-A)Split OutLogic
  13. 13Extract '*_2' data from source (1_8_0)Split OutLogic
  14. 14Extract '*_3' data from source (2_8_0)Split OutLogic
  15. 15Rename "*_1" keys for merge3Rename KeysService
  16. 16Rename "*_1" keys for mergeRename KeysService
  17. 17Rename "*_1" keys for merge1Rename KeysService
  18. 18Rename "*_1" keys for merge2Rename KeysService
  19. 19Merge (+A; -A)MergeLogic
  20. 20Merge (+A; -A)1MergeLogic
  21. 21Merge (+A; -A)2MergeLogic
  22. 22Convert Excel timeDate TimeLogic
  23. 23Convert datetime to Spook formatDate TimeLogic
  24. 24Calculate hourly sum andCodeLogic
  25. 25Generate 1_8_0 list for statsSetLogic
  26. 26Generate 2_8_0 list for statsSetLogic
  27. 27Generate 1_8_0 statsAggregateLogic
  28. 28Generate 2_8_0 statsAggregateLogic
  29. 29Spook: update +A hitorical data1Home AssistantService
  30. 30Spook: update -A hitorical data1Home AssistantService
  31. 31Update input_number.import entity state1Home AssistantService
  32. 32Update input_number.exportt entity state1Home AssistantService

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.