[APP][Pro] PELS Energy Manager: smart charging, heating, solar and energy saving

Thanks, these help a lot!

From the screenshots, most of what you’re seeing is PELS bringing devices back after an earlier limit. It resumes one device at a time, a few minutes apart, so with six held back it can take half an hour or more before all of them are running again. What I can’t see yet is what caused that limit in the first place, at around 5 kW. The report will show that. Do you happen to know if the car charging around then?

Sorry, I pointed you to the wrong place for the report. The setting under Advanced only turns on automatic reports. To send one yourself, go to Settings → Report a problem (just above Advanced). You can also open one of the limited devices, like Bad nede VK, and tap Report a problem there. Pick “From 24 hours before” under “Activity to include” so it covers last night as well, describe what you saw, and send it. I’ll make the two easier to find from each other in the next update.

On the Varmepumpe: does that 2.4 kW come from the heat pump’s own power reading, or did you enter a value under “Energy used when on” in the device’s settings?

Thanks for enabling daily reports. Today’s report came through, and it shows what’s going on.

Something outside PELS changes the temperature on two of your heaters about every five minutes, all night and morning. On one it raises the temperature right after PELS limits it, and on the other it lowers the temperature right after PELS lets it run again.

That’s what keeps everything else limited. When PELS lets heaters back on after a limit, it raises them one per round, a few minutes apart, so their warm-up doesn’t stack up. Each time the second heater gets turned down, PELS sees it as limited, and since it’s first in line, it takes the next round. A couple of minutes later it’s turned down again and takes the round after that too, all morning. The heaters behind it, like your bathroom floors, never get their turn. On top of that, every time the first heater gets turned back up, PELS limits it again, and each new limit adds another pause before anything may resume. So the house stays well under your limit, not because PELS needs it to, but because the queue never moves.

The regular five-minute rhythm looks like a Flow, another app, or a schedule setting the temperature on a timer. Do you have something like that? If Piggy Bank is still installed, check whether it’s still controlling them. Turn off whatever sets them, or remove those two heaters from PELS if you’d rather keep controlling them that way. Once that stops, the held heaters should all be back within about half an hour.

Thanks for looking into it! I assume it’s the “Gang nede ovn”? It’s a Mill Panel oven, not associated with any flows. But it might be something with the Mill app? I deactivated and removed Piggy Bank almost right away after installing PELS since I felt your app was serving my purpose better, and seemed more stable.

Regarding charging of car: Yes I tried to charge yesterday/during night, but it has been limited mostly, since it’s lower down on the priority list (havent started using smart tasks yet). Disconneced the charger and disabled it in PELS this morning to remove that from the equation. But I have been registering that during charging, PELS was eager to pause the charging even though there were available power. But then it didn’t effect the temperature in the house/warm water.

Sendt you reports as instructed as well.

Regarding the Varmepumpe: I have manually set “Energy used when on” to 1050 W, since that is what is listed as “max” effect in on the pump, but in my experience it uses around 600 W/h when heating in the temperatures we are having now. In the beginning when I added Varmepume to PELS the number listed was quite a lot higher, but I cant remember the exact value, maby 2-3kW.

Thanks, that helps a lot, and it changes my reading a bit.

Looking closer, PELS’s changes to these heaters don’t seem to stick. When PELS sets a new temperature, the heater reports its old temperature again a few minutes later. Gang nede ovn goes back to 15 °C after PELS sets 18 °C, and Ovn TV-stove goes back to 20 °C after PELS sets 17 °C. So it’s probably not something else setting them on a timer, as I suggested before. More likely, the Mill side never takes the new temperature, and the Mill app reports the old one at its next update. The effect on PELS is the same as I described: it keeps seeing those two as needing attention, and the other heaters wait.

There are a few Mill apps for Homey, and they behave differently here. With some of them, a heater that follows the weekly program in the Mill app ignores temperatures set from Homey. Could you check:

  1. Which Mill app do you have in Homey? “Mill” from Mill International, or “Mill Heating” by Coderax?
  2. On Gang nede ovn and Ovn TV-stove in Homey, which mode or program do they show? For example “Weekly program”, “Comfort”, or “Individual control” on or off.
  3. With “Mill Heating”, were they added as “Mill” or “Mill v2” devices?

On charging: once the heaters are sorted out, try charging again. If PELS pauses the car while there’s room under your limit, send a report from the charger’s page while it’s happening, and I’ll look at that separately.

