seydx / homebridge-printer

Homebridge plugin for ipp (AirPrint) capable printer
MIT License
42 stars 4 forks source link

Many errors on Homebridge's log after last update #9

Closed Stef1972 closed 3 years ago

Stef1972 commented 3 years ago

I'm receiving this message, around one every second, since last update:

[25/02/2021, 09:30:45] [homebridge-printer] This plugin generated a warning from the characteristic 'Filter Life Level': characteristic value expected float and received undefined. See https://git.io/JtMGR for more info.

Any Idea ?

solbadguy2010 commented 3 years ago

Screenshot 2021-02-25 142509

ash123-germany commented 3 years ago

Doesn't work with Epson ET-2550

solbadguy2010 commented 3 years ago

Doesn't work with Epson ET-2550

Du solltest eine detailiertere Fehlermeldung posten und ggf. ein separates Issue erstellen, wenn du nicht genau den gleichen Fehler hast wie ich.

ash123-germany commented 3 years ago

schau mal ob das detailiert genug ist, hab keine Ahnung was der Entwickler gebrauchen kann. Bin völlig neu in dem Bereich.

solbadguy2010 commented 3 years ago

Sieht gut aus. Guck dir auch mal die geschlossenen Issues an. Ich hatte ähnliche Probleme und mir hat wer geholfen.

Hoobs solltest du aber loswerden und auf das offizielle Homebridge Image wechseln. Zu finden unter homebridge.io

seydx commented 3 years ago

Can u post your config.json pls

solbadguy2010 commented 3 years ago

Sure

    {
        "platform": "PrinterPlatform",
        "name": "PrinterPlatform",
        "debug": false,
        "printer": [
            {
                "name": "HP Laserjet M277dw",
                "address": "http://M277dw.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus",
                "manufacturer": "Hewlett-Packard",
                "model": "Color LaserJet MFP M277dw",
                "serialNumber": "VNB8J4W31P"
            },
            {
                "name": "Dymo LabelWriter 450",
                "address": "ipp://Mac-Mini.local:631/printers/DYMO_LabelWriter_450",
                "manufacturer": "Dymo",
                "model": "LabelWriter 450",
                "serialNumber": "1516021750111"
            }
        ],
        "_bridge": {
            "username": "0E:5E:AB:D8:88:ED",
            "port": 59075
        }
    },
seydx commented 3 years ago

@solbadguy2010

can u add „polling“ into your config.json pls

i.e.

"polling": 10

solbadguy2010 commented 3 years ago

Done. Plugin is working with and without the "polling". I only get my log spammed with this Hombridge 1.3.x messages as seen in my screenshot. This is described here: https://github.com/homebridge/homebridge/wiki/Characteristic-Warnings

seydx commented 3 years ago

Should be fixed with v1.0.2

solbadguy2010 commented 3 years ago

It is. great job. Thank you very much!