LCD Display Info and Monitoring Tool + Kodi install

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Thu Jun 06, 2019 3:55 pm

hominoid wrote:
Wed May 29, 2019 9:48 am
@AreaScout, Just started using your LCD Info and Monitoring Tool on Ubuntu 18.04 minimal. Very nice indeed! Thanks for sharing your wonderful work!
Thank you :)

@all

New version 1.0.12-1 is online:

cloudshell2 LCD display and monitoring tool 1.0.12

New config file ! before installing please remove any older version with sudo dpkg -r cloudshell2-monitoring don't forget to backup your current config before
  • Add possibility to use unique table names for grafana datasource, so multible cloudshell's can be monitored at once
  • Fix rebuild value positioning, moved it more to the right
Have fun :)

baaits
Posts: 3
Joined: Mon Jun 17, 2019 8:50 am
languages_spoken: english
ODROIDs: XU 4 in cloudshell and N2
Has thanked: 0
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by baaits » Mon Jun 17, 2019 8:54 am

Hi awesome monitoring tool!
Installed it and works like a charm.

3 questions:

1. How did you get both HDMI and the LCD working to nice without issues?
Using the default lcd tool supplied by odroid it is a hassle to have dual screen needing to work on Xorf.conf etc.

2. I am using 2 separate drives. So not in RAID mode. Would it be possible to change the GUI to show 2 times free space?

3. Is it possible to change the poll interval for the different metrics somewhere? Can't see anything in the conf file for it.


Thanks!

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Mon Jun 17, 2019 3:32 pm

baaits wrote:
Mon Jun 17, 2019 8:54 am
Hi awesome monitoring tool!
Installed it and works like a charm.

3 questions:

1. How did you get both HDMI and the LCD working to nice without issues?
Using the default lcd tool supplied by odroid it is a hassle to have dual screen needing to work on Xorf.conf etc.

2. I am using 2 separate drives. So not in RAID mode. Would it be possible to change the GUI to show 2 times free space?

3. Is it possible to change the poll interval for the different metrics somewhere? Can't see anything in the conf file for it.


Thanks!
  1. Those are two different devices with two different input buffers, so one Application writes on HDMI and the other Application on the LCD, it's just that easy, no xorg.conf where a xserver tries to write on two devices at the same time
  2. The space is limited on the LCD so no there will be no free space showed for the second disk, why you guy's are not using the RAID controller, it's like buying a car and use it as bicycle ???
  3. Nope you can't change that and why you would ? The app takes only 0.45% CPU usage in AVG, although the next release will contain documentation how long this intervals are, i.e for asking the RAID status each ~1min
P.S.: The RAID controller is monitoring your hard disks for health and it will keep you informed if something is not working, also it provides a fail save and data recovery process while you still can access your data so why not using it ? It let's you read SMART data from both disk in a RAID configuration. :?:

RG

User avatar
mad_ady
Posts: 6178
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 123 times
Been thanked: 89 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by mad_ady » Mon Jun 17, 2019 7:16 pm

@AreaScout: you're going to hate me, but you can display individual disk parameters one at a time... One polling cycle display disk 1, the next cycle disk 2.

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Mon Jun 17, 2019 9:15 pm

mad_ady wrote:
Mon Jun 17, 2019 7:16 pm
@AreaScout: you're going to hate me, but you can display individual disk parameters one at a time... One polling cycle display disk 1, the next cycle disk 2.
No I do not hate you, the Idea is good, but I don't want to loop through a mass of hard disk partitions, because one disk can have of course multible partition, instead you can choose that partition which is the important one for you and configure this to show it by the tool, I think this is better and LVM device naming would make it even more difficult.

RG

baaits
Posts: 3
Joined: Mon Jun 17, 2019 8:50 am
languages_spoken: english
ODROIDs: XU 4 in cloudshell and N2
Has thanked: 0
Been thanked: 0
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by baaits » Mon Jun 17, 2019 10:09 pm

