Sunday, April 12, 2009

sharing data feeds

I put my solar and other feeds onto pachube, looks like the site may have potential, especially if the support googles visualisation api in the future.

Though , googles powermeter will support solar and they will allow direct user feeds at some point.

I will stick with rrdcollect and google spreadsheets, this gives me local data without depending on the internet working, and also gives me nice external views.

Friday, April 10, 2009

Tuesday, April 7, 2009

New power meters with data feeds

These are pretty reasonably priced

http://www.currentcost.com/product-cc128.html

And have a USB cable option, that sends the display information out as an xml string. Shouldn't be difficult to graph and no wiring required :-)

Wednesday, April 1, 2009

creating pac to auto config ipv6 proxy to access ipv4 sites

using polipo proxy to allow ipv6 only clients access ipv4 sites or other proxyable services, I created this pac file , so that browsers only need 'auto configuration' enabled. Works with chrome, firefox and IE , only tested in vista. The first function is a microsoft extension, and was required to get IE to work in vista. The other function is the default.

This pac file sends request that don't resolve to an ipv6 address to the proxy

function FindProxyForURLEx(url, host) {
if (shExpMatch(dnsResolveEx(host), "*:*"))
{
return "DIRECT";
} else {
return "PROXY myproxy:8123";
}
}

function FindProxyForURL(url, host) {
if (shExpMatch(dnsResolve(host), "*:*"))
{
return "DIRECT";
} else {
return "PROXY myproxy:8123";
}
}