Yes, with pleasure, I’m finishing up the date selection and I’ll make it available.
And there you go :


With date control and locking :


Prevention :

Great !! Well done ![]()
Most of the devices on my network have been running for several years and are configured with unlimited backups, but although the tasks complete successfully, the data only appears for 2025 and 2024 at best.
How is it possible to retrieve all the data?
Hi @Jluc,
- Do you have your contracts for the corresponding dates? Otherwise the costs cannot be calculated.
- That said, if you switch to the « Consumption » view these should appear for the out-of-contract periods, I think.
vs 
Hi everyone ![]()
Nice to see there was activity while I was unavailable!
@froch Could you create a specific thread for your questions? The accuracy of the calculations is my priority, and I think you’re one of the first to test the « basic » peak/off-peak hours (excluding Tempo), so I’d really appreciate your feedback so we can fix all that! (Don’t hesitate to just copy-paste your post into a thread)
I’ll look into that after the break, but if there isn’t a specific thread your message might get lost! Thanks ![]()
@Terdious Thank you very much for your developments, it’s great! I’ll review all that when I’m back after the break ![]()
Just a small note regarding PRs: as I always say, try to favor more concise and well-scoped PRs. I feel like this one mixes quite a few things and I’m having trouble seeing how I’ll be able to review it ![]()
Hi @pierre-gilles,
Yes yes no problem, I had taken your end-of-year leave into account — we’ll handle that in 2026 ^^
So in this case, if you can answer me on that I’ll reorganize if needed during your absence, because I assume you mean the 2nd PR and I know it’s large but it really only affects the evolution of the settings tab.
To be able to do the dev and my tests, I built it from the 1st PR (addition of the tasmota part) so I could use my production base for a real test and add the new features for already existing devices.
Once the 1st PR is approved and merged the corresponding changes will no longer appear in the modified files.
It’s long because indeed it adds the date selection AND the feature selection.
If you prefer I can split it into 2 PRs but some changes will affect both PRs because I’m adding details for task/job tracking:
- One for adding the date selection
- One for adding the feature selection
But in that case I would still reuse the previous PR to have the task/job modifications only once.
Tell me and I’ll take the time to do that, or I’ll leave it as is if that suits you!! ^^
Hi @Terdious,
First of all, a big thank you for your dedication and everything it brings to users.
I only entered the pre-tax amount per kWh and set the start date to 2022

I must be misprioritizing the devices and matching the wrong items in the dropdown because the consumption is the same for the fridge as for the whole network.

Ah ok, my bad! We’ll see how it goes when the first one is merged then ![]()
Indeed, your 30-minute consumption should be under "
Thanks, and I have to do the same for all the other outlets. I just have one case with an outlet that controls a set of devices and another outlet on top of it to control others; I’ll run some tests.
Did you have the index recalculated from the beginning?
Hello !!
@mutmut, a test image is finally being built. I’ll give you the link as soon as it’s ready !!
As a reminder: although my tests revealed no issues when switching back to master, be careful not to break your prod instance.
For my part, I always run my tests by duplicating my db and launching a test image on another port, selecting the duplicated dbs which I rename to gladys-development.db / *.duckdb.
Then once launched I stop gladys-plus and all the scenes on the test instance (By the way I’m thinking of creating a PR to be able to stop all scenes with one click, that would be awesome ^^ even on prod it could be interesting in case gladys goes haywire ^^)
The image :
docker pull terdious/gladys:dev-energy-calculate
Thanks @Terdious, I’ll test that tonight.
My method to test your image: snapshot of my LXC on Proxmox, update my Docker Compose with your repository and restart with cleanup ![]()
And if it crashes, roll back the snapshot ![]()
In any case I’ll keep you posted!
Quick question, I haven’t followed the latest
A start of an answer here : https://community.gladysassistant.com/t/matter-ajouter-la-consommation-electrique-dun-appareil/9783/6?u=mutmut
I’m looking at your dev and I have a few remarks :
- I only see my teleinfo indexes but not my outlets or relays that have consumption tracking :

- when you select an item, it appears in the analysis list but doesn’t disappear from the selection listing (but you can’t have it selected twice for analysis
)

I ran 2 calculations on my jours rouges indexes, one with the total, the other with the winter period, I’ll see the result tomorrow.
Hi @mutmut
Could you give me the category/type of your outlets or relays? I thought I had correctly mapped the correspondences from the existing setup, I may have been wrong. They appear in the « My devices » tab of the « Energy Monitoring » integration, I suppose?
I’ll fix that, indeed, I noticed it too ^^
Ok great, let me know
