# Public portal for viewing live generation data

**URL:** <https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892>\
**Category:** Applications\
**Tags:** wind, pvoutput.org, solar, webportal, hydro\
**Created:** [3 July 2016 11:30 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892 "2016-07-03T11:30:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew.neil.clark](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andrew.neil.clark/32/29362_2.png) [@andrew.neil.clark](https://community.openenergymonitor.org/u/andrew.neil.clark)\
**Post date:** [3 July 2016 11:30 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892/1 "2016-07-03T11:30:00Z")

</div>

Is anybody aware of a site that functions like [pvoutput.org](http://pvoutput.org) for uploading data from other generation technologies such as wind and hydro? It would be great to be able to view others’ data online and share my own.

---

<div class="post-metadata">

**Author:** ![Bill.Thomson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/bill.thomson/32/1834_2.png) [@Bill.Thomson](https://community.openenergymonitor.org/u/Bill.Thomson)\
**Post date:** [3 July 2016 18:14 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892/2 "2016-07-03T18:14:10Z")

</div>

Thingspeak comes to mind. [https://www.thingspeak.com](https://www.thingspeak.com)  
Like [pvouptut.org](http://pvouptut.org) it’s free, but updates are limited to 8 fields maximimum, once every 15 seconds.

---

<div class="post-metadata">

**Author:** ![andrew.neil.clark](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andrew.neil.clark/32/29362_2.png) [@andrew.neil.clark](https://community.openenergymonitor.org/u/andrew.neil.clark)\
**Post date:** [4 July 2016 02:50 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892/3 "2016-07-04T02:50:56Z")

</div>

This looks promising.  
I’m still learning how to use API keys.  
I need a line of code to add to my Emoncms config file to upload data to a ThingSpeak channel.  
Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![Bill.Thomson](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/bill.thomson/32/1834_2.png) [@Bill.Thomson](https://community.openenergymonitor.org/u/Bill.Thomson)\
**Post date:** [4 July 2016 17:17 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892/4 "2016-07-04T17:17:42Z")

</div>

I use a bash script to send my data to Thingspeak. It uses the json api to read feed values from a local instance of emonCMS, strips the quotes from the json string, then sends the data to Thingspeak every 15 seconds, via curl.

```
#!/bin/bash
apikey='XXXXXXXXXXXXXXXX'
iekwhd=$(curl -s http://127.0.0.1/emoncms/feed/value.json?id=19)
iekwhd=${iekwhd//\"} # strip quote characters from json string
curl -skd "api_key=$apikey&field8=$iekwhd" https://api.thingspeak.com/update 2>&1

```

I did it that way for a couple of reasons. I use a Python script to read a Wh meter via Modbus (RS-485).  
The Python script reads the Wh meter via a python module called Minimal Modbus.  
Minimal Modbus gets called every 5 seconds via Advanced Python Scheduler. (another Python module)  
Adding the bash script call to the scheduler job list was _very_ easy to do.

I chose APS as it can do cron-style scheduling with a resolution of one second.  
One other thing that works well for _me_, is the fact that changes to the bash script  
happen as soon as the next call to the bash script is made, i.e. I don’t have to stop  
and restart the main Python script.

All of that, and the fact that I’m _not_ a Python programmer. 😉

---

<div class="post-metadata">

**Author:** ![andrew.neil.clark](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/andrew.neil.clark/32/29362_2.png) [@andrew.neil.clark](https://community.openenergymonitor.org/u/andrew.neil.clark)\
**Post date:** [7 September 2016 09:23 UTC](https://community.openenergymonitor.org/t/public-portal-for-viewing-live-generation-data/892/5 "2016-09-07T09:23:20Z")

</div>

A belated thanks for your input Bill.  
I will have to see what sense I can make of it when I get some head space!  
Andrew
