Qustodio custom component

I stumbled across this integration and managed to get Claude to rewrite it for the latest versions of HA 2025.7 and the Qustodio API. Works for me, delete the old one and add this new folder in your custom_components folder.

Gotta love AI!!!

Nice one :+1:

I need to check what all the API provides if we can read more details :slight_smile:
Overall time is the most important measure but some apps are not so important etc.

Just sharing that I’ve forked @benm7’s repo, and then got a little carried away (with Claude’s help) implementing lots of features.

My fork is at GitHub - matt-richardson/home-assistant-qustodio: Qustodio Integration for Home Assistant, and I’ve submitted to HACS as well, so it should be available there soon.

The integration is readonly at the moment - it cant do things like shut off the internet etc.

Take a look and let me know what you think.

2 Likes

Interesting :slight_smile:

I am still thinking of eg. getting more granularity in the time spent (time by apps). But anyway great enhancement :+1:

Just shipped an update that gets time per app (as attributes for the screen time sensor).

Let me know what you think!

2 Likes

What to say … it works great :smiley:

Edit 1: It seems to me that the time of the application is somehow delayed compared to Qustodio app itself and even to the overall time. But I suppose that is just what is provided by the API …

Edit 2: Would be better to set state_class to total_increasing for the overall time sensor. That way it can be used by the built-in Statistics Graph card to show hours split. At my screenshot it is History Explorer card

Good idea! I’ve made that suggested change - new version published.

I tried to take a look at the history card, but it doesn’t seem to be in HACS and both the old and new fork seem abandoned.

The change works.
Sensor is now available in Statistics Graph card.

Awesome @mattubious :+1:
Is the GPS tracking available ? I don’t see GPS location in the indicators. The location tracking seems deactivated in HA but it’s activated in Qustudio.
Thanks

Hi @Fathermck

I thought there was support in there for that, but as I haven’t used that feature of Qustodio, I haven’t tested it.

I’m on holidays at the moment, so very unlikely to get a chance to look at it for a while.

Hi @mattubious,
ok thanks for your answer.
There is no hurry so enjoy your holidays :slight_smile:

Hi @Fathermck

Curiousity got the best of me - I took a look, and it seems to be working for me.

Make sure that you’ve checked the box ā€œEnable GPS trackingā€.
The GPS tracking shows up as a device tracker - something like device_tracker.name_devicename. Check the attributes on the device tracker and you should see the lat and long.

I can confirm.

It is not visible as Qustodio integration sensor but it is one of device_tracker entities.

1 Like