SkillAgentSearch skills...

Lamp

Kaa based RPi Agent

Install / Use

/learn @AoLab/Lamp
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RPi Plug

Introduction

Senario I

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!

Device Identification and Discovery

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.

Steps

  1. main.c contains source code for simple turn on and off of the lamp.
  2. Using KAA notification for turning the light on
  3. Created lamp application in the KAA server.
  4. Created mandatory notification topic for our lamp.
  5. Registered our notification topic in the endpoint groups.

How To ...

Some points about Kaa 0.8.1

How to change IP address configuration

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

Contributors

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated3y ago
Forks0

Languages

C

Security Score

55/100

Audited on Jan 28, 2023

No findings