We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

4 Years of Energy Management with openHAB

00:00

Formale Metadaten

Titel
4 Years of Energy Management with openHAB
Untertitel
A personal story about smart homes, PV systems and EVs.
Serientitel
Anzahl der Teile
542
Autor
Lizenz
CC-Namensnennung 2.0 Belgien:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
This talk is about my personal story and experiences around energy use cases at home, which I have mainly realized with the smart home software openHAB. It starts with energy monitoring of the smart home from electricity to heating and room temperatures and goes on to tracking a photovoltaic system and managing its surplus production, e.g. for charging an electric vehicle. Besides the technical use-cases, we will also have a look at environmental impact and the potential cost savings.
14
15
43
87
Vorschaubild
26:29
146
Vorschaubild
18:05
199
207
Vorschaubild
22:17
264
278
Vorschaubild
30:52
293
Vorschaubild
15:53
341
Vorschaubild
31:01
354
359
410
DatenverwaltungProjektive EbenePlastikkarteEnergiedichteGebäude <Mathematik>DatenverwaltungTermSoftware
GamecontrollerWasserdampftafelPhysikalisches SystemSoftwareProjektive EbeneEinflussgrößeMultiplikationsoperatorComputeranimation
Gewicht <Ausgleichsrechnung>EinflussgrößeStatistikDezimalzahlDatentypEnergiedichteEnergiedichteTermInterface <Schaltung>MultiplikationsoperatorStrömungsrichtungZahlenbereichFrequenzBus <Informatik>SchlussregelBenutzeroberflächeFunktion <Mathematik>BinärcodeOpen SourceAntwortfunktionExistenzaussageLeistung <Physik>Protokoll <Datenverarbeitungssystem>Physikalisches SystemVisualisierungTreiber <Programm>KorrelationsfunktionGamecontrollerRichtungInternetworkingFokalpunktKontrast <Statistik>Spezielle unitäre GruppeBitGraphRhombus <Mathematik>MinimalgradLokales MinimumGraphfärbungSoundverarbeitungPhasenumwandlungProjektive EbeneVirtuelle MaschineFamilie <Mathematik>RechenbuchBrowserBenutzerschnittstellenverwaltungssystemARM <Computerarchitektur>ZählenEin-AusgabeBitrateStrömungsdrosselDesign by ContractExergieStellenringFigurierte ZahlOffene MengeMathematikMeterComputeranimation
EinflussgrößeNeunzehnCASE <Informatik>Physikalisches SystemMultiplikationsoperatorMeterAggregatzustandSystemprogrammDatensichtgerätVirtuelle MaschinePotenzielle EnergieEnergiedichteDatenverwaltungDifferenteHardwareOrdnung <Mathematik>MAPStellenringEndliche ModelltheorieLastStandardabweichungKonfiguration <Informatik>Spezielle unitäre GruppeSoundverarbeitungARM <Computerarchitektur>Leistung <Physik>PlastikkarteEreignishorizontTypentheorieQuelle <Physik>Element <Gruppentheorie>KurvenanpassungDatenfeldEinfache GenauigkeitService providerTeilbarkeitComputeranimation
Leistung <Physik>EnergiedichteCASE <Informatik>SchaltnetzMereologiePhysikalisches SystemPrototypingComputeranimation
Ideal <Mathematik>Leistung <Physik>BitProgrammfehlerSystemprogrammCASE <Informatik>MomentenproblemNetz <Graphische Darstellung>MeterMAPSchlussregelOrtsoperatorSpezielle unitäre GruppeVirtuelle MaschineOffene MengeMultiplikationsoperatorOffice-PaketFirmwareJukebox <Datentechnik>SoundverarbeitungEnergiedichteMultifunktionMathematikMittelwertMereologieBitrateAggregatzustandPhysikalische TheorieARM <Computerarchitektur>ComputerspielGeradeSchlüsselverwaltungLokales MinimumGemeinsamer SpeicherCOMDiagramm
Flussdiagramm
Transkript: Englisch(automatisch erzeugt)
So let us get started. It's great to see such a crowded room here. I hope you're not all here just for the next talk to grab a seat. So my name is Kai, I'm a software architect and a project lead and founder of the project OpenHub.
I'm not going to talk about OpenHub for smart home today here in that talk. If you're interested in that project come to see me at our booth directly here in that building at the entrance. But I'm going to talk about more or less my personal story as a consumer, as an end-user in terms of energy management. My experience is there over the years and
the story actually goes much further back than four years. So it all started already 15 years when we built a house and I more or less electrified everything possible in there. So starting from the lights, okay, not that many people use candles nowadays anymore, sure,
but also heating is all electric, warm water through a heat pump, our photovoltaic system on the roof. So everything was nicely connected to a KNX system, so controllable I could get all measurements, but what was missing at the time was to really have some software that really helps me to visualize things, to
control things and so on. And that's why I started the OpenHub project in year 2010 directly as an open source project with the intention to have a system that allows me to create overarching rules and overarching user interfaces over all things
I have at home that have somehow an API that I can somehow connect to and to have such a system in place. Special focus in contrast to all the commercial solutions out there was on local control. I said, well, it's my home. I have all the devices at home there. They should talk locally with each other.
I want to have all my data locally and I don't want to have any dependency on the internet for that system. By now OpenHub grew quite a community and we have more than 400 different so-called bindings, which are more or less drivers for certain radio protocols. Other systems, technologies to reach out and to really combine into one single system.
And so you can more or less get everything what is available at home into that solution. Now, in terms of energy, what I did is that I hooked up such electric meters with an S0 interface in my electrical cabinet, which simply provide impulses as an output.
And I hooked them up to a KNX binary input, which then simply provide those on the KNX bus and created simple rules in OpenHub that count the number of ticks for a certain period of time
to calculate the current power out of that. And as you can see here from the graph, I have several of these meters. So one for heating and blue here, which usually really turns on and off load. Simply the green that was now one day last week here. So winter and not that sunny as the photovoltaic power produced.
And in yellow, the household energy that we use for more or less all the rest at home. Now, having that in the browser as a visualization is quite nice, but how to engage my family members to actually also get a feeling about the consumed energy. Well, we put up a fairly simple device here, an energy light,
which is basically an IKEA lamp with a Philips Hue bulb inside and a fairly simple rule in OpenHub that you can see here, which simply says whenever our household power changes, then if it's not night, because then we want all lights off, calculate U value ranging from green over yellow to red
and simply post that as a new color to that light bulb. And interestingly, that is a device that somehow goes a bit to your unconsciousness over time. So we're passing that many times a day or in the house and you suddenly feel after a while
that something doesn't seem to be normal. I didn't turn the dishwasher on or the washing machine and still it's showing red. So let's think what I might have forgotten. So it really gives a sense of and a feeling about the energy usage at home, not just for me, but also for other family members, which is a nice effect on that one.
Now for monitoring heating energy, this is quite a nice visualization, which shows a calendar here. This one shows last December, where you might remember here in central Europe, we had a very cold phase in the middle and it was fairly mild over Christmas and towards the end.
And so the background color here on each single day shows the minimum temperature of that day, ranging from minus 10 degrees that we had at home to, I think on New Year's Eve, it was around 11 degrees minimum temperature that day. And the diamonds here show then the used energy for heating that day.
And you see a very nice correlation here between those two figures. So that this can be also used to see whether everything works nicely or if you should actually check if something's not right. For monitoring photovoltaic system,
if you're set up a bit more complex graph that uses influx DB and Grafana dashboard, which both nicely integrate with open hub as a system to really get the data out here. So you can see in blue, the elevation of the sun for that day. In red, the luminance
in south direction. In yellow, then the power of the photovoltaic system, the gray bars show when it was raining that day. And so you really have a very nice visualization and you can check that everything's working all right. And also very good correlation here between really
light intensity and the photovoltaic power. So whenever something's off here, you could create alarms on your Grafana dashboard to actually say, hey, check, check your system, please. Luckily, so far after 15 years with that system, everything was smooth and I never needed a single alarm on that. Another nice event happened in spring 2015 when we had a partial
solar eclipse at home. And it was on a bright sunny day without any clouds. And that really resulted in a very nice curve here. And interesting thing is that with a partial solar eclipse, when you look outside, you hardly notice it because it's not going dark. It's still
daylight. But here you see that the power of the sun really went down by a factor of three to four roughly. And it was almost as if it's dark. So it was quite a nice effect. So all the monitoring is nice and good. But in the end, when you're talking about energy
management, you really want to do some, well, load shifting, optimizing your consumption and all of those things. Now, unfortunately, at the time that our photovoltaic system went live, at that time, there was no incentive at all for the end customer to self-consume
that energy that is produced. But everything goes to the grid and it's paid there and that's it. So there is no benefit for me to actually shuffle around some loads and do things. So my only option was to say, well, OK, our utility should provide different price levels over the day and I can maybe shift things for that. And thinking 10 years back,
the standard example for shifting load was, hey, you can do your washing at night. That was what everybody came up with, more or less. And so I said, well, OK, sounds interesting.
Let's see, such a washing machine that was smart grid ready usually cost around 300 euros more than the same model without such a feature. OK, you could say, well, one time investment. Let's go for that. Fine. And at the time, also in Germany,
the utilities were legally obliged to offer you at least one smart tariff that had to have two different price levels, at least. So I said, OK, let's check that out. And my local utility said, OK, we have a field trial here. And in order to participate in that, you actually have to book our smart tariff, which was an additional 100 euros a year.
I have no clue why, because we already had a smart meter. So there was no hardware investment or anything involved in that. But they provided an API then, which said for the next day, for that hour of the day, it will cost you that much money. And the price difference between
high and low was exactly three cents per kilowatt hour. So I quickly checked, OK, washing machine, what does that mean actually as a yearly consumption? It's roughly 150 kilowatt hours that you assume here. So I did some quick arithmetic and came to the conclusion that,
hey, you can save four euro fifty a year by doing all your washing at night. And yeah, so that doesn't sound that much, but you might now argue, OK, you can also use your tumble dryer at night. You could maybe wash your dishes at night as well and maybe even move your
warm meals to the night when everybody else is asleep. But even then, you're not coming anywhere close to actually have any benefit from all of that. OK, so that wasn't too interesting for me, unfortunately. And somehow my local utility also noticed after a while, hey, that doesn't seem to be too attractive. Nobody really wants that. And actually,
they came by and told me that, hey, those smart meters that you have at home, they break so often and then they can't read the LC display anymore. And so they can't get the number out of the meter and they have no clue what to do about that. So they said, well,
in 2016, they ripped that out and replaced it by an old school Ferrari's meter and said, hey, that one is really lasting 10 years. We don't have to come by. Everything fine. So here you go. So that was it, more or less, with all my attempts being really in the front there,
doing energy management and trying to be cool with all the smart home stuff and automation here. And that stayed like that until more or less four years ago when we bought this nice little blue Tesla here, which had a huge battery. And I thought, OK,
so much battery to store energy. I have to do something with that now. As I said, photovoltaic system wasn't really helping me here because there was no incentive for self-consumption. So I had to put up a second photovoltaic system, this time on the garage roof. And in 2019 was now the case that for this one, giving power to the grid
hardly gave you any money. So you had a big incentive in using all that energy yourself and optimizing that really. And so, yeah, big parts of the household energy during the day is automatically covered then by such a photovoltaic system. But then with the combination of the car,
surely surplus charging becomes very attractive here to say that everything that exceeds what you need in the household should be used for charging your car. Quite luckily then for more or less the pandemic times was that, well,
everybody did home office. So did I. So the car was at home during the day when it was sunny. So that worked out really well. And this here shows now another open hub rule that simply says that whenever the photovoltaic system power changes or the household power changes,
then please check if the car is connected to wallbox and adjust the current that the wallbox is delivering to the car. And I have a Keba wallbox that accepts UDP packets here to control it down to a milli-amp granularity, which is really nice because you can steer it
very precisely here. You have to at least go with six amps though, which is more or less the minimal power to start charging of the car. But with that rule, I can do all of that. And on the next slide, you see more or less than the outcome on a very nice sunny day. So in blue,
you have here the overall power that goes to the grid or comes from the grid. And the idea is to really level that out on the zero line, ideally. So in the morning, when there was no sun, we had to draw power from the grid. Then the sun came up or we
gave some power to the grid until the car started to charge then up a certain level. And then you can see that it's really fairly flat at zero. So that works pretty well. Then came lunchtime when the household power consumption was a bit more bumpy going up and down. So it's a bit more
tricky to level that all out, but it worked also quite well. Then I think at the end, dishwasher went on, which used so much energy already that the charging had to stop completely. And it turned out that there was some bug in the car firmware that didn't resume the charging
afterwards anymore. So at that time, I had to manually then always go there and have to restart it. Luckily by now, this bug is fixed by Tesla. And yeah, so the rest of the day, the charging rate was a bit reduced and yeah, it works quite well. And overall,
you can see that on the next slide, that's the yield of the photovoltaic system over all of last year. And an average that was between 10 and 11 kilowatt hours per day.
And if you consider that half of that, so five kilowatt hours is then used for the charging that corresponds to roughly 10,000 kilometers a year of driving the car. Obviously a bit more in summertime and not that much in wintertime, but it corresponds to a saving of roughly two tons carbon dioxide, which is quite a nice effect
here. And yeah, that's my experience so far. I'm looking in the future to also integrate with other solutions like EVCC, for example, which specifically looks into
car wallbox monitoring and also going like open staff, which is sounded quite nice into looking into the future, predicting and getting more machine learning stuff in there, which might be a topic for next year then. And with that, I thank you very much for your
attention. Are there any questions? Please.
Okay. The question is, if I can imagine whether I more or less give control more to
the grid operator than controlling it myself. In theory, I can imagine that, but from all that I've seen out there is that that's still a far, far future that really the utilities would be in a position to really make use of that data. And a problem that I see is also how
do you actually make sure that the data is real, that I'm not just giving anything there for maybe benefiting in some way of a better tariff or whatever.
And sorry, it's measured by the meter. Okay. If that's all just the pure meter values, that's I think anyhow already possible with the smart meters that are installed. Not in my case now at the moment anymore.
For having the utility allowed to decide when to charge and discharge the car,
I still want to be in the position to say, well, I actually need it at that charging state at that moment and so on. If that can be fulfilled, that works there. Washing machine is also something that really goes into your own personal comfort a lot or if they decide when
to do it. And so it's all a bit tricky. I think it's better in the households to really decide what to do and give incentives to do the right stuff.
Yeah, no, from utility and the grid side, it's obviously very important to not see a single
household, but to see more or less a whole city, part of the city and so on, and to be able to control things there to more or less get a decent level. That's for sure, but I think it's helpful to provide incentives to the single people
by having an API to interact with and then that might work. Okay, I see my time's up. Thank you very much. If you want to discuss further, I'm at the booth.