Shortcodes
1…
This will place a chart of each daily energy value for a year
Controls include…
| title | i.e. [myenergy_chart title=’Energy (kW)’] | Title/lable of the legend bar |
|---|---|---|
| factor | i.e. [myenergy_meter factor=0.001] | The units of measurement is Watts, therefore the Default factor of 0.001 respresent kW for 15p per kW use factor=0.00015 |
| line/area color | i.e. [myenergy_meter backgroundcolor=’rgb(255, 99, 132)’ bordercolor=’rgb(255, 99, 132)’] | Colors in any format, words, rgb or hex# |
2…
This will place a large numbers, in a digital clock fashion. This is uses the sum of the total energy produced for the year.
Controls include…
| factor | i.e. [myenergy_bigdigit factor=0.001] | 10,000kWh x 0.3837 = 3,837 kg of CO2, is equivalent to the carbon emissions of 1,635 litres of fuel, which would be like taking your car off the road for an entire year! |
|---|---|---|
| format digit bars | i.e. [myenergy_bigdigit width=20 height=10 colour=green] | Other controls for the size of the bars that make the digit the width of the bar … therefore the digit height is approx 2x width the height of the bar … the colour of the bar … use real html color names |
3…
This is places a speedometer type meter view on the page. This uses the sum of energy produced in a day
Firstly, I recommend this is placed in a table as there is a tendency to left align
Controls include…
| day | i.e. [myenergy_meter day=today] | Any words that will resolve to a day can be used… if there are spaces then use single quote i.e.’ last friday’, but I would recommend ‘today’ and ‘yesterday’. |
|---|---|---|
| factor | i.e. [myenergy_meter factor=0.001] | The average residential solar installation, roughly 7,000 watts, offsets the emissions equivalent of more than 180 trees. |
| maxvalue, minvalue | i.e. [myenergy_meter maxvalue=200 minvalue=0] | Max ‘speed’ on range and also sets the colour bands |
| mySpeed format… | bckgnd=white border=gray speed=red spd_ind=darkRed spd_mark=darkGreen red_zn=red grn_zn=green ylw_zn=yellow |
Other controls to set the format of the speedometer |