Bonjour Bad
Log en Debug: Je pense que tu as raison. « record value for status: Toner faible: c »
et la MIB ‹ 1.3.6.1.4.1.2435.2.3.9.4.2.1.5.4.5.2.0 ›: 'Toner faible: C ’
Tu confirmeras…
[2025-02-01 16:06:55] DEBUG : #[Bureau DL][Imprimante_état][Rafraichir]# Command executed
[2025-02-01 16:06:55] DEBUG : #[Bureau DL][Imprimante_état]# Running script: LOGFILE=/var/www/html/core/class/../../log/brother LOGLEVEL=debug CALLBACK='http://localhost:80/plugins/brother/core/php/callback.php?apikey=v1cSl6nwnsClTlgxeVcvln7ghNIXs9MkFgfbW5eeKGLtX9nCc3PvpNKUm2kdww7N&eqId=383' /var/www/html/plugins/brother/resources/venv/bin/python3 /var/www/html/plugins/brother/resources/jeeBrother.py '[Bureau DL][Imprimante_état]' 192.168.1.231 laser >/dev/null &
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# ❤ Thanks for using Brother v12 with Python v3.11.2 on Linux #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) ❤
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# ┌─► Loggers ◄────────────────────────────
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ asyncio CRITICAL
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ brother DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ charset_normalizer DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ concurrent DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ concurrent.futures DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ jeebrother DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ pyasn1 DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ requests DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3 DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.connection DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.connectionpool DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.poolmanager DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.response DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.util DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ urllib3.util.retry DEBUG
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# └────────────────────────────────────────
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# ┌─► Script ◄─────────────────────────────
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ PID : 1915896
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Equipment : [Bureau DL][Imprimante_état]
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Host : 192.168.1.231
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Printer type: laser
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Log file : /var/www/html/core/class/../../log/brother
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Log level : debug
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# │ Callback url: http://localhost:80/plugins/brother/core/php/callback.php?apikey=v1cSl6nwnsClTlgxeVcvln7ghNIXs9MkFgfbW5eeKGLtX9nCc3PvpNKUm2kdww7N&eqId=383
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# └────────────────────────────────────────
[2025-02-01 16:06:55] DEBUG #[Bureau DL][Imprimante_état]# Initializing device 192.168.1.231
[2025-02-01 16:06:57] DEBUG #[Bureau DL][Imprimante_état]# Status: b'Toner faible: C ', encoding: roman8
[2025-02-01 16:06:57] DEBUG #[Bureau DL][Imprimante_état]# RAW data: {'1.3.6.1.2.1.43.7.1.1.4.1.1': '2004', '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.5.10.0': ['00010400002e84', '02010400000eaf', '01010400001fd5', '16010400005517', '13010400000cd0', '14010400000d3d', '15010400000cd5', '12010400002e35'], '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.5.17.0': 'ZB2305171647', '1.3.6.1.2.1.2.2.1.6.1': '30:05:5c:c4:1c:fd', '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.5.8.0': ['76010400000001', '77010400000001', '78010400000001', '7f010400000001', '68010400000001', '55010400000001', '31010400000001', '32010400000002', '33010400000001', '34010400000001', '70010400000320', '8201040000000a', '71010400000c1c', '83010400000028', '72010400000c1c', '84010400000028', '6f010400001900', '81010400000046', '79010400000834', '7a010400000834', '7b010400000834', '80010400000834', '69010400001900', '73010400002e84', '74010400002e84', '75010400002e84', '7e010400002e84', '54010400000001', '35010400000001', '6a010400001e14', '6d010400001f40'], '1.3.6.1.4.1.2435.2.3.9.1.1.7.0': 'MFG:Brother;CMD:PJL,PCL,PCLXL,URF;MDL:DCP-9020CDW;CLS:PRINTER;CID:Brother Color Type4;URF:SRGB24,W8,CP1,IS1-4,MT1-3-4-5-8-11,OB10,PQ4-5,RS600,DM1;', '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.5.11.0': ['a4010400000c14', 'a5010400000c14', 'a6010400000c14', 'a7010400000c14', '88010400007b2c', '730104000094cc', '77010400009bc2'], '1.3.6.1.2.1.43.10.2.1.4.1.1': '11908', '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.5.1.0': 'E71830H6J621459', '1.3.6.1.2.1.1.3.0': '77270040', '1.3.6.1.4.1.2435.2.3.9.4.2.1.5.4.5.2.0': 'Toner faible: C '}
[2025-02-01 16:06:57] DEBUG #[Bureau DL][Imprimante_état]# Data: {'status': 'toner faible: c', 'uptime': datetime.datetime(2025, 1, 23, 16, 28, 36, tzinfo=datetime.timezone.utc), 'page_counter': 11908, 'color_counter': 3759, 'bw_counter': 8149, 'image_counter': 21783, 'cyan_counter': 3280, 'magenta_counter': 3389, 'yellow_counter': 3285, 'black_counter': 11829, 'black_toner_status': 1, 'cyan_toner_status': 2, 'magenta_toner_status': 1, 'yellow_toner_status': 1, 'cyan_toner_remaining': 8, 'cyan_toner': 10, 'magenta_toner_remaining': 31, 'magenta_toner': 40, 'yellow_toner_remaining': 31, 'yellow_toner': 40, 'black_toner_remaining': 64, 'black_toner': 70, 'cyan_drum_remaining_life': 21, 'magenta_drum_remaining_life': 21, 'yellow_drum_remaining_life': 21, 'black_drum_remaining_life': 21, 'belt_unit_remaining_life': 64, 'cyan_drum_counter': 11908, 'magenta_drum_counter': 11908, 'yellow_drum_counter': 11908, 'black_drum_counter': 11908, 'fuser_remaining_life': 77, 'pf_kit_1_remaining_life': 80, 'black_drum_remaining_pages': 3092, 'cyan_drum_remaining_pages': 3092, 'magenta_drum_remaining_pages': 3092, 'yellow_drum_remaining_pages': 3092, 'belt_unit_remaining_pages': 31532, 'laser_unit_remaining_pages': 38092, 'pf_kit_1_remaining_pages': 39874}
[2025-02-01 16:06:57] DEBUG #[Bureau DL][Imprimante_état]# Starting new HTTP connection (1): localhost:80
[2025-02-01 16:06:57] DEBUG : #[Bureau DL][Imprimante_état]# callback got data: '{"model": "DCP-9020CDW", "firmware": "ZB2305171647", "serial": "E71830H6J621459", "belt_unit_remaining_life": 64, "belt_unit_remaining_pages": 31532, "black_counter": 11829, "black_drum_counter": 11908, "black_drum_remaining_life": 21, "black_drum_remaining_pages": 3092, "black_toner_remaining": 64, "black_toner_status": 1, "black_toner": 70, "bw_counter": 8149, "color_counter": 3759, "cyan_counter": 3280, "cyan_drum_counter": 11908, "cyan_drum_remaining_life": 21, "cyan_drum_remaining_pages": 3092, "cyan_toner_remaining": 8, "cyan_toner_status": 2, "cyan_toner": 10, "fuser_remaining_life": 77, "image_counter": 21783, "laser_unit_remaining_pages": 38092, "magenta_counter": 3389, "magenta_drum_counter": 11908, "magenta_drum_remaining_life": 21, "magenta_drum_remaining_pages": 3092, "magenta_toner_remaining": 31, "magenta_toner_status": 1, "magenta_toner": 40, "page_counter": 11908, "pf_kit_1_remaining_life": 80, "pf_kit_1_remaining_pages": 39874, "status": "toner faible: c", "uptime": 1737649716.0, "yellow_counter": 3285, "yellow_drum_counter": 11908, "yellow_drum_remaining_life": 21, "yellow_drum_remaining_pages": 3092, "yellow_toner_remaining": 31, "yellow_toner_status": 1, "yellow_toner": 40}'
[2025-02-01 16:06:57] DEBUG : #[Bureau DL][Imprimante_état]# data content: {"model": "DCP-9020CDW", "firmware": "ZB2305171647", "serial": "E71830H6J621459", "belt_unit_remaining_life": 64, "belt_unit_remaining_pages": 31532, "black_counter": 11829, "black_drum_counter": 11908, "black_drum_remaining_life": 21, "black_drum_remaining_pages": 3092, "black_toner_remaining": 64, "black_toner_status": 1, "black_toner": 70, "bw_counter": 8149, "color_counter": 3759, "cyan_counter": 3280, "cyan_drum_counter": 11908, "cyan_drum_remaining_life": 21, "cyan_drum_remaining_pages": 3092, "cyan_toner_remaining": 8, "cyan_toner_status": 2, "cyan_toner": 10, "fuser_remaining_life": 77, "image_counter": 21783, "laser_unit_remaining_pages": 38092, "magenta_counter": 3389, "magenta_drum_counter": 11908, "magenta_drum_remaining_life": 21, "magenta_drum_remaining_pages": 3092, "magenta_toner_remaining": 31, "magenta_toner_status": 1, "magenta_toner": 40, "page_counter": 11908, "pf_kit_1_remaining_life": 80, "pf_kit_1_remaining_pages": 39874, "status": "toner faible: c", "uptime": 1737649716.0, "yellow_counter": 3285, "yellow_drum_counter": 11908, "yellow_drum_remaining_life": 21, "yellow_drum_remaining_pages": 3092, "yellow_toner_remaining": 31, "yellow_toner_status": 1, "yellow_toner": 40}
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for model: DCP-9020CDW
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for serial: E71830H6J621459
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for firmware: ZB2305171647
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for status: Toner faible: c
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for uptime: 1737649716
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for counter: 11908
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for black: 64
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for cyan: 8
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for magenta: 31
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for yellow: 31
[2025-02-01 16:06:57] INFO : #[Bureau DL][Imprimante_état]# record value for last prints: 0
[2025-02-01 16:06:57] DEBUG #[Bureau DL][Imprimante_état]# http://localhost:80 "POST /plugins/brother/core/php/callback.php?apikey=v1cSl6nwnsClTlgxeVcvln7ghNIXs9MkFgfbW5eeKGLtX9nCc3PvpNKUm2kdww7N&eqId=383 HTTP/11" 200 0