hey Areascout,

In the past I have had issues with drives on hardware raid, where none of the disk where readable anymore. Hotswapping and stuff which didnt work as advertised.

Also when enabling the jmicron Raid, I am afraid that if not the disk, but the XU4/CloudShell hardware fails, for example cpu issue of whatever, then I can no longer just remove the HD from the box and connect it to another pc to get access to my data.

When just using plain drives I can still hook them up to other hardware and read them.

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Tue Jun 18, 2019 12:27 am

baaits wrote:
Mon Jun 17, 2019 10:09 pm
hey Areascout,

In the past I have had issues with drives on hardware raid, where none of the disk where readable anymore. Hotswapping and stuff which didnt work as advertised.
General rule on RAID stages based on capability of the CloudShell2 RAID controller:
RAID0: no data recovery is possible, if a hard disk is defective you will lose all your data, but it's fast, for example if you have a database running on your CS2 the write/read speed will increase
RAID1: this is with data recovery and utilizes mirroring technique, increases read speed in some cases, and provides fault tolerance in the loss of no more than one member disk. You can limit the chance that both hard disk fail at the same time if you order i.e one WD red from Amazone.com and the second one from Jet.com so you can be sure that the hard disk's are not from the same production batch
baaits wrote:
Mon Jun 17, 2019 10:09 pm
Also when enabling the jmicron Raid, I am afraid that if not the disk, but the XU4/CloudShell hardware fails, for example cpu issue of whatever, then I can no longer just remove the HD from the box and connect it to another pc to get access to my data.
If the CPU is defektive just exchange the XU4 -> no data lost
If the RAID controller fails just exchange the RAID controller -> no data lost
baaits wrote:
Mon Jun 17, 2019 10:09 pm
When just using plain drives I can still hook them up to other hardware and read them.
Only with RAID0 you can't hook them up to anther hardware, with RAID1 you can, just set the DIP switch to PM before booting, then boot and hold the RAID config button until the board is up and running and you have two identical disk's with the same contains running on any other hardware

P.S.: To secure your data even more against data lose you can connect a third disk via USB and make a backup once in a week or so

RG

User avatar
rooted
Posts: 6552
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 62 times
Been thanked: 15 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by rooted » Sun Jul 14, 2019 8:26 am

With the latest version I've had my screen go wonky a few times, not sure if it's something in a LCD driver kernel update or your application.

The latest issue is the text was all displayed but the background turned all black, restarting the service didn't change anything.

User avatar
AreaScout
Posts: 998
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell
Has thanked: 11 times
Been thanked: 28 times
Contact:

Re: LCD Display Info and Monitoring Tool + Kodi install

