Got it !
Easy if you know howto…
using an serial > usb adapter from the arduino pro to the usbport of the centos box …
Install lua on the linux box
yum -y install lua\*
next download ser2net from sourceforge , compile it and create a file /etc/ser2net.conf including a line 2000:raw:0:/dev/ttyUSB0:38400
run ser2net ( check if everything works by telnetting to localhost 2000 , watch for data , after that disconnect the telnet session )
next copy aiko_configuration.lua and aiko_gateway.lua ( from git ) to the /root folder on the linux box… and run ./aiko_gateway.lua from this folder
create a site in smartenergygroups and start discovering…
|