On the Varmepumpe: the number PELS shows comes from the heat pump’s own power reading, which last night went anywhere from 0.1 to 2.8 kW. Heat pumps can draw well above their usual power for short spells, when the compressor runs flat out in the cold or during defrost, so 2–3 kW peaks aren’t unusual even if it averages about 600 W. Before you entered 1050 W, PELS went by the highest reading it had seen, which is likely the 2–3 kW you remember. If the reading looks wrong compared with what you know about the pump, tell me which app or integration it comes from.

Setting 1050W on a device that occasionally may draw 2-3 kW may be fine, but it may also cause overshooting depending on how long it draws and how much margin you have.

  1. Mill Heating by Coderax
  2. They are ticked of as “control unit individually” in the main Mill app
  3. Added as Mill v2.

Thank you for explaining what’s happening with the Varmepumpe!

“Gang nede ovn” is a brand new Gen4 oven. “TV-Stove ovn” is an old one which I know for being quite unresponsive (especially from Homey). I was hoping the new one should respond better… but maybe the problem is elsewhere.

edit: I removed the two Mills ovens from PELS and it seems to have run much more smoothly right away, at least for the last two hours.

Good to hear it’s running better now. Let me know if anything else seems off, or if there’s anything I can help with.

Hi,

I’m currently transitioning from Piggy Bank to Pels.

I have a Villavent ventilation system, and I understand that Pels can control its temperature settings. I was wondering if it would also be possible for Pels to activate the Eco mode on this system as an energy-saving measure to help manage the Hard Cap?

I also have a Daikin heat pump and would like to know if Pels can control it and switch it to AC mode when needed.

Thanks in advance for your help!

Hi @Fredrik3 and welcome!

Villavent: Which app connects it to Homey, the Systemair app? If so, it doesn’t report any power use, so PELS can’t limit it under your hard cap today.

One option could be that you configure a static value for power usage in PELS and that PELS could then limit based on that figure. It would have some caveats such as that you’d have to configure the highest possible energy draw, while the real energy draw could be significantly lower, or even 0.

PELS then wouldn’t change the mode to ECO, but it would change the temperature directly on the unit to a lower temperature of your choice. ECO mode does basically do the same though.

Let me know if that’s something you’d use.

Daikin: Yes, PELS can control it. It sets the target temperature and can turn it off, and it uses a lower temperature or off as a limit when it needs to save power. For that, PELS needs a power reading from the heat pump, either from the Daikin app or from “Energy used when on” in its Advanced settings in Homey. PELS doesn’t switch the heat pump between heating and cooling. If you switch it to cooling yourself, PELS sees that and limits it by raising the temperature instead of lowering it. What did you have in mind with switching to AC mode? Cooling in summer, or something else?

Thanks for the explanation!

Regarding the Villavent system: I can actually monitor its power consumption, as I have a smart plug connected to the ventilation system. Would it be possible for PELS to use the power readings from this smart plug to manage the Hard Cap? If so, that would be a great solution.

Regarding the Daikin heat pump: Yes, the main reason I’d like to be able to switch to AC mode is for cooling during the summer. I currently manage this through Homey flows, but it would be great to have all heating and cooling control integrated into one app through PELS.

Thanks, that helps!

Villavent: PELS can’t take the power reading from your smart plug directly, but you can combine the two in a virtual thermostat made with the Virtual Devices app. PELS manages the virtual thermostat, and three Flows connect it to the smart plug and the Villavent. I threw together a quick guide here: Limit a Temperature Device Through a Virtual Thermostat

PELS then sees the unit’s real power and limits it by lowering the temperature. When the heater switches off, the plug’s reading drops, and PELS sees that it worked. Don’t let PELS manage the smart plug itself: it would limit by switching it off (if possible), which stops the ventilation completely.

Daikin: PELS doesn’t know on its own when the heat pump should cool rather than heat, so I’d like to understand what you’d expect. What decides it for you today? A date or season, the outdoor temperature, the indoor temperature going above some level, or something else? Switching on indoor temperature alone works much like the heat pump’s own auto mode, which tends to swing back and forth, so I’m curious what your Flows do now. Until then, keep switching in your Flows. When the heat pump is cooling, PELS limits it by raising the temperature instead of lowering it, so the two work together.

Regarding the ventilation system: This is exactly what I was looking for! I’ve set up the virtual device and the Flows, and everything seems to be working. However, I can’t find the virtual thermostat in the PELS app. I’ve tried refreshing the devices and restarting the app, but it still doesn’t show up. Is there any setting I need to enable to make it appear?

