This script is used to receive power data from Shelly power meters / smart switches (like Pro 4PM used here).
README is WIP
TBD
- Install Node.js.
- Navigate into the script folder and run
npm install
which install required modules into the folder (like MQTT connector). - In the
app.js
script add your own config for MQTT broker. - Run
node app.js
in the root folder to start the app. - You are going to be prompted to enter the name of the measurement. You should use anything that is allowed in you OS.
- Wait until the value
0
appears and then you can start you testing. - To save the measurement and quit, press Ctrl + x.
- You are going to find your measurement in the folder
out/
.