Hi,
For the recipes, the web app needs to know whether a service is going
to be in the condition part (e.g. If [a sensor detects presence]) or
in the action part (e.g. Then [turn on the lights]).
To do this I've been using the getters and the setters properties of
the services. If it has getters, it goes in the condition ; if it has
setters it goes to the action.
But it turns out the IP camera has both getters and setters when I was
expecting it to have setters only.
What does it mean to set a rule like "when the ip camera image list
equals a certain value, then..."? This is not something wanted.
This makes clear that we need another type of mechanism to expose if a
service is going to be in the condition or the action part of a
recipe.
Thoughts?
--
Guillaume Marty
@g_marty
http://gu.illau.me