Hello, so new version online, on branch "test"
@Rik60 I have perhpas found your issue, it's because of new font, I forget the "return character", so if you have something to display on 2 lines, the application freeze.
- Corrected the freeze caused by new font.
- Correcting the wake up (happen if you switch from "disable" to any values
- Updating the homepage if a dft device is deleted.
For the counter, it's easy, you can take a look on the Rain sensor, make a search on
, for this device I ignore the "data" field but use instead the "rain" one.
The problem is I do that natively for the rain sensor, because it's more logic to use the daily value than a counter started somes month later.
But for the P1 smart meter, I think the total is more usefull nope ?
We can add a line to "data", but on my sensor I have already 6 values to display ...
But if you want to test on your side, mimic the "rain" code and use instead "CounterToday". The code is on 2 places.
Code: Select all
//Special device
char * data;
if (i.containsKey("CounterToday"))
{
data = Cleandata(i["CounterToday"]);
}
BTW @wim57 what is your hardware ?