IoTaWatt libraries


#1

Hi everyone,

I’ve bought an IoTaWatt Energy Monitor and it works perfectly.

I’m now interested in understanding how can I upload the code to another NodeMCU (the controller inside the IoTaWatt). I’ve found all the documentation on Github, but when I try to upload the code the number of errors is huge. Most of all are related to the libraries versions and the right usage of these libraries. I’m trying to upload the code the Arduino IDE.

Is there a way to do this and using the libraries versions so there are no wrong definitions and conflits? Maybe with PlatformIO?

Any help? Best regards!


#2

Platform I/O manages all of the dependencies. That is all specified in the platformio.ini file included in the Github repo.


#3

Gotcha. I’m new to PlatformIO. Thank you Mr. overeasy.