I was running the test version of the app, thought that could be the issue so installed the official version 15 minutes ago Bet the diagnostics report wont give you anything then? If not, I’ll watch tomorrow to see if I see anything similar
Maybe @Henrik_Johnsson (who saw the same for SE3) could send you the diagnostics report?
No worries Maybe @Henrik_Johnsson have the diagnostics report saying something for his case, and I’ll be watching out tomorrow if I see any strange prices, and let you know
@Gruijter , Hi Robin, just installed PbtH v4.5.2 When I try to connect the powermeter, it is added, but there is an error triangle shown:
Apparaat Onbeschikbaar
Cannot read properties of undefined (reading ‘peak’)
It is a double (high/low tarif) meter, connected to Homey via HomeyDuino and a ESP8266.
The Boiler-powermeter(not P1), the Gas-meter and the Water-meter are working good.
just send you a diagnostic report 6a95294a-7b26-47c4-96e9-aef81e78b416
This app is apparently not using the Homey kWh capabilities PBTH is expecting. Try switching on ‘use power as source’. That uses Watts and probably does work.
I do see that the API was returning a lot of errors last night when trying to get the pricing. I made PBTH as resilient as possible to problems with the web service by trying to get and buffer price info every hour and doing a retry on failures. But this morning something extra weird happened. It looks like a one time fluke. But let me know if it happens more often.
2022-08-23 06:01:00 [ManagerDrivers] [Driver:dap] [Device:e35bdea7-b866-4ba6-8388-35535386ef6d] Spotpris SE3 Error fetching prices from transparency.entsoe.eu. Trying again in 10 minutes socket hang up [log] 2022-08-23 06:11:01 [ManagerDrivers] [Driver:dap] [Device:e35bdea7-b866-4ba6-8388-35535386ef6d] Spotpris SE3 did not receive 24 hours of prices for today
The site seems a bit slow to respond, perhaps suffering from the load of us anxious automationistas trying to optimize our systems in the light of the price breaking all time high on an almost daily basis.
Will keep an eye on it, was quite apparent today with a massive spike in the early morning.
measure_power and meter_power are default capabilities that PBTH is expecting. But this app has added .consumed .offPeak and .peak to it. I included some exceptions for certain apps. But with all the different apps using different naming conventions it is getting very hard (if not impossible) to handle all these exceptions from PBTH. That is why I created the possibility to add a virtual PBTH device, and have flow send the kWh value to that device. So that is your fallback method.
In your case I think you need to add meter_power.offPeak to meter_power.peak. But how would that app handle returned power to the grid (e.g. because you have solar panels)?
Water consumption is a nice addition.
But is it possible to add also the Liters per day?
I’ve already tried something with virtual devices but it doesn’t work very well. It’s just that m³ x1000.
No, I do not plan to do that. But what exactly is your issue with m3? It is simply liters times 1000. So if your daily water use e.g. says you used 0.523m3 it would be 523 liters. Not an impossible calculation to do in your mind I would say.
Had not discovered this, sorry, works perfect, thanks.
One remark, the default name for the energy devices is “power” and not “energy” , is this intentional? And if so, why?
BTW, my water-meter also gives Liters and not m3,
m3 are by default rounded to 2 decimals if imported via HomeyDuino, so no lliters visible.
Is it also rounded in the PbtH app to 2 decimals?
In my Watermeter tab in PbtH there stands m3 0.325.
But i think when the third number behind the. is a 0 then it is not showing.