I have an in-house energy meter on my fridge that connects via ZigBee to my smart meter and displays stats about energy usage/production - especially interesting given I have a solar PV system as well.
So my (simple) thought process is this: If I’m able to connect to the smart meter via ZigBee I should be able to connect to this smart meter from Hass.io given it has ZigBee support. And once the data is in Hass.io what is done with it is another topic.
Has anyone successfully connected to their Australian smart meters? What’s involved?
Curious what provider your using? I’m with Origin in NSW and also have a smart meter that has zigbee built in, but to my knowledge Origin don’t give you the ability to connet to it. I’ve been looking at getting IoTaWatt as a result but would much prefer connect direct.
My retailer is Alinta Energy but I believe the network belongs to United Energy. They have an online portal energyeasy.ue.com.au that lets you access data online but as far as I know there’s no way to access this data via other means - other than maybe to re-engineer the webpage which would be crazy to do and obvisouly not above board
Tried to set this up. Referencing the following path I assumed the
<homeassistant-user-configuration-directory>
is where the configuration.yaml file sits. From there I created custom_components/sensor and copied energyeasy.py into.
I then updated configuration.yaml with the configuration example as shown in the GitHub page.
Lastly I ran
ha core check
and got the error message
Error: Testing configuration at /config
Failed config
General Errors:
- Platform error sensor.energyeasy - No module named 'custom_components.energyeasy.sensor'; 'custom_components.energyeasy' is not a package
Successful config (partial)
Could this be a file access issue? Do I need to enable anything so Python scripts can run?
The custom components folder structure changed about a year ago so rename the folder and .py file from: /custom_components/sensor/energyeasy.py
to: /custom_components/energyeasy/sensor.py
Still the same outcome… btw this is the first sensor I install on the system and I feel pretty “clumsy” at the moment. Certainly at the deep end of the learning curve.
When I run the
ha core check
command still get the same error even after renaming the folder/file accordingly
General error: - Platform error sensor.energyeasy - Integration 'energyeasy' not found
Checked/changed the permission to 755 on sensor.py as the file is owned by root:root but this didn’t change the outcome.
To recap I made the following additions to configuration.yaml
I’m trying to work myself through this - one step at a time. Being new to HA doesn’t help but it looks like the installation is now ok.
Are there any code samples I could adopt to get this data onto my dashboard? Looking at the documentation I believe the template platform is the way to go but given this is the first custom_component I install I’m really tapping in the dark.
Finally got around to try this out. After installing the various cards (with HACS) the card you provided saved but it doesn’t display any cards other than the title.
Even if no data was to come in due to say authentication issues I should still see the various cards, right?
I have used the standard file on GitHub and your config. Had to install a few components such as vertical-stack-in-card and mini-graph-card but after that I could save the integration.
Having examined the log file I found another error: “… integration energyeasy not found”. Thought this error was fixed but apparently not. As advised earlier I have changed the folder structure
from /custom_components/sensor/energyeasy.py
to: /custom_components/energyeasy/sensor.py
Could you please provide the corresponding configuration.yaml extract that relates to this integration to eliminate that I have introduced some errors there. txs
That looks sweet and gives you great insight. Had a quick look at Powercor’s portal which on first sight looks to be similar to United Energy’s portal. Couldn’t you directly get this data from Powercor’s portal rather than directly from the smartmeter which I believe is what you do with the Eagle-200 unless I don’t understand this correctly.
On my end I finally got the integration up. It must have been an issue with the Python script I installed first. Re-installed and it was ok. Didn’t yet make any comparison on the data on Home Assistant vs what I get on the portal but small steps…
I’m not that handy at coding, so I took the easy way out.
It all depends on how detailed you want the data.
Using data from the Powercor website only appears to be in 30 minute increments.
As for accessing my usage via the Eagle, it is real time.
When I turn the kettle on, I see an immediate rise in usage.
Good work with the script - It’s awesome to see people developing smart meter access.
It was that access to data we were promised years ago when they installed them.