Kaa based RPi Agent
The threshold is defined by the user.
If a person is present in the room and the lightning is less than user-defined threshold then some number of lamps are turned on!
We use Kaa Endpoint Profile for device identification and discovery.
Devices find by Location Info Schema, in this schema we store infomations
about device room number and room owner.
unzip -p 2016-03-18-raspbian-jessie.zip | sudo dd of=/dev/mmcblk0 bs=32M
You can change listening IP address of Kaa Node service with:
sudo sed -i 's/transport_bind_interface=.*/transport_bind_interface={IP ADDRESS}/' /etc/kaa-node/conf/kaa-node.properties
sudo service kaa-node restart
And you can change embedding IP address of Kaa Node service in auto generated SDK with:
sudo sed -i 's/transport_public_interface=.*/transport_public_interface={IP ADDRESS}/' /etc/kaa-node/conf/kaa-node.properties
sudo service kaa-node restart