Cheatography
https://cheatography.com
asdfasdfasdfasdfasdfasdfasfd
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Install and Configure Devices
Connect all devices to a switch or gateway |
choose ip dhcp |
connect IoT devices to the server |
Remote Server ( IP,username,password) |
Diabetic Patient
configure home gateway: ip and select dhcp |
monitor values at different devices |
Installing Lubuntu
use network bridge in vm settings |
UserID: password = osboxes / osboxes.org |
IN linux: sudo su && apt install net-tools |
|
|
Web
$ 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', }));
|
|