On my loxberry I got this error when starting the script
`
PHP Fatal error: Uncaught Error: Class 'phpMQTT' not found in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php:284
Stack trace:
0 {main}
thrown in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php on line 284
Fatal error: Uncaught Error: Class 'phpMQTT' not found in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php:284
Stack trace:
0 {main}
thrown in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php on line 284
`
so changing from
$mqtt = new phpMQTT($mosquitto_host, "1883", $client_id);
to
$mqtt = new Bluerhinos\phpMQTT($mosquitto_host, "1883", $client_id);
fixes the problem
On my loxberry I got this error when starting the script ` PHP Fatal error: Uncaught Error: Class 'phpMQTT' not found in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php:284 Stack trace:
0 {main}
thrown in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php on line 284 Fatal error: Uncaught Error: Class 'phpMQTT' not found in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php:284 Stack trace:
0 {main}
thrown in /opt/loxberry/webfrontend/legacy/miele/miele-MQTT.php on line 284 `
so changing from
$mqtt = new phpMQTT($mosquitto_host, "1883", $client_id);
to$mqtt = new Bluerhinos\phpMQTT($mosquitto_host, "1883", $client_id);
fixes the problemmaybe this can be adapted, too?
regards Pedro