# External integration - IPP (printers)

**URL:** <https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456>\
**Category:** Développement\
**Tags:** integration-externe\
**Created:** [August 5, 2026, 12:58pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456 "2026-08-05T12:58:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 5, 2026, 12:58pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/1 "2026-08-05T12:58:10Z")

</div>

# 🖨 IPP Printers — finally know if there’s ink left, without opening the cover

 ![Gemini_Generated_Image_kw109jkw109jkw10 (1)](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/3/f/3f6074bd29e5c50fc8f922b269620f7fc6427727.jpeg)

Hi everyone!

You know the moment: you start printing on a Sunday evening, and then… white stripes. No more cyan. Of course.

So I coded a small external integration for Gladys: **IPP Printers**. It monitors your network printers and reports ink/toner levels directly in Gladys.

## What it does

- **A sensor per cartridge** (black, cyan, magenta, yellow… or just the toner if you’re team laser), in %, with history. You can therefore plot the consumption curve and watch your ink disappear over the months 📉
- **The printer status** in text: `idle`, `printing`, or `stopped (media-empty)` when you’ve forgotten to refill the paper again.
- **Automatic discovery** : if your printer supports AirPrint (so pretty much all those sold since ~2012), it is found automatically on the network. Nothing to configure.
- **100 % local** : no account, no cloud, no API key. It talks directly to the printer in IPP, the standard protocol behind AirPrint.

## The cool part

Since the levels are reported as normal sensors, you can create scenes with them. For example:

> If the black toner goes below 10 % → send a message «&nbsp;remember to order a cartridge&nbsp;»

Which, I admit, is already much more useful than the little orange light on the printer that has been blinking for three weeks.

## Compatibility

Any network printer compatible with **AirPrint / IPP Everywhere** : HP, Epson, Canon, Brother, Lexmark, Samsung… Tested at home on a Samsung C460 Series, which nicely reports its four toners.

⚠ Honest caveat: some printers simply do not report their levels via IPP. This is a limitation of their firmware, not the integration — in this case you will only have the status. There is a **«&nbsp;Test a printer&nbsp;»** button in the settings to check in 2 seconds what yours is willing to say, even before adding the device.

## Installation

The integration is available in the store. You install it, and normally your printer appears automatically in the Discovery tab. If mDNS doesn’t work for you (VLAN, different subnet…), you can also manually enter the IP in the settings.

The code is here: [GitHub - guim31/gladys-ipp: Gladys external integration to fetch printers informations · GitHub](https://github.com/guim31/gladys-ipp)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [August 5, 2026, 1:22pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/2 "2026-08-05T13:22:32Z")

</div>

You’re motivated to make lots of integrations for us

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 5, 2026, 1:23pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/3 "2026-08-05T13:23:19Z")

</div>

Yeah 🙂 let me know if it’s too much for you!! haha

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [August 5, 2026, 1:25pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/4 "2026-08-05T13:25:14Z")

</div>

On the contrary, it’s rare for things to move so much in the middle of summer. It’s positive.

---

<div class="post-metadata">

**Author:** ![Chris75](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Chris75](https://community.gladysassistant.com/u/Chris75)\
**Post date:** [August 5, 2026, 4:29pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/5 "2026-08-05T16:29:28Z")

</div>

I just tested this integration on an HP Smart Tank Plus 655: discovery was instant, ink levels are correctly reported but the printer status is not, it always shows «&nbsp;idle&nbsp;»  
Thanks @guim31

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 5, 2026, 4:32pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/6 "2026-08-05T16:32:10Z")

</div>

Thanks for the feedback, I’ll check it out!

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 5, 2026, 4:50pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/7 "2026-08-05T16:50:48Z")

</div>

Re @Chris75 thanks a lot for the feedback, it helped me find a real bug!

I was checking the status at the same rate as the ink levels, i.e. every 15 minutes by default — in other words, a 30-second print always slipped through the cracks.

This is normally fixed in 1.0.1, you can force the update.

Meanwhile, the « Test a printer » button in the settings shows you in real time  
what your printer reports at time T — handy for checking.

---

<div class="post-metadata">

**Author:** ![Chris75](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Chris75](https://community.gladysassistant.com/u/Chris75)\
**Post date:** [August 5, 2026, 5:32pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/8 "2026-08-05T17:32:29Z")

</div>

Well, I upgraded to V1.0.1, and I only have two states displayed: «&nbsp;idle&nbsp;» and «&nbsp;idle (media-empty)&nbsp;».  
So «&nbsp;printing&nbsp;» is missing: how often is the information sent back?

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [August 5, 2026, 5:48pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/9 "2026-08-05T17:48:41Z")

</div>

Holy crap, it’s like being on the HA store with all these new integrations 🤣

A big thank you @guim31, my HP Color Laserjet MFP E57540 was discovered in less than 1s!

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/b/3/b333a79370c50743125c77897cee0adda21042dc.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/2/22156d724c7b41afc4b1a1fa120bfc90b06db464.png)  
I’ll let you guess which home automation systems I’ve set up in parallel 😉

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 5, 2026, 6:46pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/10 "2026-08-05T18:46:49Z")

</div>

Re @Chris75! Good news: your « idle (media-empty) » proves the update works — the status is now changing. And your question is perfectly timed: the info was being collected every 60 seconds… while a page print takes 15-20 seconds. In other words, most prints were slipping between two collections.

I just published a 1.0.2 (forces the update if you want to test) that fixes this: the status is now sampled every 15 seconds and published as soon as it changes. Any print lasting at least 15 seconds will be seen. Only an extremely short print could still slip between two collections — a protocol limitation, the printer doesn’t « push » its statuses, you have to fetch them.

