Dev corner

Calling all engineers, tinkerers, hackers and geeks.

My flukso not uploading data

logread reports "flukso user.info kernel: NETDEV WATCHDOG: wifi0: transmit timed out"

The flukso sensor web interface claims to be using a particular IP address on the WiFi interface, but my wireless router doesn't have this in its DHCP table.
The flusko thinks it is associated with the wireless router, but clearly isn't.

What is the accepted method to kick the flukso sensor into restablishing the wireless interface, without losing the data that is still cached pending an upload?

Or should I reconfigure my sensor to use the more reliable Ethernet that is also connected?

Flukso API PHP Class

This class connects to the Flukso API url and authenticates with your sensorid and token. Notice that the class uses the cURL library to make the HTTP request, so make sure this extension is enabled in your PHP configuration (thanks Rene for pointing this out). The sensorid and token in the example are from the sensor of Flukso Bart.
You can download a copy of the Flukso API PHP class from this source. Just rename the extension to .php, get and set your Flukso settings and you are ready to go!

Good luck,
Geert

Meter capturing using repurposed adsl routers

Hi All,
I was searching for an "open" project utilising old adsl routers re-flashed with a usable linux firmware (such as openWRT) to do energy monitoring.

Fluxo seems to be the nearest thing but requires (quite expensive IMHO) dedicated hardware.

In the UK, simple metering using the open-collector output from the digital meter, or the clamp meters (which only display) which most energy suppliers will give on request for free), is already possible.

Sequence for flashing a fluksometer

I've written down a sequence for flashing the Fluksometer with a stock FLUKSO-1-0 release. I'm assuming you are running some sort of *NIX system. These specific commands should Just Work(TM) on Debian or Ubuntu.

1/ Connect the Fluksometer via ethernet to your *NIX box. Configure eth0 of your box with a static IP of 192.168.255.2. The Fluksometer is already set to an IP of 192.168.255.1 in its bootloader.

2/ Copy the /etc/config/system file to your machine. (login:root/pass:root)

  1. scp root@192.168.255.1:/etc/config/system