Hometer carbon footprint
Measurement of carbon footprint in homes and calculating in a reliable way in a distributed blockchain. The variables to measure includes but not limited to energy, water consumption, CO/CO2.
Read this in other languages: English, Español.
The calculation of carbon footprint is not the same for all the locations and human activities, it depends on how the energy or water is produced (is different for example for hydraulic than gas generators), and could be subject to human intervention.
We considered the measurement should be obtained by home automation and the carbon footprint must be calculated taking into account the aspects related with the conditions used to do this calculation. All the aspects considered need to be validated by the participants and registered in a blockchain in order to have a realistic and reliable carbon
The IoT devices to be used at home need to provide some aditional value than being only sensors, and be able to read and send the data in an automated way.
The IoT devices used at home or work need to be non intrusive and cost efficient, the data collected by the devices need to be integrated with calculations depending on the location of the sensor and all the calculation need to count for the home of office account owner; so we have several actors updating the ledger for carbon footprint. The hometer network provides all of this capabilities.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
For the code of the device you need to install Arduino software (https://www.arduino.cc/en/main/software) and add the necessary modules to work with nodemcu which are the following libraries:
For IBM Cloud is necessary to provision IBM Internet of Things to gather info from more than a couple devices and Node-Red starter app. For local development you can install node.js and node-red using
bash
dnf install nodejs
npm install nodered
And for start node-red instance simply
bash
node-red
For testing you can configure mqtt.eclipse.org collecting network. This needs to be modified in watsoniot.h file in arduino code and in MQTT IN node in node red to be referenced in both. Also we used a device simulator also available in node-red to simulate the device input.
You can find a running system to test at colnodered.mybluemix.net/ with user and password admin
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use GitHub for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2 License - see the LICENSE file for details