Hi,
I followed your instructions to install your library and example code for your door sensor as explained in:
However I cannot proceed with any build because regardless of what I do. It seems that your library is missing the corresponding json file for platformio.
I get a warning when installing the library:
pio lib install 277
Library Storage: /Users/sedim/Documents/NodeMCU/losant-kit-door-sensor/.piolibdeps
LibraryManager: Installing id=277
Downloading…
Unpacking…
Losant @ 1.2.0 has been successfully installed!
Installing dependencies
Looking for Json library in registry
Warning! Library{u'frameworks': [u'arduino'], u'name': u'Json', u'authors': u'Benoit Blanchon'}
has not been found in PlatformIO Registry
.
You can ignore this message, if{u'frameworks': [u'arduino'], u'name': u'Json', u'authors': u'Benoit Blanchon'}
is a built-in library (inc
luded in framework, SDK). E.g., SPI, Wire, etc.
Looking for PubSubClient library in registry
Found: Your Gateway to Embedded Software Development Excellence · PlatformIO
LibraryManager: Installing id=89
Downloading…
Unpacking…
PubSubClient @ 2.6 has been successfully installed!
And I get an error when trying to build your example code:
Processing nodemcuv2 (platform: espressif8266, board: nodemcuv2, framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
Converting losant-kit-door-sensor.ino
Collected 32 compatible libraries
Looking for dependencies…
Error: Could not find Json
dependency for Losant
library
I also tried deinstalling and re-installing the library(s) in the Global directory but to no avail.
Please note:
I have no problem building many .cpp and .ino projects using platformio with many other libraries installed without any problems.
Thank you for your help in this matter. I look forward to using Losant.