@valentine-stone/googleapi-telemetry
v1.4.0
Published
An assortment of Google Cloud utilities.
Downloads
8
Readme
googleapi-telemetry
An assortment of telemetry cli presets based on @valentine-stone/googleapi-utils
adapters
Setup
git clone https://github.com/ValentineStone/googleapi-telemetry
cd googleapi-telemetry
npm i
cp .env.example .env
and change it according to your setup
Usage
node telem proxy
to connect Google IoT to GCS over udpnode telem device
to connect serialport device to Google IoTnode telem serial-udp
to connect udp to serial directly (does not use Google IoT)
Explore telemetry.js
for more freaky legacy telemetry options like proxy_c
, device_c
, proxy-iot
and device-iot
and even more legacy unusable presets. A great war over packet loss and ping was waged there.
To generate keys
openssl ecparam -genkey -name prime256v1 -noout -out ec_private.pem
openssl ec -in ec_private.pem -pubout -out ec_public.pem
keys zip file structure
Any amount of nested directories, within them the following files:
ec_private.pem
- pair private keyec_private.pem
- pair public key.env
- dotenv environment variablescredentials.json
- Google Cloud service account credentials