Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mihini-dev] Modbus to Xively Gateway

Hi Anurag,

 

Looks goods at the first glance, well done!

A lot of the tutos are data oriented. There is a nice facility that we set up in Mihini in order to centralize data access in what we call the Tree Manager [1].

It is possible to develop tree extensions [2] in order to add variables in the Tree. The tree is then transparently accessible from all your local application [3], from the Remote Management server or in order to write simple monitoring rules [4].

If you are interested, you can have a look at the tree extension we wrote for the GPIO access [5].

 

[1] http://download.eclipse.org/mihini/doc/agent/Tree_Manager.html

[2] http://download.eclipse.org/mihini/doc/agent/Using_treemgr_handlers_for_asset_management.html

[3] http://download.eclipse.org/mihini/nightly/api/lua/devicetree.html

[4] http://download.eclipse.org/mihini/nightly/doc/agent/Monitoring.html

[5] http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/tree/agent/agent/treemgr/handlers/gpio.lua

 

Cheers,

Cuero

 

 

From: mihini-dev-bounces@xxxxxxxxxxx [mailto:mihini-dev-bounces@xxxxxxxxxxx] On Behalf Of Anurag Chugh
Sent: Friday, August 23, 2013 6:55 PM
To: mihini-dev@xxxxxxxxxxx
Subject: [mihini-dev] Modbus to Xively Gateway

 

Hi Everyone,

 

I am on a mission to create (recreate?) a ModBus to Xively Gateway (via MQTT) using the Eclipse M2M tools. 
I am gonna be using ArchLinux on Raspberry Pi and/or iMX233-OLinuXino-MAXI and/or BeagleBone Black.

 

As I explore the Eclipse M2M tools - slowly building up to my goal - I am going to be documenting my finds on my blog. 

 

Some of the articles are already up:

  1. HelloWorld in Lua on Raspberry Pi running Mihini on ArchLinux with Koneki as IDE
    http://www.electronicsfaq.com/2013/07/helloworld-in-lua-on-raspberry-pi.html
  2. LED Blinky in Lua on Raspberry Pi running Mihini on ArchLinux
    http://www.electronicsfaq.com/2013/08/led-blinky-in-lua-on-raspberry-pi.html
  3. Autostart Lua script on RasPi+Archlinux+Mihini at power up
    http://www.electronicsfaq.com/2013/08/autostart-lua-script-on.html
  4. Reading switches via GPIOs on Raspberry Pi in Lua (ArchLinux+Mihini)
    http://www.electronicsfaq.com/2013/08/reading-switches-via-gpios-on-raspberry.html
  5. DS1621 with Raspberry Pi/ArchLinuxARM
    http://www.electronicsfaq.com/2013/08/ds1621-with-raspberry-piarchlinuxarm.html

I hope these prove to be helpful for those who have just gotten started with Lua and Eclipse M2M tools.

 

Please do leave a comment if you have any suggestions or find any factual/technical error. 

 

Anurag Chugh

Pune, India

 

 


Back to the top