Status | working |
---|---|
Developer | paalsteek |
In the following section you can learn how to build your own Flukso using the FluksoUSB board and an OpenWRT-Router with an USB-Port. To use the custom Flukso with the website you need a device id, a key and sensor ids. You can get these from the mySmartGrid team.
First you have to compile the FluksoUSB firmware with your own sensor ids. Therefore you have to change the following lines in the Makefile provided with the firmware.
SENSOR0 = 0123456789abcdef0123456789abcde0 SENSOR1 = 0123456789abcdef0123456789abcde1 SENSOR2 = 0123456789abcdef0123456789abcde2 SENSOR3 = 0123456789abcdef0123456789abcde3
Now you can compile and install the firmware as described above.
Depending on your router you need different packages. OpenWRTFlukso provides a list of tested routers and the corresponding packages. If your router is not in the list you can try to find a compatible router that is listed or build your own packages from the sources in our git repository.
The package you have to install is fluksousb. It's a meta package that depends on msg-flukso, which contains the necessary scripts to communicate with the mysmartgrid website, and kmod-usb-serial-ftdi.
Download the packages for your router and install them as described in the OpenWRT wiki.
Add the repository for your router to /etc/opkg.conf and install them using
opkg update && opkg install fluksousb
You are almost done now. The last thing you have to do is adding the following lines to the system section in /etc/config/system on your router where device and key are the values you got from the mySmartGrid team.
option device 0123456789abcdef0123456789abcdef option key 00112233445566778899aabbccddeeff