openbase / bco.dal Goto Github PK
View Code? Open in Web Editor NEWDomotic Abstraction Layer
License: Other
Domotic Abstraction Layer
License: Other
The kitchen handles of the csra are not jet integrated in bco.
Please see the complete log here:
20:17:21.689 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl ═══⚀ Scene[Standby] execution failed!
20:17:21.689 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:21.689 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl Scene[Standby] execution failed!
org.openbase.jul.exception.CouldNotPerformException: Scene[Standby] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
20:17:21.689 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:21.689 [pool-1-thread-291] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.689 [pool-1-thread-113] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-113] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-113] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-572] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-572] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-572] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-393] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-393] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-393] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-60] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-60] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-60] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl ═╦═⚀ Could not execute [Standby]
20:17:21.690 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl ╚════⚀ Scene[Standby] execution failed!
20:17:21.690 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:21.689 [pool-1-thread-504] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.689 [pool-1-thread-291] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-504] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-291] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl Could not execute [Standby]
org.openbase.jul.exception.CouldNotPerformException: Could not execute [Standby]
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:98)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openbase.jul.exception.CouldNotPerformException: Scene[Standby] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
... 5 common frames omitted
20:17:21.690 [pool-1-thread-163] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-163] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-468] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-44] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-468] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-44] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-44] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-27] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-27] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-27] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-504] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-162] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:21.690 [pool-1-thread-16] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.690 [pool-1-thread-163] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-16] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.690 [pool-1-thread-16] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.690 [pool-1-thread-468] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:21.741 [pool-1-thread-550] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:21.741 [pool-1-thread-550] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:21.741 [pool-1-thread-550] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.241 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl ═══⚀ Scene[Debug] execution failed!
20:17:22.242 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.242 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl Scene[Debug] execution failed!
org.openbase.jul.exception.CouldNotPerformException: Scene[Debug] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
20:17:22.242 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.242 [pool-1-thread-535] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.242 [pool-1-thread-343] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.242 [pool-1-thread-150] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.242 [pool-1-thread-150] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.242 [pool-1-thread-150] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-398] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.242 [pool-1-thread-434] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.243 [pool-1-thread-398] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.243 [pool-1-thread-434] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.243 [pool-1-thread-398] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-434] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.242 [pool-1-thread-535] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.243 [pool-1-thread-535] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl ═╦═⚀ Could not execute [Debug]
20:17:22.243 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl ╚════⚀ Scene[Debug] execution failed!
20:17:22.242 [pool-1-thread-343] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.242 [pool-1-thread-212] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.243 [pool-1-thread-212] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.243 [pool-1-thread-212] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-269] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.243 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.243 [pool-1-thread-269] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.243 [pool-1-thread-343] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-269] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.243 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl Could not execute [Debug]
org.openbase.jul.exception.CouldNotPerformException: Could not execute [Debug]
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:98)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openbase.jul.exception.CouldNotPerformException: Scene[Debug] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
... 5 common frames omitted
20:17:22.244 [pool-1-thread-222] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.593 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl ═══⚀ Scene[Default] execution failed!
20:17:22.593 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.593 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl Scene[Default] execution failed!
org.openbase.jul.exception.CouldNotPerformException: Scene[Default] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
20:17:22.593 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.593 [pool-1-thread-6] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.593 [pool-1-thread-171] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.593 [pool-1-thread-171] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.593 [pool-1-thread-58] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.593 [pool-1-thread-171] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.593 [pool-1-thread-58] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.593 [pool-1-thread-58] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.593 [pool-1-thread-341] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.594 [pool-1-thread-341] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.594 [pool-1-thread-341] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.593 [pool-1-thread-6] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.594 [pool-1-thread-6] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.594 [pool-1-thread-546] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.594 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl ═╦═⚀ Could not execute [Default]
20:17:22.594 [pool-1-thread-546] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.594 [pool-1-thread-117] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:22.594 [pool-1-thread-546] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.594 [pool-1-thread-117] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:22.594 [pool-1-thread-117] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:22.594 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl ╚════⚀ Scene[Default] execution failed!
20:17:22.594 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:22.595 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl Could not execute [Default]
org.openbase.jul.exception.CouldNotPerformException: Could not execute [Default]
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:98)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openbase.jul.exception.CouldNotPerformException: Scene[Default] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
... 5 common frames omitted
20:17:22.595 [pool-1-thread-190] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:29.264 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl ═══⚀ Scene[Demo] execution failed!
20:17:29.264 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:29.264 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl Scene[Demo] execution failed!
org.openbase.jul.exception.CouldNotPerformException: Scene[Demo] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
20:17:29.265 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:29.265 [pool-1-thread-303] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:29.265 [pool-1-thread-219] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:29.265 [pool-1-thread-303] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:29.265 [pool-1-thread-219] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:29.265 [pool-1-thread-303] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:29.265 [pool-1-thread-219] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:29.265 [pool-1-thread-450] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:29.265 [pool-1-thread-450] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:29.265 [pool-1-thread-450] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:29.265 [pool-1-thread-194] WARN o.o.b.d.r.a.RemoteAction ═╦═⚀ Execution UNKNOWN!
20:17:29.265 [pool-1-thread-194] WARN o.o.b.d.r.a.RemoteAction ╚════⚀ InterruptedException
20:17:29.265 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl ═╦═⚀ Could not execute [Demo]
20:17:29.265 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl ╚════⚀ Scene[Demo] execution failed!
20:17:29.265 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
20:17:29.265 [pool-1-thread-194] WARN o.o.b.d.r.a.RemoteAction =====================================
20:17:29.266 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl Could not execute [Demo]
org.openbase.jul.exception.CouldNotPerformException: Could not execute [Demo]
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:98)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:91)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.openbase.jul.exception.CouldNotPerformException: Scene[Demo] execution failed!
at org.openbase.bco.manager.scene.core.SceneControllerImpl.execute(SceneControllerImpl.java:250)
at org.openbase.bco.dal.lib.layer.unit.AbstractExecutableBaseUnitController$1.call(AbstractExecutableBaseUnitController.java:96)
... 5 common frames omitted
20:17:29.266 [pool-1-thread-527] ERROR o.o.b.m.s.c.SceneControllerImpl =====================================
Tries to allocate the unit resource via the allocation service.
The config param should be removed because the config type is already fixed by this context to "UnitConfig"
Since we fixed the timestamp update, the data load is changed in every data update because of the including timestamp field.
The last time I tried that the groups were gone after saving.
During a test the BrightnessLightSavingAgent cancelled a future which changed the powerState on a location. The following exception occured:
10:52:41.272 [Thread-1623] ERROR o.o.b.d.r.u.l.LocationRemote ═╦═⚀ Could not notify data update to all observer! 10:52:41.272 [Thread-1623] ERROR o.o.b.d.r.u.l.LocationRemote ╚══╦═⚄ Could not notify Data[id: "5bdf7a83-9a14-48f0-a134-9b247c082e49"label: "Paradise"color_state { color { type: HSB hsb_color { hue: 0.0 saturation: 0.0 brightness: 0.0 } } timestamp { time: 0 }}illuminance_state { illuminance: 2000.0 illuminance_data_unit: LUX timestamp { time: 0 }}presence_state { value: ABSENT last_presence { time: 1494579159352000 }}power_state { value: OFF timestamp { time: 1494579161256000 }}blind_state { movement_state: STOP opening_ratio: 0.0 timestamp { time: 0 }}target_temperature_state { temperature: 0.0 timestamp { time: 0 }}motion_state { value: NO_MOTION last_motion { time: 0 } timestamp { time: 0 }}smoke_alarm_state { value: NO_ALARM timestamp { time: 0 }}smoke_state { value: NO_SMOKE smoke_level: 0.0 timestamp { time: 0 }}temperature_state { temperature: 0.0 timestamp { time: 0 }}power_consumption_state { consumption: 0.0 current: 0.0 voltage: 0.0 timestamp { time: 0 }}tamper_state { value: NO_TAMPER last_detection { time: 0 } timestamp { time: 0 }}] to all observer! 10:52:41.272 [Thread-1623] ERROR o.o.b.d.r.u.l.LocationRemote ╚════⚀ CancellationException 10:52:41.272 [Thread-1623] ERROR o.o.b.d.r.u.l.LocationRemote ===================================== 10:52:41.299 [Thread-1623] ERROR o.o.b.d.r.u.l.LocationRemote Could not notify data update to all observer! org.openbase.jul.exception.CouldNotPerformException: Could not notify data update to all observer! at org.openbase.jul.extension.rsb.com.RSBRemoteService.applyDataUpdate(RSBRemoteService.java:1145) at org.openbase.jul.extension.rsb.com.RSBRemoteService.access$900(RSBRemoteService.java:72) at org.openbase.jul.extension.rsb.com.RSBRemoteService$InternalUpdateHandler.internalNotify(RSBRemoteService.java:1079) at rsb.eventprocessing.SingleThreadEventReceivingStrategy$DispatchThread.run(SingleThreadEventReceivingStrategy.java:98) Caused by: org.openbase.jul.exception.MultiException: Could not notify Data[id: "5bdf7a83-9a14-48f0-a134-9b247c082e49" ... ] to all observer! at org.openbase.jul.exception.MultiException.checkAndThrow(MultiException.java:62) at org.openbase.jul.pattern.AbstractObservable.notifyObservers(AbstractObservable.java:254) at org.openbase.jul.pattern.AbstractObservable.notifyObservers(AbstractObservable.java:165) at org.openbase.jul.extension.rsb.com.RSBRemoteService.applyDataUpdate(RSBRemoteService.java:1143) ... 3 common frames omitted Caused by: java.util.concurrent.CancellationException: null at java.util.concurrent.FutureTask.report(FutureTask.java:121) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.openbase.bco.manager.agent.core.preset.BrightnessLightSavingAgent.deallocateResourceIteratively(BrightnessLightSavingAgent.java:140) at org.openbase.bco.manager.agent.core.preset.BrightnessLightSavingAgent.lambda$new$0(BrightnessLightSavingAgent.java:72) at org.openbase.jul.pattern.AbstractObservable.notifyObservers(AbstractObservable.java:215) ... 5 common frames omitted
Afterwards all remotes lost their connection to the controller instances.
When calling waitForData() and afterwards getPowerState() on a PowerStateServiceRemote the following error may occur:
Caused by: org.openbase.jul.exception.NotAvailableException: Context[servicestate] is not available!
at org.openbase.bco.dal.remote.service.AbstractServiceRemote.getServiceState(AbstractServiceRemote.java:114)
at org.openbase.bco.dal.remote.service.PowerStateServiceRemote.getPowerState(PowerStateServiceRemote.java:73)
at de.citec.csra.RegistryObjectManager.processSelectedObject(RegistryObjectManager.java:181)
Currently the brightnessState is used for brightnessSensors as well as dimmableLights.
These are completely different states and should be separated.
In addition colorableLightDate has to have a field for the brightnessState of the dimmableLight as well.
Note: The old fields are still available and filled with the current temperature values until next release for compatibility reasons.
There is a feature needed to describe and configure virtual units.
Virtual Units
Example 1 (Non smart motion detector is bind to an contract IO.)
Example 2 (Non smart lamp connected to an controllable power source like a knx actuator)
Snapshots are a good thing, but sometimes its useful to just record a collection of specific type of units or just units selected by a specific service. The same would be useful by resorting just specific units/services of a global snapshot.
Implement service and unit type filters for the record / restore methods of units.
AbstractLauncher of the launcher framework is bourning all available CPUs if one launcher could not be started and continues throwing exceptions. The Launcher is collecting all exceptions before giving exception reports which caused the cpu burn.
Consumer [] c
Tries to allocate all units of a given type via allocation service.
Returns all allocations that are possible to get.
Maybe this needs to be implemented for the ServiceRemotes.
Get detailed information of changed values of a remote via serviceTypes.
This permits prefiltering (in e.g. ontology.lib) and an update of changed information of the remotes only (instead of all remote content).
The return type of all operation service methods should return Future instead Future
UnitRemotes, which are got via Units.get... with their unitConfig are not available. Following unitTypes are affected: AUDIO_SOURCE, VIDEO_RGB_SOURCE, VIDEO_DEPTH_SOURCE.
16:45:06.872 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer =====================================
16:45:06.872 [pool-2-thread-2] WARN o.o.b.o.l.m.d.UnitRemoteSynchronizer Could not get unitRemote of VIDEO_RGB_SOURCE
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ═╦═⚀ org.openbase.jul.exception.NotAvailableException: Context[Unit[aec0a4d5-c8b9-4843-b13c-789d87434452|ASUS_90IW0122-B01UA_E3IWBDA33550]] is not available!
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ╚══╦═⚀ Context[Unit[aec0a4d5-c8b9-4843-b13c-789d87434452|ASUS_90IW0122-B01UA_E3IWBDA33550]] is not available!
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ╚══╦═⚀ Context[UnitRemote[aec0a4d5-c8b9-4843-b13c-789d87434452]] is not available!
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ╚══╦═⚀ Could not instantiate String!
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ╚══╦═⚀ Could not detect unit remote class for UnitType[VIDEO_RGB_SOURCE]!
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer ╚════⚀ org.openbase.bco.dal.remote.unit.VideoRgbSourceRemote
16:45:07.213 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer =====================================
16:45:07.214 [pool-2-thread-2] ERROR o.o.b.o.l.m.d.UnitRemoteSynchronizer org.openbase.jul.exception.NotAvailableException: Context[Unit[aec0a4d5-c8b9-4843-b13c-789d87434452|ASUS_90IW0122-B01UA_E3IWBDA33550]] is not available!
Background:
I want to change the state of a unit and therefore allocate a resource. I don't care how long the state of the unit will stay this way. So, I think the interval for allocating the resource should be rather short and immediate. But since the interval is not defined relative but absolute it could happen that I miss it.
Furthermore I don't want to define a long interval with the first policy because the first block in the interval could be too long and I could block other allocation attempts before I release the resource.
My questions are:
17:29:45.169 [AWT-EventQueue-0] INFO o.o.b.d.v.u.GenericUnitCollectionPanel Add Dimmer with POWER_STATE_SERVICE value: OFF to unit panel. 17:29:45.178 [AWT-EventQueue-0] INFO o.o.b.d.v.u.GenericUnitCollectionPanel Creating unit panel with command to set a value! 17:29:45.178 [AWT-EventQueue-0] INFO o.o.b.d.v.u.GenericUnitPanel Setup unit remote: acfc8c85-b647-4666-bc00-a83386f5db82 17:29:45.210 [AWT-EventQueue-0] ERROR o.o.b.d.v.u.GenericUnitPanel Skip Service[INTENSITY_STATE_SERVICE] activation because no related service panel registered! 17:29:45.210 [AWT-EventQueue-0] WARN o.o.b.d.r.u.DimmerRemote Waiting for data of an disabled unit should be avoided! Probably this method will block forever! 17:29:45.214 [AWT-EventQueue-0] WARN o.o.b.m.s.v.SceneCreationPanel ═╦═⚀ Could not notify observers! 17:29:45.214 [pool-2-thread-41] ERROR o.o.b.d.r.u.DimmerRemote ═╦═⚀ Sync aborted of /home/bath/dimmer/dimmer/ 17:29:45.214 [pool-2-thread-41] ERROR o.o.b.d.r.u.DimmerRemote ╚════⚀ Remote service is not active! 17:29:45.214 [pool-2-thread-41] ERROR o.o.b.d.r.u.DimmerRemote ===================================== 17:29:45.215 [AWT-EventQueue-0] WARN o.o.b.m.s.v.SceneCreationPanel ╚══╦═⚄ Could not notify Data[[action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "acfc8c85-b647-4666-bc00-a83386f5db82"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "efa33b37-8809-4483-beed-480fd9b50446"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "31b4fd8f-6355-49c2-90bc-039e92d602f0"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "0529ab14-ea69-4c54-9e7a-2288f7b0a5ec"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "b71892c9-cb68-4f6c-9e1b-8837d3c28e1e"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "afa64bbf-7e9c-40fe-a6a7-a368c8a01eaf"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState", action_authority { authority: USER}action_priority { priority: NORMAL}unit_id: "020cf35d-e6a9-4af8-9f3c-16184dff8d36"service_type: POWER_STATE_SERVICEservice_attribute: "{\"value\": \"OFF\"}"service_attribute_type: "rst.domotic.state.PowerStateType$PowerState"]] to all observer! 17:29:45.215 [AWT-EventQueue-0] WARN o.o.b.m.s.v.SceneCreationPanel ╚════⚀ CancellationException 17:29:45.215 [AWT-EventQueue-0] WARN o.o.b.m.s.v.SceneCreationPanel =====================================
It would be nice to get notified about new requested unit states. Currently only the actual unit states are request able and notifier ed.
A remote should save its authentication information after one authorization. But because currently remotes are cashed via Units this is a problem. Wrappers could be a possible fix.
Because the rst timestamp type is representing the time in microseconds instead of milliseconds (like java does) all code sections where the timestamps is calulated or updated should be verified.
@DivineThreepwood commented on Fri Mar 03 2017
Related information are:
Imho, Units.getUnitTransformation(UnitConfig unitConfigA, UnitConfig unitConfigB) returns the exact opposite of what it is supposed to return. The transformation returned is the one leading from B to A.
I could not track the behavior to its origin, but the effects are noticeable when for example calling ((AbstractUnitRemote)Units.getUnit(x, y)).getTransformation().get() which will then return the transformation from x to the root location and not the other way around.
Currently the purely started device manager without any bindings is just setting all service states to UNKNOWN. This is useful during normal runtime because no hardware feedback means no information about the current state. But by simulating the hardware it is currently not possible to modify any Provider Service States which are not modifiable via related OperationService.
A Simulation Mode is needed and would be useful for:
Especially for this issue some code is already available in the ServiceMockupFactory. Because the service factory has no access to any unit controller a special deviceManager binding is needed to provide the simulation mode.
This issue is caused because the unit controller (AbstractUnitController) has not registered the unit interface as remote interface.
The current Service
interface should be split into the following classes / interfaces:
Services
providing the static methods.Service
just used as base service interface for the service pattern.ServiceProvider
used to defined the methods:public Future<ActionFutureType.ActionFuture> applyAction(final
ActionDescriptionType.ActionDescription actionDescription) throws CouldNotPerformException,
InterruptedException;
public void addServiceStateObserver(final ServiceTemplateType.ServiceTemplate.ServiceType
serviceType, final Observer observer);
public void removeServiceStateObserver(final ServiceTemplateType.ServiceTemplate.ServiceType
serviceType, final Observer observer);```
Tries to allocate all units of a given type via allocation service.
If not all units are allocatable then do not allocate any unit at all.
Maybe this needs to be implemented for the ServiceRemotes.
To make dal with android compatible all awt deps should be removed.
Mainly this effects the ColorStateService which was using the awt.Color type.
Get generic information, which kind of data a serviceType contains. For example battery: It contains the kind of data (1) battery state and (2) battery level.
To many status updates are triggered by just changing one power operation service.
The informer of the RSBCommunicationService should send all service timestamp even if the service state didn't change but why are so many updates generated by openhab?
-------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'value': 'ON'}, 'wireschema': '.rst.domotic.state.PowerState'}, 'id': '2da3b3fa-1e7d-5765-bdab-b1bc84d79d77', 'metaData': {'createTime': 1502192392.858959, 'deliverTime': 1502192392.87723, 'receiveTime': 1502192392.877159, 'sendTime': 1502192392.8654, 'userInfos': {}, 'userTimes': {}}, 'method': 'REQUEST', 'scope': '/home/control/colorablelight/testunit_0/ctrl/setPowerState/', 'type': '.rst.domotic.state.PowerState'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, ERROR:rsb.lazy_converter:Unable to dynamically convert incoming data of type .rst.domotic.action.ActionDescription (are the correct RST in your $PYTHONPATH?): No module named ActionDescription_pb2 WARNING:rsb.lazy_converter:Unable to convert the deserialised data to a dictionary): 'bytearray' object has no attribute 'ListFields' 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392874000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': 'eaf159bb-89c0-5781-b9ed-bf4d6d398821', 'metaData': {'createTime': 1502192392.871813, 'deliverTime': 1502192392.882013, 'receiveTime': 1502192392.881948, 'sendTime': 1502192392.871841, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': ['2da3b3fa-1e7d-5765-bdab-b1bc84d79d77'], ERROR:rsb.lazy_converter:Unable to dynamically convert incoming data of type .rst.domotic.action.ActionDescription (are the correct RST in your $PYTHONPATH?): No module named ActionDescription_pb2 'data': {'data': {}, 'wireschema': None}, 'id': '47af925e-ddf3-51e9-8fdf-75466bcca5d0', WARNING:rsb.lazy_converter:Unable to convert the deserialised data to a dictionary): 'bytearray' object has no attribute 'ListFields' 'metaData': {'createTime': 1502192392.871855, 'deliverTime': 1502192392.884, 'receiveTime': 1502192392.883878, 'sendTime': 1502192392.871864, 'userInfos': {}, 'userTimes': {}}, 'method': 'REPLY', 'scope': '/home/control/colorablelight/testunit_0/ctrl/setPowerState/', 'type': None} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': bytearray(b'R$35a52f3d-4df2-49f4-89d0-4f702f0f199a\xa2\x01\x16TestUnit_0[value: ON\n]\xf2\x01BUSER changed POWER_STATE_SERVICE of unit TestUnit_0 to value: ON\n.\xc2\x02\x00\x92\x03\x03\xa0\x06\x01\xb2\x04lR$f1397800-9741-401d-a46f-8bf139c12e92\xa0\x01d\xf0\x01\x00\xc2\x02+rst.domotic.state.PowerStateType$PowerState\x92\x03\x0f{"value": "ON"}\x82\x05`R$35a52f3d-4df2-49f4-89d0-4f702f0f199a\xa0\x01\n\xf0\x01\x02\xc0\x02\x00\x90\x03\x14\xe2\x03\x00\x82\x05(/home/control/colorablelight/testunit_0/\xd0\x05\x00\xa2\x06\t\x08\x02\x18\xa7\x92\xef\x8e\xdc+'), 'wireschema': '.rst.domotic.action.ActionDescription'}, 'id': '8a8af886-074d-5021-ab79-710762c228d2', 'metaData': {'createTime': 1502192392.871877, 'deliverTime': 1502192392.884798, 'receiveTime': 1502192392.884712, 'sendTime': 1502192392.871912, 'userInfos': {}, 'userTimes': {}}, 'method': 'REQUEST', 'scope': '/home/control/colorablelight/testunit_0/ctrl/applyAction/', 'type': '.rst.domotic.action.ActionDescription'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': bytearray(b'R$36f168cb-45f5-47e4-88f9-61ecc63df24a\xa2\x01\x16TestUnit_0[value: ON\n]\xf2\x01BUSER changed POWER_STATE_SERVICE of unit TestUnit_0 to value: ON\n.\xc2\x02\x00\x92\x03\x03\xa0\x06\x01\xb2\x04lR$f1397800-9741-401d-a46f-8bf139c12e92\xa0\x01d\xf0\x01\x00\xc2\x02+rst.domotic.state.PowerStateType$PowerState\x92\x03\x0f{"value": "ON"}\x82\x05`R$36f168cb-45f5-47e4-88f9-61ecc63df24a\xa0\x01\n\xf0\x01\x02\xc0\x02\x00\x90\x03\x14\xe2\x03\x00\x82\x05(/home/control/colorablelight/testunit_0/\xd0\x05\x00\xa2\x06\t\x08\x02\x18\xa7\x92\xef\x8e\xdc+'), 'wireschema': '.rst.domotic.action.ActionDescription'}, 'id': '33e5ff5a-f892-5468-9a41-75ea64f027e3', 'metaData': {'createTime': 1502192392.872043, 'deliverTime': 1502192392.887499, 'receiveTime': 1502192392.887434, 'sendTime': 1502192392.872057, 'userInfos': {}, 'userTimes': {}}, 'method': 'REQUEST', 'scope': '/home/control/colorablelight/testunit_0/ctrl/applyAction/', 'type': '.rst.domotic.action.ActionDescription'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392878000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '78f76590-5874-5d6d-9bbd-c31d4e3abb01', 'metaData': {'createTime': 1502192392.876242, 'deliverTime': 1502192392.891561, 'receiveTime': 1502192392.891498, 'sendTime': 1502192392.876277, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392879000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': 'a2f86f87-d688-5671-bdab-af8a20c15458', 'metaData': {'createTime': 1502192392.876801, 'deliverTime': 1502192392.892692, 'receiveTime': 1502192392.892636, 'sendTime': 1502192392.876816, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': ['8a8af886-074d-5021-ab79-710762c228d2'], 'data': {'data': {}, 'wireschema': None}, 'id': 'e775957e-6180-54fa-aa7f-0adcfbba8c7b', 'metaData': {'createTime': 1502192392.877269, 'deliverTime': 1502192392.89365, 'receiveTime': 1502192392.893554, 'sendTime': 1502192392.877279, 'userInfos': {}, 'userTimes': {}}, 'method': 'REPLY', 'scope': '/home/control/colorablelight/testunit_0/ctrl/applyAction/', 'type': None} -------------------------------------------------------------------------------- {'causes': ['33e5ff5a-f892-5468-9a41-75ea64f027e3'], 'data': {'data': {}, 'wireschema': None}, 'id': '1f4f1fc9-a197-5908-a2b2-42b2d9dc4bc2', 'metaData': {'createTime': 1502192392.878656, 'deliverTime': 1502192392.894922, 'receiveTime': 1502192392.89482, 'sendTime': 1502192392.878691, 'userInfos': {}, 'userTimes': {}}, 'method': 'REPLY', 'scope': '/home/control/colorablelight/testunit_0/ctrl/applyAction/', 'type': None} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392891000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': 'e7c772ed-b04f-5d25-a662-61ef64e8f5ba', 'metaData': {'createTime': 1502192392.890347, 'deliverTime': 1502192392.901139, 'receiveTime': 1502192392.901089, 'sendTime': 1502192392.890386, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392892000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '49442a30-d31a-54a1-8065-4e730575e12a', 'metaData': {'createTime': 1502192392.890817, 'deliverTime': 1502192392.90221, 'receiveTime': 1502192392.902159, 'sendTime': 1502192392.890835, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392904000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '31f00b5d-38f1-572a-9b9d-9c19320e37fc', 'metaData': {'createTime': 1502192392.90304, 'deliverTime': 1502192392.913275, 'receiveTime': 1502192392.913221, 'sendTime': 1502192392.903079, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392904000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '0e1af8bf-da39-55f1-aebb-085b3d6271d8', 'metaData': {'createTime': 1502192392.903509, 'deliverTime': 1502192392.913738, 'receiveTime': 1502192392.913691, 'sendTime': 1502192392.90353, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392916000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '3c65e11d-b9e2-5756-819f-8af9dae41b34', 'metaData': {'createTime': 1502192392.915215, 'deliverTime': 1502192392.925177, 'receiveTime': 1502192392.925095, 'sendTime': 1502192392.91525, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392917000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '9d545310-620e-5d5b-a35e-c79b77b21e87', 'metaData': {'createTime': 1502192392.915656, 'deliverTime': 1502192392.927077, 'receiveTime': 1502192392.927031, 'sendTime': 1502192392.915699, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392929000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': 'b9af88ae-63a2-58b0-bf0b-5329f2088669', 'metaData': {'createTime': 1502192392.927719, 'deliverTime': 1502192392.937035, 'receiveTime': 1502192392.936996, 'sendTime': 1502192392.927758, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392929000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '721928ec-c4e2-534f-a945-912f17cf4ad1', 'metaData': {'createTime': 1502192392.928129, 'deliverTime': 1502192392.938628, 'receiveTime': 1502192392.938585, 'sendTime': 1502192392.928146, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192392941000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': 'dd2447fc-6b54-50b3-a167-c4abed5343e4', 'metaData': {'createTime': 1502192392.940317, 'deliverTime': 1502192392.950478, 'receiveTime': 1502192392.950434, 'sendTime': 1502192392.940352, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192401436000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '2ce335c9-ed74-5e0a-935b-eb20a462d476', 'metaData': {'createTime': 1502192401.435761, 'deliverTime': 1502192401.44603, 'receiveTime': 1502192401.445975, 'sendTime': 1502192401.435796, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'} -------------------------------------------------------------------------------- {'causes': [], 'data': {'data': {'brightness_state': {'brightness': 100.0}, 'color_state': {'color': {'hsb_color': {'brightness': 100.0, 'hue': 314.8241758241758, 'saturation': 100.0}, 'type': 'HSB'}, 'timestamp': {'time': 1502192321006000L}}, 'id': u'f1397800-9741-401d-a46f-8bf139c12e92', 'label': u'TestUnit_0', 'power_state': {'timestamp': {'time': 1502192401437000L}, 'value': 'ON'}}, 'wireschema': '.rst.domotic.unit.dal.ColorableLightData'}, 'id': '0de175f2-cb16-5763-86a7-6038b70ccd56', 'metaData': {'createTime': 1502192401.436204, 'deliverTime': 1502192401.447216, 'receiveTime': 1502192401.447171, 'sendTime': 1502192401.436223, 'userInfos': {}, 'userTimes': {}}, 'method': None, 'scope': '/home/control/colorablelight/testunit_0/status/', 'type': '.rst.domotic.unit.dal.ColorableLightData'}
Create the states Volume and Mute for the audio setup.
Because there is a huge range of suitable white values, there is a method needed to apply nearly the same white value to all colorable lights. Additionally this method can be useful neutralize colorized light setups.
please implement the method:
setNeutralWhite
Default value would be 200,200,200
?
Additionally the value should be configurable via a MetaConfiEntry
like:
NEUTRAL_WHITE=h,s,b
This test is currently (maybe because of #17) disabled.
Because the issue is know fixed the test should be reimplemented and tested
Simulated state changes of units doesn't return timestamp values.
Currently the user provides methods for its activity state and presence state which are not defined by services.
This should be done because these two units support to trigger services according to a unit type.
The serviceRemotes currently update the timestamp while not considering the timeunit of the timestamps given by the underlying services.
Apply API Change of ScopeGenerator
form
public static String generateStringRep(final ScopeType.Scope scope)
to
public static String generateStringRep(final ScopeType.Scope scope) throws CouldNotPerformException
Lately my bco console is getting flooded with error messages of the following kind:
(see https://pastebin.com/veuUMhLm for a more detailed log)
Perhaps this occurs since I am not able to merge the current master into my feature branch on remote side. If so, maybe it can be pointed out which commit I need to cherry-pick in order to solve this issue?
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ═╦═⚀ org.openbase.jul.exception.CouldNotPerformException: Could not invoke Method[Class applyAction(ActionDescription)]!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚══╦═⚀ Could not invoke Method[Class applyAction(ActionDescription)]!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚══╦═⚀ InvocationTargetException
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚══╦═⚀ Could not apply action!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚══╦═⚀ Could not initialize class org.openbase.bco.dal.lib.action.ActionImpl!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚══╦═⚀ Given ActionDescription[] is invalid!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController ╚════⚀ Referred unit is not compatible with the registered unit controller!
17:02:48.544 [Thread-1238] ERROR o.o.b.d.l.l.u.PowerSwitchController =====================================
Jul 06, 2017 5:02:48 PM rsb.patterns.LocalMethod internalNotify
WARNUNG: Exception during method invocation in participant: /home/kitchen/powerswitch/s8_c6/ctrl/applyAction/. Exception message: org.openbase.jul.exception.CouldNotPerformException: Could not invoke Method[Class applyAction(ActionDescription)]!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.