Skip to content

DigitalTwins

Philippe Coval edited this page Jul 5, 2019 · 20 revisions

DigitalTwins (DRAFT)

PoC

TUTORIAL:

Tutorial

USAGE:

SIMULATE:

The webthing is served and can be queried using http client

git clone https://github.com/rzr/twins ; cd twins
make start

url=http://localhost:8888

curl ${url}/properties
#| {"torso":0,"shoulder":0,"arm":0,"hand":0}

curl -X PUT -d '{ "arm": 42 }' $url/properties/arm
#| {"arm":42}

Then twin can be visualized using:

Next the device can be connected to mozilla-iot Gateway

CLOUD:

url=https://twins.glitch.me
curl -X PUT -d '{ "arm": 42 }' $url/properties/arm

PHYSICAL:

STM32F7 based MCU is running webthing-iotjs with IoTjs for NuttX (until TizenRT is supporting this board).

More details soon:

For instance target

url=http://192.100.0.243:8888
curl -X PUT -d '{ "arm": 42 }' $url/properties/arm
curl -X PUT -d '{ "arm": -42 }' $url/properties/arm

MORE:

INDEX

Clone this wiki locally