Script to retrieve temperature from IBS-P01 sensor with the IBS-M1 gateway.
This script may not work for you.
Looks like there are differente version of the same sensor and gateway and each one uses a different encode. I've left some comments at the code, you can try change some values to make it work better for you.
Works on Windows, Linux and MacOS.
- Install the latest Node.js version.
- Download the
package.jsonandindex.mjsfiles into the same folder. - Open your terminal and type
npm install. - Open the
index.mjsfile on a text/code editor. - Fill the values appointed by the comments.
- On terminal, type
node index.mjs.