Regarding the heat pump: I currently switch it to AC mode based on the time of year (a specific date/season). I understand that automatic mode switching might be a bit outside the scope of PELS, but it would be great to have the option to manage the heat pump through PELS as well. It would make it much easier to keep all heating and cooling under control and stay within the grid tariff power limit requirements.

Thanks again for all the help!

PELS 3.28.6 is out

Athom approved 3.28 today, and 3.28.6 followed right behind it, so this covers everything since 3.26.

Schedules

A smart task covers one deadline. For recurring deadlines, like the car charged by 07:00 on weekdays, you needed a Flow to create the task each time. Schedules now do that inside PELS: they create smart tasks or change mode at set times, once or on selected days. Each task gets its own ready-by time, a schedule can be limited to selected modes, and every schedule shows when it triggers next and how the last run went.

You can pause all scheduled mode changes, or all of one device’s scheduled tasks, in one go. You can also control the schedules using flows: Enable schedule, Disable schedule, Enable/Disable scheduled Smart tasks for device, Enable/Disable scheduled mode changes, and the condition Schedule is enabled.

Changes to the Norwegian price model

The issue Enova fee counted twice with BKK tariffs from NVE · Issue #3018 · olemarkus/com.barelysufficient.pels · GitHub was reported to me, and it turns out quite a few grid companies report incorrect pricing. Because of this I’ve moved source to Fri Nettleie, which seems to be consistently more correct. And also fairly responsive when changes are needed on their end.

EV charging

  • EV smart tasks now learn each car’s charging separately, so a home with two cars, or a guest car, gets better estimates.
  • Tesla: PELS no longer sends a charging current again once the car has accepted it. The Tesla app reports the actual current only on its cloud poll, about every 15 minutes, so PELS used to send the same current several times, each one a call to the car. Now each change of current is one command. Thanks to the user who sent a diagnostics report about this.

Smart tasks

A smart task that has reached its target keeps its device until the ready-by time. Until now its page had no Edit or Clear, so only a Flow could release the device. Both are on the page now. This one also came in through a diagnostics report, thanks!

A device that doesn’t keep PELS’s settings

If a heater keeps going back to its old temperature a few minutes after PELS changes it, PELS keeps setting it again, and the devices waiting to resume behind it keep waiting. From the outside, it just looks like PELS limits far too much. The device page and recommendations now warn when a device keeps moving away from a setting PELS gave it. Thanks to @Henjumn for the thread that showed this.

Missing a device?

When a device didn’t show up in PELS, it was hard to tell why, or what to send me so I could add it. Devices now has Missing a device?, which lists every device in your Homey by zone, with search and a filter for supported devices. For a device PELS doesn’t support, you can send a device support request through Homey. It carries what Homey reports about the device, which is what I need to add support for it.

As before, keep the diagnostics reports coming if anything seems off. Several of the fixes above were uncovered due to these.

I think it may be just because the virtual device doesn’t have anything set yet. Try changing temperature manually or something so the virtual device reports a target temperature.

It worked! Thanks for all the help

@Ole_Markus_With the Water Heater (KNX actuator: ‘light’) works as prescribed, not a single time above the hard stop! Excellent work - thanks a lot!

My Toshiba Polar 35 heat pump is now not supported it seems. It seemed to be working fine just before the last two updates. Sendt you an request support: 439b1322-c0c2-4efc-92d4-79f3ad97e7ad

Yeah. I noticed this one and I am about to publish a fix now. The heat pump sends an illegal value for a capability that trips PELS. I am relaxing how PELS interprets value so that the whole device doesn’t disappear.

PELS 3.28.7 is out. This should return the devices that disappeared in the previous release.

As mentioned, the problem here was that a device reported an unexpected value in one of its capabilities and dropped out of PELS entirely, even though everything PELS needs from it was fine.

Thanks @Henjumn for the report and the support request.

PELS 3.29: Charging current limits per car

Charging current limits for chargers and cars

Not every car charges well across the full 6 to 32 A range. Some older cars need a higher minimum, and some households want a lower maximum on one car.

  • Default charging current limits in a charger’s Setup set the range for any car that has no range of its own, including older cars without a Homey car device and cars PELS has not identified.
  • Charging current limits for each car in the charger’s Car section override that default whenever PELS matches or you confirm that car, on every charger it uses.

Report sent. Charger limited power before full hour despite large margin on usage for the hour.