Home

Welcome! Log in or Join us

call: 1300 889 851

Forums SEGmeter Possible to use a linux centos box as the gateway ?

Subscribe to Possible to use a linux centos box as the gateway ? 3 posts, 2 voices

Reply to topic
 

 
Fox_medium
Dec 9, 2010 2:32pm
14 posts

Hi, I was wondering if its possible to connect the segmeter to an Centos 5.5 linux box.

I Have one running 24 hours a day as my mailserver and stuff, can i connect the segmeter and still use the api’s and stuff to upload the data from the segmeter. ?

If so, can you give me some information how to do this ?

Thanks

 

 

 

 
Fox_medium
Dec 11, 2010 11:36am
14 posts

Got it !

Easy if you know howto…Foot in mouth 

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…

 

 

 
Samotage_300_medium
Dec 11, 2010 8:51pm
398 posts

Great stuff, and congratulations Hennie!

Log in to reply to this topic

Forums SEGmeter Possible to use a linux centos box as the gateway ?

copyright © 2013 Smart Energy Groups pty ltd