Show Menu
Cheatography

IoT Cheat Sheet (DRAFT) by

Internet of Things Cheatsheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Get started

what to use?
network bridge
password
osboxes
command1
sudo su
command2
apt install net-tools

Diabetic Patient Healthcare IoT Solution

Configure home gateway
IP and DHCP
where to monitor values
different devices

Install and configure devices

Connect all devices to a switch or gateway

Choose ip DHCP

Connect IoT devices to the server:

Remote Server (Server address, username, password
 

Web Things

$ npm install webthing
const {
 Action,Event,Property,SingleThing,Thing,Value,
 WebThingServer,
} = require('webthing');
performAction() {
 return new Promise((resolve) => {
 setTimeout(() => {
 this.thing.setProperty('brightness',
this.input.brightness);
 this.thing.addEvent(new
OverheatedEvent(this.thing, 102));
 resolve();
 }, this.input.duration);
 });
 thing.addProperty(
 new Property(thing,
 'on',
 new Value(true),
 {
 '@type': 'OnOffProperty',
 title: 'On/Off', type: 'boolean',
 }));