openbase / bco.device

Other
0 stars 0 forks source link

Warning printed when Light or PowerSwitch is controlled via its PowerStateOperationService #72

Open DivineThreepwood opened 4 years ago

DivineThreepwood commented 4 years ago

The following warning is printed when a Light is switched on or off.

17:35:56.012 [pool-1-thread-2136] WARN  o.o.b.d.o.m.s.PowerStateServiceImpl ═╦═⚄ Some command classes could not be used to apply the state:
17:35:56.012 [pool-1-thread-2136] WARN  o.o.b.d.o.m.s.PowerStateServiceImpl  ╠══╦═⚀ Could not post value[0] on sub-URL[items/Light_12__PowerStateService]
17:35:56.012 [pool-1-thread-2136] WARN  o.o.b.d.o.m.s.PowerStateServiceImpl  ║  ╚════⚀ Response returned with errorCode[400] and error message[Error 400 Bad Request

HTTP ERROR 400

Problem accessing /rest/items/Light_12__PowerStateService. Reason:

    Bad Request


Powered by Jetty:// 9.4.11.v20180605
] 17:35:56.013 [pool-1-thread-2136] WARN o.o.b.d.o.m.s.PowerStateServiceImpl ╚══╦═⚀ Could not post value[0,0,0] on sub-URL[items/Light_12__PowerStateService] 17:35:56.013 [pool-1-thread-2136] WARN o.o.b.d.o.m.s.PowerStateServiceImpl ╚════⚀ Response returned with errorCode[400] and error message[Error 400 Bad Request

HTTP ERROR 400

Problem accessing /rest/items/Light_12__PowerStateService. Reason:

    Bad Request


Powered by Jetty:// 9.4.11.v20180605
] 17:35:56.013 [pool-1-thread-2136] WARN o.o.b.d.o.m.s.PowerStateServiceImpl =====================================

Maybe there is a color state applied value[0,0,0] which is not valid for a pure PowerStateService? Issue seem not to cause any thing else than this warning print, however its filling the log with many warnings.

DivineThreepwood commented 4 years ago

same issue reported here: openbase/bco.device#71