Recently I have been testing controlling my heating system from emoncms running on a local raspberry Pi: http://openenergymonitor.blogspot.com/2013/12/emoncms-early-heating-control-demo.html
This works great when I'm in the house (although I still need to work on a front-end UI), maybe this heating scheduler could be integrated: https://github.com/elyobelyob/boiler-scheduler-php ?
I have opened http port on my router to give me access to emoncms on my local Pi from anywhere on the internet. This works well, although since I don't have any form dynamic DNS setup my WAN IP regularly changes. Setting up a dynamic DNS would solve this problem but since the Pi is also posting my data to a remote emoncms server I though why not get it to post it's external WAN IP to the remote emoncms as a number of feeds.
Here is a bash script I wrote to do just that, I'm a beginner when it comes to programming to please point out if you think this could be done easier.
The setup I've got working does require a small php script which returns the users IP to be put on the remote server. This script is then called from the local Pi and the IP address posted back to the remote server as four integer feeds. I set this script to run as cron ever couple of hours.
Maybe something like this could form the basis of an emoncms Module in the future. I think it would also be very useful for people installing energy monitoring systems based using the Pi as an emonbase and require remote ssh access for debugging, updating etc
Open-source tools for energy monitoring and analysis. Forum has moved to: https://community.openenergymonitor.org