Skip to content

SamueleMeta/google-iot-simulated-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Google IoT Simple Simulated Device

This is a modified version of the simulated device provided by Google, you should use it only for testing purpouses. Like this sample data generator data will look like

{"deviceValue":45.360934963787756,
 "deviceParameter":"Temperature",
 "deviceId":"SBS01",
 "dateTime":"2018-05-31T07:22:50.868Z"}

Setup

  1. Download and unzip the folder
  2. Run npm install jsonwebtoken
  3. Run npm install retry-request
  4. Open device.js and modify the variables under configuration
  5. Get a private key from Google IoT and put in private_key.pem

Execute

Run node device.js

About

A simple simulated device to send fake telemetry data to Google IoT Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published