Small detail by the way: your printer signals « out of paper » by staying « idle » (instead of switching to « stopped ») — that’s HP’s way of doing things, and it’s great: you can already trigger a scene on that if you want to be notified when the tray is empty 🙂

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [August 5, 2026, 9:12pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/11 "2026-08-05T21:12:00Z")

</div>

Thanks for the integration 🙂

On my end, on an HP OfficeJet 8010 printer, I’m missing the black cartridge:

```auto
[2026-08-05T21:08:33.205Z] [INFO] [printer-device] Poll ext:ext-guim31-gladys-ipp:printer:ceeeac82-b679-4926-b131-466fcfb437e4: idle, magenta cartridge=50%, cyan cartridge=50%, yellow cartridge=50%, black cartridge=?%

```

Any idea how to get it to arrive? 😅

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [August 5, 2026, 9:19pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/12 "2026-08-05T21:19:56Z")

</div>

Amazon ? 🥸

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [August 5, 2026, 9:44pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/13 "2026-08-05T21:44:37Z")

</div>

Official HP logo 😉

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 6, 2026, 8:47am UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/14 "2026-08-06T08:47:25Z")

</div>

Thanks for the feedback. Your black cartridge is correctly reported by the printer, but its level appears as “unknown” via IPP — a classic with OfficeJet printers: HP reports color levels as percentages (rounded to the nearest quarter, hence your three 50%) but not black.

The integration omits the value rather than displaying a false percentage.

I just published version 1.0.3 that makes this visible: after updating, click the “Test a printer” button with your IP and paste the result here — it will display exactly what your printer responds for black (something like “black cartridge: unknown (-2)”). If confirmed, the value simply doesn’t exist on the IPP side for this model; I’m looking into the feasibility of retrieving it from the HP web interface of the printer in a future version.

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [August 6, 2026, 8:50am UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/15 "2026-08-06T08:50:30Z")

</div>

Thanks, I just tested it and here is the feedback with version 1.0.3:

> Printer OK: HP OfficeJet 8010 series — status «&nbsp;idle&nbsp;» — magenta cartridge: 50%, cyan cartridge: 50%, yellow cartridge: 50%, black cartridge: unknown (-2)

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [August 6, 2026, 9:02am UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/16 "2026-08-06T09:02:12Z")

</div>

Nice integration, thanks it works well on my printer.

Just a feedback, (even if it doesn’t bother me) it would be better to have some translation  
currently if I add it to my dashboard I have

- magenta cartridge
- cyan cartridge
- yellow cartridge
- black cartridge

(we can rename the feature in the dashboard but it’s a little extra I would say 🙂 )

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/4/0439cb512b0b654f44ba9cd1a0a3c4f2ae4e100d.png)

And yes I do have more color in my printer ^^’

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [August 6, 2026, 9:18am UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/17 "2026-08-06T09:18:31Z")

</div>

Thanks, diagnosis confirmed! Your printer responds with “unknown” for black via IPP while giving the colors — a (curious) habit of HP firmware, the integration can’t invent the value.

BUT there’s a lead: HPs expose their real levels on their embedded web interface. Can you help me check it in 30 seconds? Open this address in your browser (replacing with your printer’s IP):

[http://192.168.XX.XX/DevMgmt/ConsumableConfigDyn.xml](http://192.168.XX.XX/DevMgmt/ConsumableConfigDyn.xml)

If an XML page displays, paste here the block concerning the black cartridge (look for “Black” or “K” in it — don’t worry, there’s nothing sensitive, it’s just the cartridge levels and references). With that, I’ll be able to add a specific HP fallback read in a next version, and your black will come back up like the others 👌

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [August 6, 2026, 9:23am UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/18 "2026-08-06T09:23:30Z")

</div>

I’m not at home right now but I’ll test this tonight without any problems 🙂

---

<div class="post-metadata">

**Author:** ![elfedagger](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/elfedagger/32/13658_2.png) [@elfedagger](https://community.gladysassistant.com/u/elfedagger)\
**Post date:** [August 6, 2026, 6:34pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/19 "2026-08-06T18:34:54Z")

</div>

I tried to install this application, but it can’t find my printer. I tried several ways, IP, hostname… nothing works. I showed my log to Copilot, and it gave me this response.  
On your Epson ET‑2815:

- **IPP is enabled** (mDNS + HTTP 500 confirm it)

- **But the IPP service is not working correctly** , which explains the errors in Gladys.

This issue is **common on Epson EcoTank printers** :  
Their IPP server is minimalist and sometimes unstable.  
it suggests bypassing the issue with CUPS.  
Do you know it?  
Is it a good idea?

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [August 6, 2026, 7:23pm UTC](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456/20 "2026-08-06T19:23:52Z")

</div>

> [@guim31](#):
>
> Thanks, diagnosis confirmed! Your printer responds “unknown” for black via IPP while giving the colors — a (curious) habit of HP firmware, the integration can’t invent the value.
> 
> BUT there’s a lead: HPs expose their real levels on their embedded web interface. Can you help me check it in 30 seconds? Open this address in your browser (replacing with your printer’s IP):
> 
> [http://192.168.XX.XX/DevMgmt/ConsumableConfigDyn.xml](http://192.168.XX.XX/DevMgmt/ConsumableConfigDyn.xml)
> 
> If an XML page displays, paste here the block concerning the black cartridge (look for “Black” or “K” in it — no worries, there’s nothing sensitive, it’s just the cartridge levels and references). With that, I’ll be able to add a specific HP fallback read in a next version, and your black will come back up like the others 👌

I’ll send you the file content by email 😉

Thanks

[Next page](https://community.gladysassistant.com/t/integration-externe-ipp-imprimantes/10456.md?page=2)
