Sensor21: Earn bitcoin by collecting environmental data

Earn.com
Earn.com
May 26, 2016 · 5 min read

The Cloud and the Grid

Grid computing allows you to sense and act upon the real world

Earn bitcoin for collecting environmental data

Buying sensor21 data

$ 21 buy sensor21 --data '{"n": 5, "sensor": "barometricpressure", "city": "San Francisco"}'{
"city": "San Francisco",
"sensor_type": "barometricpressure"
"readings": [
{
"reading": 101424.2,
"timestamp": "2016-05-25T23:15:45.845Z",
"sensor_id": "6297a731854a2ec0b1ee4e7057d97e75ba751031d952492e24616789"
},
# ... [four more readings]...
]
}
You spent: 100 satoshis.
$ 21 buy sensor21/info{
"info":[
{
"city":"Los Gatos",
"sensors":{
"BAROMETRICPRESSURE":{
"num_active_endpoints":1,
"price_to_buy_active_endpoints":20
},
"TEMPERATURE":{
"num_active_endpoints":1,
"price_to_buy_active_endpoints":20
}
}
},
{
"city":"San Francisco",
"sensors":{
"BAROMETRICPRESSURE":{
"num_active_endpoints":5,
"price_to_buy_active_endpoints":100
},
"TEMPERATURE":{
"num_active_endpoints":5,
"price_to_buy_active_endpoints":100
}
}
},
# [ ...more cities... ]
}

Selling sensor21 data

$ git clone https://github.com/21dotco/sensor21.git
$ cd sensor21
$ source setup.sh
$ python3 sensor21-server.py -d
$ 21 publish submit manifest.yaml -p 'name="Joe Smith" email="joe@example.com" price="50" host="AUTO" port="5002"'

Next steps

Earn.com

Written by

Earn.com

Get paid to read email from outside your network with an Earn.com profile.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade