fix reply and debug output from awattar
remove osdomotics from plugin install
This commit is contained in:
parent
717917eecf
commit
7a59b5d6fc
1
debian/guh-plugins.install
vendored
1
debian/guh-plugins.install
vendored
@ -21,4 +21,3 @@ usr/lib/guh/plugins/libguh_devicepluginkodi.so
|
||||
usr/lib/guh/plugins/libguh_devicepluginelgato.so
|
||||
usr/lib/guh/plugins/libguh_devicepluginawattar.so
|
||||
usr/lib/guh/plugins/libguh_devicepluginnetatmo.so
|
||||
usr/lib/guh/plugins/libguh_devicepluginosdomotics.so
|
||||
|
||||
@ -101,7 +101,8 @@ void HeatPump::onReplyFinished(CoapReply *reply)
|
||||
}
|
||||
|
||||
if (reply->statusCode() != CoapPdu::Content) {
|
||||
qCWarning(dcAwattar()) << "Resource discovery:" << reply;
|
||||
qCWarning(dcAwattar()) << "Resource discovery status code:" << reply;
|
||||
reply->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -124,7 +125,8 @@ void HeatPump::onReplyFinished(CoapReply *reply)
|
||||
}
|
||||
|
||||
if (reply->statusCode() != CoapPdu::Content) {
|
||||
qCWarning(dcAwattar()) << "Set sg-mode:" << reply;
|
||||
qCWarning(dcAwattar()) << "Set sg-mode status code error:" << reply;
|
||||
reply->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -144,7 +146,8 @@ void HeatPump::onReplyFinished(CoapReply *reply)
|
||||
}
|
||||
|
||||
if (reply->statusCode() != CoapPdu::Content) {
|
||||
qCWarning(dcAwattar()) << "Set LED:" << reply;
|
||||
qCWarning(dcAwattar()) << "Set LED status code error:" << reply;
|
||||
reply->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
@ -160,7 +163,8 @@ void HeatPump::onReplyFinished(CoapReply *reply)
|
||||
}
|
||||
|
||||
if (reply->statusCode() != CoapPdu::Content) {
|
||||
qCWarning(dcAwattar()) << reply;
|
||||
qCWarning(dcAwattar()) << "Unknown reply" << reply;
|
||||
reply->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user