server.modules.state.state

Monitors new data and command read by the sensors and actuators, 
or actions executed by the users over the actuators.

get-house-state

(get-house-state _ houseId _)
Get from the house the values of data from sensors and commands from actuators.

new-action

(new-action obj houseId agentId)
Save new action captured by the actuators in the house.

new-command

(new-command obj houseId controllerId)
Save new command captured by the leafs in the house.

new-data

(new-data obj houseId controllerId)
Save new data captured by the leafs in the house.

send-action-result

(send-action-result obj houseId agentId)
Receive the result of an action (done or couldn't be done) from the controller