Hi, ich hab das eben gegen "CUPS" getestet.
Das Debuglog sagt:
Code
[25.3.2021, 22:41:13] [PrinterPlatform] Samsung_CLP-510 Sensor: {"version":"2.0","statusCode":"successful-ok","id":34090846,"operation-attributes-tag":{"attributes-charset":"utf-8","attributes-natural-language":"en-us"},"printer-attributes-tag":{"printer-is-accepting-jobs":true,"printer-state":"idle","printer-up-time":1616708473,"queued-job-count":0,"printer-make-and-model":"Samsung CLP-510, 2.0.0"}}
Aber Switch und Sensor bleiben "dunkel" :(.
Code
{
"name": "PrinterPlatform",
"debug": false,
"printer": [
{
"name": "Samsung_CLP-510",
"address": "http://192.168.0.39:631/printers/Samsung_CLP-510",
"polling": 10,
"switchType": "SWITCH",
"manufacturer": "Samsung",
"model": "CLP-510",
"serialNumber": "08154711"
}
],
"platform": "PrinterPlatform"
}
Alles anzeigen