Expend the frontiers of knowledge . Create something new, study something undiscovered, or replicate and verify scientific studies.
Automate your life. [...] Mak your life and others' live easier by reducing manal tasks that suck the life out of you.
Two "camps" at the cross border of citizen science and automation has structured our ptotoyping work at the begining :
the "CitizenWatt Camp" is about working out the sensoring part with CitizenWatt (a citizen energy program for the reappropriation of energy consumption data)
the "Ethereum Camp" is about connecting the sensors to a local blockchain to enable autonomous energy transactions between energy peers
Those camps are actually part of broader camps :
A design purpose camp call DozeCamp, related to the link between nature, humans and technology, in the context of the coming International Biennale du Design 2017
@Olivier Blondeau came at our local hackerspace (La MYNE) to help us solve the issues we had with the CitizenWatt sensors. The original PCB have been provided directely by CitizenWatt for the DAISEE team for the sake of the experimentation.
The first step was to compare the hardware part to make sure there were no issues compared to a CitizenWatt sensor that works :
No issues were found. It appears that the trouble came from the software and more particularly the way we flashed the ATMEGA. Indeed, after following the flashing process using a FTDI programmer (Code source: sketch Arduino).
We ended up with five working CitizenWatt sensors.
Once the CitizenWatt sensors are working it is necessary to couple the sensor to a Raspberry PI in order for the CW-sensor to communicate the data it senses (through RF in this v1 version of the board and through Low Energy Bluetooth in the coming v2 version of the board). This means that it is necessary to install the CitizenWatt disk image and interface on the Raspberry Pi.
It turns out that it works well with the Raspberry Pi 1 but it doesn't work with the more recent ones since this is not the same architecture. This leads us to another issue then : we need to build the CitizenWatt UX image and boot for a Raspberry PI 3 (that is more powerfull than a Raspberry 1 and might be right to mine as an ethereum node). Clement D., one of the core developer of CitizenWatt thus took some with us to build and test.
However, we did test the good functioning of the CitizenWatt on site with a Raspberry Pi 1 install... and it worked well. However, it turned out that RF is not powerful enough to push data from one floor to the other in the house.
At the end of the day, we still have some trouble to boot the CitizenWatt disk image on a Raspberry Pi 3. Moreover, architecture of the v2 PCB of the CitizenWatt sensor is to come and should be more interesting for our need. However, for the sake of experimentation we carry on with the v1 for the moment. You'll find all the necessary information about the PCB plans and codes of the CitizenWatt sensor AT THIS LINK (GitHub repo).
Beyond the use of CitizenWatt sensor, we also investigate the use of Open Energy Monitor to montor both energy consumption and production.
As part of the development of some bricks of the DAISEE program, two of the main technological bricks are:
How to make Smart Energy Monitoring/Meter IoTs work like Ethereum blockchain nodes that can talk to each other via a local blockchain, as well as make and validate transactions ?
How to automate the transactions management ?
Preliminary steps we required to adress the mining capacity on Raspberry PI 3 or any other supporting device :
For the Ethereum Installation (RaspberryPi) using GETH and an alternative way for the Installation of an Ethereum node on a Raspberry Pi using PARITY
For the Design & Deployment of DApp
For a DApp demo, see
We do not have so much trouble to make Raspberry PI working like an ethereum node of a common private blockchain. Our issues come from the fact that in order for the nodes to participate to the validation and transmission of blocks to the common private blockchain, it is necessary for this node to have mined at least once to generate the DAG file (necessary for the propagation of the blocks in the blockchain). The fact is that for the moment raspberry pi (1, 2 or 3) does not have enough power to mine.
Here are some of the trials made to overcome this issue:
Increase the swap memory of the card
Generate the DAG file without mining (meaning to generate the DAG file on a computer and copy it onto the Raspberry card)
None of those tests are conclusive. As a result, we've decided that it could interesting and more relevant to change the ethereum node support : from a Raspberry to a PINE64+. Note : This choice was made because @Sam got one and because it is more powerful than a Raspberry.
After installing an Ethereum Node onto the PINE64+ it turns out that... MINING WORKS and PROPAGATION of the the blockchain also WORKS; documentation is HERE.
Both the Citizenatt and Ehtereum Camps have been fed and feeding other dynamics that aim at enhancing the citizen root of th projet and the will for building autonomous energy systems. Amongst those dynamics two of them have been relatively important in 2016, along with the Hackaday Prize.
The #CompteurConnect hackathon held by the French ministry for environment, energy and ecology has given the DAISEE team the opportunity to:
Make the project vision clear & work on the global design of the project
Work on a (proto) smart contract based on the ethereum blockchain that simply enable to a person who produce a surplus of electricty to exchange this surplus with another person who is consuming in exchange for a token.
This smart contract is the first energy peer-to-peer contract based on the Ethereum blockchain. It works more or less... still need improvement and it's modest in its structure and on what it is doing but still... the first energy smart contract.
We were there to welcome new members to the contributors team and work on a very first prototype: how to make 3 independent RaspPi Ethereum blockchain nodes to communicate with each other and make transaction. Documentation can be found here.