User Tools

Site Tools


fluksoupdate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fluksoupdate [2010/09/08 11:17]
elyoliveira
fluksoupdate [2012/10/30 10:27] (current)
Line 1: Line 1:
- 
 === If you are at ITWM HPC === === If you are at ITWM HPC ===
  
Line 11: Line 10:
   - When you finish, please don't forget to logout.   - When you finish, please don't forget to logout.
  
 +=== Update your Flukso to the for mySmartGrid adjusted version ===
 +
 +For this method you need a POSIX compliant shell, ssh and expect installed.
 +
 +The sourcecode is available at Mathias' github page: [[http://github.com/gonium/msg-flukso]]. Clone it to have your own local copy. The repository contains the three parts: Microcontroller firmware, Router board software (openwrt) and the code for the website. We're only interested in the openwrt part.
 +
 +The update script is located at openwrt/package/luci/applications/mysmartgrid/luasrc/tools/flukso_update.sh in git.
 +To update your Flukso make sure that it has access to the internet. If you want the Flukso to use the internet connection of your computer, enable IP-forwarding and change the IP in the update script.:
 +
 +<code>
 +IP="192.168.255.254" # The IP of your computer
 +</code>
 +
 +Then set your password in openwrt/package/luci/applications/mysmartgrid/luasrc/tools/flukso_update.exp:
 +
 +<code>
 +set pass "yourpassword"
 +</code>
 +
 +Now run the script while your computer is connected to the Flukso.
  
 === Update your Flukso to run the development version === === Update your Flukso to run the development version ===
Line 23: Line 42:
 xmlrpcaddress = 'http://dev2-logger.mysmartgrid.de/xmlrpc' xmlrpcaddress = 'http://dev2-logger.mysmartgrid.de/xmlrpc'
 </code> </code>
 +
 +Open heartbeat.lua and change the xmlrpcaddress and server entry to:
 +
 +<code>
 +server        = 'dev2-logger.mysmartgrid.de',
 +xmlrpcaddress = 'http://dev2-logger.mysmartgrid.de/xmlrpc',
 +</code>
 +
  
 After restarting the flukso daemon, you should have a "/tmp/sensor" directory: After restarting the flukso daemon, you should have a "/tmp/sensor" directory:
fluksoupdate.1283937450.txt.gz ยท Last modified: 2012/10/30 10:41 (external edit)