This repository contains emulated code for the Fogwing IoT for node-mcu-esp8266 that enables devices to send the data seamlessly to Fogwing IoTHub Fogwing platform.
This repository contains the following sensor's code:
Install all required libraries using Arduino IDE.
- DHT sensor library by Adafruit
- PubSubClient library by Nick O' Leary
- ArduinoJson by Benoit Blanchon
Open Arduino IDE, go to Sketch -> Include Library -> Library Manager and include all the above libraries one by one.
Change required credentials with your Fogwing IoTHub access credentials after which you can upload the sketch into the board.
provided everything goes well you will find a message that reads Done Uploading... in the Arduino IDE.
Now you are ready to analyze your data at Fogwing Platform portal, you can access the data in data logs section of the portal.
- Fogwing Platform Forum
- Fogwing Platform Docs
- Please visit https://www.fogwing.io/industrial-iot-platform/ for more information about Fogwing Industrial IoT Platform.