Systeminfo Binding on ARM based devices

2,731 views
Skip to first unread message

Hans-Jörg Merk

unread,
Nov 16, 2013, 8:26:04 PM11/16/13
to ope...@googlegroups.com
Hi,
for all those missing HYPERIC SIGAR support on ARM based devices like Cubieboard or RasPi to run openHABs Systeminfo Binding, please find the missing files attached.

If you use different ARM based devices and the files are not working for you, follow these instructions to build your own SIGAR support:

Pakets needed installed :
  • Oracle JDK 7
  • Ant 1.6.5 or higher (Ant installation will also install openjdk which has to be removed !)
  • Perl 5.6.1 or higher
  • C compiler
cd /usr/src
tar -zxf hyperic-sigar-1.6.4-src.tar.gz
cd hyperic-sigar-1.6.4-src/bindings/java
ant

Errors or warnings during compile can be ignored

Test your SIGAR executing
java -jar sigar-bin/lib/sigar.jar

You now should have a new shell
sigar>
type help to see possible commands
Copy sigar.jar and libsigar-arm-linux.so to openhab/lib/


Enjoy !

Regards
Hans-Jörg
sigar-raspbian.zip
sigar-cubian.zip

Petr Klus

unread,
Apr 15, 2014, 11:25:24 AM4/15/14
to ope...@googlegroups.com
Thanks! Added links to the Wiki..

Geert

unread,
Sep 16, 2014, 3:14:39 PM9/16/14
to ope...@googlegroups.com
Has anyone build this for the Odroid-U3 yet?

Op zondag 17 november 2013 02:26:04 UTC+1 schreef Hans-Jörg Merk:

Geert

unread,
Sep 17, 2014, 11:06:38 AM9/17/14
to
Here are the files for the Odroid-U3 :)

Sorry for all the (deleted) double posts, Google Groups was giving me an error when I tried to post.
After which is magically added all my post attempts anyway...



Op dinsdag 16 september 2014 21:14:39 UTC+2 schreef Geert:
sigar-odroid-u3.zip
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Ted Tenderson

unread,
Feb 4, 2015, 12:01:08 PM2/4/15
to ope...@googlegroups.com
Hi Geert,

I truly appreciate if you kindly provide me the Sigar files for the following config:

Hardware : OMAPL 138 M2M-LV board
Processor : ARM 926EJ-S rev 5 (v5l)
BogoMIPS : 149.50
Features : swp half thumb fastmult edsp java 
CPU implementer : 0x41
CPU architecture: 5TEJ

Desperately, looking forward to hearing from you.

Thanks in advance.
Ted.

On Wednesday, September 17, 2014 at 5:06:38 PM UTC+2, Geert wrote:
Here are the files for the Odroid-U3 :)

Sorry for all the (deleted) double posts, Google Groups was giving me an error when I tried to post.
After which is magically added all my post attempts anyway...



Op dinsdag 16 september 2014 21:14:39 UTC+2 schreef Geert:
Has anyone build this for the Odroid-U3 yet?

Geert Broekmans

unread,
Feb 4, 2015, 12:57:29 PM2/4/15
to ope...@googlegroups.com

Hi Ted,

As I don't own this piece of hardware, I can't build the files for it.
You can do this yourself though.
Once you've made the files, please share them here so others can  benefit from your work.

Good luck.

Cheers, Geert

--
You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/18C7FYpxWTQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/e9073582-a6ca-4c70-8a56-edfa279e4528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ted Tenderson

unread,
Feb 4, 2015, 4:11:55 PM2/4/15
to ope...@googlegroups.com, ge...@madclog.nl

Thanks Geert for quick reply. I am running BusyBox with Linux kernel 2.6. Can you please let me know the build process?

Thanks again & Cheers,
Ted.

Geert

unread,
Feb 5, 2015, 2:43:53 AM2/5/15
to ope...@googlegroups.com, ge...@madclog.nl
The build instructions are in the first post of this thread.
I think I used those when building the files for the Odroid U3.

I'm in no way associated with the Syetem info binding or Sigar, just another end user just like you.

Cheers,
Geert

Op woensdag 4 februari 2015 22:11:55 UTC+1 schreef Ted Tenderson:
Message has been deleted

Norbert JORDAN

unread,
Feb 18, 2015, 3:17:22 PM2/18/15
to ope...@googlegroups.com
Hi Hans-Jörg...
had my problems with standard openhab installation to use syinfo @Odroid U3. Did now use your files and all works fine....only one question....is there a simple way (without builidng from source) to avoid so many numbers after the Komma for CPU load....

2015-02-18 21:14:23.666 [INFO ] [runtime.busevents             ] - CPU_combined state updated to 0.649350649350649344881958313635550439357757568359375
2015-02-18 21:14:28.667 [INFO ] [runtime.busevents             ] - CPU_combined state updated to 0.45000000000000006661338147750939242541790008544921875

Thanks for your help,
Norbert

Hans-Jörg Merk

unread,
Feb 18, 2015, 5:06:28 PM2/18/15
to ope...@googlegroups.com
Hi Norbert,
as far as i know, output can not be changed, just the way it's diplayed in sitemap.

Best
Hans-Jörg

Norbert JORDAN

unread,
Feb 23, 2015, 5:58:13 PM2/23/15
to ope...@googlegroups.com
Thanks a lot....just realized after updating to 1.7.0 runtime - that your sysinfo binding 1.6.2 seems to not be compatible....is there a chance to make a 1.7.0 binding available - if its true what i experience that 1.7.0 is not compatible with 1.6.2 binging for sysinfo...

Thanks a lot for your help,
Norbert

Hans-Jörg Merk

unread,
Feb 24, 2015, 11:25:45 AM2/24/15
to ope...@googlegroups.com
Hi,
I am not the author of sysreminfo binding, so I am afraid I can not be of any help.

Best
Hans-Jörg

Robert van Bregt

unread,
May 4, 2015, 2:01:51 AM5/4/15
to ope...@googlegroups.com
I have added installation instructions to the wiki: 


Op zondag 17 november 2013 02:26:04 UTC+1 schreef Hans-Jörg Merk:
Hi,

David Larusso

unread,
Jun 19, 2015, 12:28:12 PM6/19/15
to ope...@googlegroups.com
Hi!

I have a question how I can show my SD Card storage with the Systeminfo Binding. 
OpenHAB runs on my RaspberryPi with several Bindings including the Systeminfo-Binding.
When I have a Item like this:

Number FileSystemUsagePercent "Speicherplatz benutzt [%.0f %%]" <sd> (System) { systeminfo="DirFiles:600000:/" }

I get wrong stats. Does anyone know which path I have to choose, to get the correct stats?

What I previously did was get the path from my SD Card with
lsblk

But when I add the path of the SD Card I get errors (I think it's because it's not really a directory since I can't jump to it through terminal as well.)

Can anyone help me?




Reply all
Reply to author
Forward
0 new messages