Unread post by AreaScout » Sun Jul 14, 2019 5:15 pm

    Nothing known, did you check that thread ? viewtopic.php?f=147&t=34061

    Try to slightly hammer with the back of a screwdriver on the caseing to see if it's a bad contact, better would be the RAID controller PCB directly

    RG

    User avatar
    AreaScout
    Posts: 998
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 11 times
    Been thanked: 28 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by AreaScout » Tue Jul 16, 2019 9:37 pm

    @all

    New version 1.0.13-1 is online:

    cloudshell2 LCD display and monitoring tool 1.0.13
    • Fixed a memory leak which could consume all your memory after ~one month of running
    rooted wrote:
    Sun Jul 14, 2019 8:26 am
    With the latest version I've had my screen go wonky a few times, not sure if it's something in a LCD driver kernel update or your application.
    rooted this could fix your issues !

    RG
    These users thanked the author AreaScout for the post (total 2):
    odroid (Wed Jul 17, 2019 9:32 am) • rooted (Fri Jul 19, 2019 2:32 pm)

    User avatar
    rooted
    Posts: 6552
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 62 times
    Been thanked: 15 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by rooted » Fri Jul 19, 2019 2:42 pm

    AreaScout wrote:@all

    New version 1.0.13-1 is online:

    cloudshell2 LCD display and monitoring tool 1.0.13
    • Fixed a memory leak which could consume all your memory after ~one month of running
    rooted wrote:
    Sun Jul 14, 2019 8:26 am
    With the latest version I've had my screen go wonky a few times, not sure if it's something in a LCD driver kernel update or your application.
    rooted this could fix your issues !

    RG
    That may be my issue, I just checked and the monitoring binary was using 23% of my memory and I have rebooted recently.

    But generally it only gets rebooted for kernel updates, so months sometimes.

    You didn't mention the update was going to overwrite the config file.

    User avatar
    meveric
    Posts: 10279
    Joined: Mon Feb 25, 2013 2:41 pm
    languages_spoken: german, english
    ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
    Has thanked: 13 times
    Been thanked: 103 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by meveric » Fri Jul 19, 2019 3:04 pm

    rooted wrote:
    Fri Jul 19, 2019 2:42 pm
    You didn't mention the update was going to overwrite the config file.
    considering that I had to kick his behind constantly for him to finally put a config file in there. Image
    My guess is that he forgot to mark the file AS a config file inside the package.
    If it would have been marked as a config file and you changed it, the system will give you the chance to make a diff, keep, or overwrite it upon installation of a new version.
    Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
    Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
    If you want to add my repository to your image read my HOWTO integrate my repo into your image.

    User avatar
    AreaScout
    Posts: 998
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 11 times
    Been thanked: 28 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by AreaScout » Fri Jul 19, 2019 5:39 pm

    meveric wrote:
    Fri Jul 19, 2019 3:04 pm
    rooted wrote:
    Fri Jul 19, 2019 2:42 pm
    You didn't mention the update was going to overwrite the config file.
    considering that I had to kick his behind constantly for him to finally put a config file in there. Image
    My guess is that he forgot to mark the file AS a config file inside the package.
    If it would have been marked as a config file and you changed it, the system will give you the chance to make a diff, keep, or overwrite it upon installation of a new version.
    Ja ja ja, I remember me kicking yours also when having found some bugs in your OGST, guess what ? this is called teamwork ! :lol: :D

    @all

    Next version will probably have GSM Shield support, you will be noticed via SMS if something goes wrong

    Image

    RG
    Last edited by AreaScout on Sat Jul 20, 2019 2:51 am, edited 1 time in total.

    User avatar
    mad_ady
    Posts: 6178
    Joined: Wed Jul 15, 2015 5:00 pm
    languages_spoken: english
    ODROIDs: XU4, C1+, C2, N1, H2, N2
    Location: Bucharest, Romania
    Has thanked: 123 times
    Been thanked: 89 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by mad_ady » Fri Jul 19, 2019 7:13 pm

    What is the last answer?!? Don't leave us waiting!

    User avatar
    AreaScout
    Posts: 998
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell
    Has thanked: 11 times
    Been thanked: 28 times
    Contact:

    Re: LCD Display Info and Monitoring Tool + Kodi install

    Unread post by AreaScout » Fri Jul 19, 2019 7:41 pm

      It went crazy :lol:

      Na, it is just a 'I love you too operator' some happiness that it works, the module that I ordered SIM900A is SIM Locked for Asian cell providers only, however they also have a unlocked firmware for Europe, I had to flash that one, I tried it with an Arduino Mega 2560 and serial port forwarder I wrote for it, but that didn't worked out, luckily I had a USB to UART converter laying around and so it accepted the flashing procedure and after configuring the GSM modem with AT commands for the right frequency I was able to join my provider network and send SMS from it -> very cool, I then decided to add it to my Cloudshell2 monitoring tool :) Really a nice toy that is

      RG

      Post Reply

      Return to “CloudShell”

      Who is online

      Users browsing this forum: No registered users and 0 guests