Don't provide status JSON until we can provide it properly.

This commit is contained in:
Johannes Mockenhaupt 2017-08-27 13:54:07 +02:00
parent ff088ddd3f
commit 40941996c2
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -625,7 +625,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
// TODO v2 add battery, reservoir info when we start reading that and clean up the code // TODO v2 add battery, reservoir info when we start reading that and clean up the code
@Override @Override
public JSONObject getJSONStatus() { public JSONObject getJSONStatus() {
if (pump.lastCmdTime.getTime() + 5 * 60 * 1000L < System.currentTimeMillis()) { if (true) { //pump.lastCmdTime.getTime() + 5 * 60 * 1000L < System.currentTimeMillis()) {
return null; return null;
} }