this post was submitted on 17 Aug 2023
33 points (100.0% liked)

homeassistant

11833 readers
233 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I recently got solar installed at my place and was wondering if anyone had tips on things like:

  • Using the Energy dashboard effectively
  • Template Sensors I should set up for energy tracking
  • Graphs or visualising production/usage in dashboards
  • Automations that you've used to help save using energy from the grid
top 8 comments
sorted by: hot top controversial new old
[–] Cpo@lemm.ee 7 points 1 year ago (1 children)

Look up your inverter brand and pray there is an integration for it. Also: try to make your electrical meter smart to be able to tell the difference between pulling from grid and delivering to grid. If you already have a smart meter, see if it exposes some interface (like P1 with the DSMR protocol for example) to easily integrate the meter into home assistant.

I have done all this with a goodwe inverter and a kamstrup meter P1 port using a DSMR dongle.

If you need any pointers, dm me.

[–] yesterdayshero@lemmy.world 1 points 1 year ago (1 children)

Mine has an integration which is handy (enphase). But it doesn't tell me my grid usage. I'm trying to calculate it by taking my total consumption and subtracting my solar production. I think it roughly gives me the right overall number.

The problem is I can't seem to get how much I'm feeding back into the grid. I might be able to work it out with some sort of calculation.

I might DM you about the P1, as it sounds like that might do the job.

[–] Cpo@lemm.ee 4 points 1 year ago

For reference: smart meters like Kamstrup are in use all over the EU. Example of a p1 dongle is the "smart meter gateway" which can be read from home assistant via the DSMR integration or directly from mqtt.

This would give you the counters for exactly how much you have pulled from and pushed into the grid.

Can confirm this will integrate nicely into the energy dashboard.

And biggest tip: when you have configured everything, it will take up to 2 hours before any data is visible from the energy dashboard. This screwed me over quite a bit, needless to say :-)

[–] bigfish@reddthat.com 3 points 1 year ago* (last edited 1 year ago) (1 children)

I like knowing my daily production and keeping that on my mushroom dashboard. That's not an ootb metric on my SolarEdge system, but lifetime energy is. So I have an automation that records the total each night into a helper, and a Mushroom Template Chip card that does the math for me. It's simple but it does the job.

type: template content: >- Today: {{(states('sensor.solaredge_ac_energy_kwh')|float - states('input_number.solar_kwh_yesterday')|float )|round(2)}} kWh icon: mdi:chart-line

[–] yesterdayshero@lemmy.world 1 points 1 year ago

Nice one. My system has that with its integration which is good. I'm yet to put it into a graph. The part missing from mine is working out how much I'm using from the grid.

[–] aneel@fedia.io 2 points 1 year ago (1 children)

I've been enjoying the power-flow-card-plus and energy-flow-card-plus visualizations. I've also set up a custom Grafana graph (HA -> InfluxDB -> Grafana).

I'm following this description of how to get my data from the HTTP API on my Enphase Envoy unit.

[–] yesterdayshero@lemmy.world 1 points 1 year ago

Thanks heaps for that. At the moment I'm relying on my Enlighten app login. Will check them out.

[–] ThorAlex@infosec.pub 2 points 1 year ago

My solar is going up next week, so I've been experimenting a bit with working it into my current setup. I have import and export data from my smart meter, hourly electricity price from entso-e and a simulated solar production based on the lux reading from my outdoor pir sensors. To get real time production I specced an elko smart tag energy meter on the fuse for the inverter, as the solis is not easy for an amateur to get data out of. I also have smart relay on my water heater, and have been controlling this based on electricity price for a while now. I'm also working on adding the heat pump and bathroom heat, they will be set a couple of degreees lower when power is most expensive, and a couple higher when solar is produsing to "store" heat. Not sure how all this will work out yet so I'll not share the details before I'm sure it works, but I hope it gives som ideas.

For visualizations I use apexcharts, i can fit solar production, consumption and price with and without grid tariff in a single card, althought it's not quite perfekt yet.