Twitter

PlaatEnergy 0.6

PlaatEnergy v0.6 is released with the following changes and bug fixes:

28-01-2016 PlaatEnergy v0.6

  • General: Added database backup feature to setting page.
  • General: Minimum and maximum day value to weather information pages.
  • General: Raspberry Pi Sense Hat led display shows now current power usage every minute.
  • General: Added PlaatSoft Logo to about page.
  • General: Added source code documentation for better support.
  • Bugfix: Used energy years report show now correct Y axes scale.
  • Bugfix: Selecting day in the future is now not possible anymore!

Click here to download the latest version.

PlaatEnergy 0.5

PlaatEnergy v0.5 is released with the following changes and bug fixes:

20-01-2016 PlaatEnergy v0.5

  • General: Move all configuration items to database.
  • General: Add settings page.
  • General: Add energy, gas, solar measurement correction page.
  • General: Improve header and footer block of all pages.
  • General: Improve error handeling. If something goes wrong user is better informed.
  • Realtime Information: Add slider effect to information boxes.
  • Realtime Information: Add sunrise and sunset information box based on location.
  • Realtime Information: Add energy and gas carbon dioxide emission information box.
  • Realtime Information: Setting slider contain now more options.
  • Installation: Database is now automaticly created/patched during installation.
  • Installation: Now only one cron job is needed.
  • Installation: Python sensors scripts fetch device settings from database.
  • Installation: When new version is available user is informed.
  • Bugfix: Energy / Weather station meter connection down detection improved.

Click here to download the latest version.

Google Charts zoom in dataset example

google-chartsI took me a while to understand how Google Charts can be extended with a zoom/drill in data set feature. You have to add then google.visualization.events.addListener method which fetch the selected datapoint of a graph. With some extra javascript code you can reload the chart with a more detailed dataset. See example below!

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
      google.load("visualization", "1", {packages:["bar"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {

      var options = {
          bars: "vertical",
          bar: {groupWidth: "90%"},
          legend: { position: "none"},
          vAxis: {format: "decimal"},
          isStacked:true,colors: ["#0066cc", "#808080"],vAxis: { format:"decimal", viewWindow: { min: 0, max: ".round($max_forecast+100)." } }, series: {
            3: {
                targetAxisIndex: 1
            }
          }
        };

        var data = google.visualization.arrayToDataTable([['','Low (kWh)','Normal (kWh)','Solar (kWh)','Forecast (kWh)'],['2006',0,0,0,0],['2007',0,0,0,0],['2008',0,0,0,0],['2009',0,0,0,0],['2010',0,0,0,0],['2011',0,0,0,0],['2012',0,0,0,0],['2013',0,0,0,0],['2014',0,0,0,0],['2015',0,0,0,0],['2016',20,20,11,278.75]]);
        var chart = new google.charts.Bar(document.getElementById("chart_div"));
        chart.draw(data, google.charts.Bar.convertOptions(options));

        google.visualization.events.addListener(chart, "select", selectHandler);

        function selectHandler(e)     {
           var year = data.getValue(chart.getSelection()[0].row, 0);
           link("pid=30&eid=88&date="+year+"-1-1");
        }
      }
function link(value)
{
	var form = document.forms['plaatenergy'];
	var newInput = document.createElement('input');
	newInput.setAttribute('type','hidden');
	newInput.setAttribute('name','token');
	newInput.setAttribute('value',value);
	form.appendChild(newInput);		
		
	form.submit();
}

GitHub

githubThis evening i moved all my project source code to GitHub because Google Code is disabling there service soon. I have also updated the software license of my software from GNU General Public version 2 to GNU General Public version 3.

WarQuest 6.9

WarQuest v6.9 is released with the following changes and bug fixes:

01-01-2016 WarQuest v6.9
Game Server

  • Update copyright footer.
  • Update copyright banner in source code.
  • Move source code from Google Code to GIT Hub repository.
  • Bugfix: Paypal dialog is now default english.

Play

Click here to enter directly the game!

PlaatScrum 1.1

PlaatSoft released PlaatScrum with the following remarks:

01-01-2016 PlaatScrum 1.1
– Update copyright footer.
– Update copyright banner in source code.
– Added phpdoc to project.
– Move source code from Google code to GitHub.

Check out the demo here

PlaatEnergy 0.4

PlaatEnergy v0.4 is released with the following changes and bug fixes:

01-01-2016 PlaatEnergy v0.4

  • Add forecast information to years and year reports.
  • Add multi language support.
  • Move dutch translation to resource file.
  • Add english resource file.
  • Add solar correction page to add missing measurement.
  • Add release notes page.
  • Add about page.
  • Add donate page.
  • Improve realtime info page. Now page has same dimensions as other pages.
  • Add light and dark css theme (thanks bplaat).
  • Add buttons icons (thanks bplaat).

Click here to download the latest version.

Happy New year

I wish you all a very good 2016! Greetings to everybody!