www.homeseer.com    
 

Go Back   HomeSeer Message Board > Legacy Software & Plug-ins > Legacy Software (Older Versions) > HSTouch™ > Clients - Linux

Clients - Linux Discussions regarding HSTouch Clients for Linux Devices

Reply
 
Thread Tools Display Modes
  #1  
Old August 24th, 2011, 01:25 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Joggler Ubuntu 11.04

Here are some screens of the Joggler running Ubuntu 11.04. I had to remake the HSTouch screens such that they fit. Made a video and will post shortly. Response times are much faster than Chumby. Capacitance screen is the icing on the cake. I also have an Android HSTouch setup. Reponse times are even faster with the Android. I'm going towards a multiboot Joggler as I like to listen to the radio stations on the Joggler OS. I did try to implement the Joggler OS on to the Ubuntu 11.04; but the libraries appear to be for Ubuntu 10 version. For the Ubuntu 11.04 I am using VNC to remote to the client and Dropbear for SSH. The Ubuntu 11.04 has the newest Adobe flash; but I can't get Android to do the HSTouch flash that I am using.

The last picture is of the Joggler in front of the Chumby and XP Atom based client.
Attached Images
    
__________________
- Pete

Automator

HS3 Pro & Lite
Edition Beta 3.0.0.383 | Ubuntu 16.04 64 bit | Oracle Windows Virtual Box ==> for Wintel only SAPI and HS3 plugins

Reply With Quote
  #2  
Old August 24th, 2011, 04:38 PM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
i've uploaded screenshots of mine here aswell, I went for the simplicity option and these are non RDP Linux HSTouch clients running on the Joggler using the same version of Ubuntu. The charts are Google charts and being generated from a couple of plugins...

Got a few more screens to make along the way to adjust some of the settings in HS (with perhaps a password screen) and to restart HS, so I can do some alterations of the config of HS without loading up the Web/VNC GUI.
Reply With Quote
  #3  
Old August 24th, 2011, 04:49 PM
rmasonjr's Avatar
rmasonjr rmasonjr is online now
OverSeer
 
Join Date: May 2001
Location: Brookhaven, MS USA
Posts: 6,168
mrhappy - is the response time for HSTouch acceptable running as the client? Meaning, is there much lag?

I would suspect that Pete's VNC approach would be a little faster since HSTouch is running back on the server?

Very interesting you guys!
__________________

HS3Pro Running on a Raspberry Pi2 (Raspbian)
61 Z-Wave Nodes, 162 Events, 293 Devices
UPB modules via OMNI plugin/panel
Plugins: Z-Wave, BLRF, HAI, HSTouch, weatherXML, EasyTrigger
HSTouch Clients: 3 Android, 1 Joggler

Last edited by rmasonjr; August 24th, 2011 at 04:53 PM. Reason: spelling is alsome
Reply With Quote
  #4  
Old August 24th, 2011, 05:04 PM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
I might make a video - not sure how good my digital camera is at videos though to show you, I don't see any particular lag with the Linux client. If I use RDP I do see imperfections in the graphics caused by compression over the network. I'm in a bit of a quandry to either live with the graphics imperfections and in turn get the full functionality of the windows HSTouch client (the linux client has a few bugs/missing features) - its like the old beauty vs. brains argument.

Heres a shot of it running RDP (and it does look like this on the actual screen of the device).

Last edited by mrhappy; May 23rd, 2012 at 03:52 PM.
Reply With Quote
  #5  
Old August 24th, 2011, 05:15 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
I'm using VNC server on the Joggler to manage the Joggler desktop. I'm using RDP from the Joggler to a W2003 terminal server (now with 5 HSTouch sessions). It is much faster than the Chumby. I also use VNC server via the Joggler SSH session to generate a separate playable VNC X windows session. All of them make the Joggler easy to play with. Each windows RDP session runs off the same HSTouch.exe file and saves the configurations in its own documents file. The screen sizes with the Joggler are smaller than what I've been using (mostly 800X600 4:3) HSTouch TTS works fine on the Joggler.

Adam your screens are very nice.

Yeah running the Linux HSTouch version I was horsing around with the fonts and couldn't get flash working (well it was partially working).

Whats nice about the Joggler / Chumby is just sticking them between my wife's pictures / tables in the house; very innocuous. I am using wired connections for the Joggler and Chumbys.

I did a couple of videos yesterday; will post them shortly.
Reply With Quote
  #6  
Old August 24th, 2011, 07:47 PM
TonyMast TonyMast is offline
Seer
 
Join Date: Sep 2010
Location: New York
Posts: 61
Half the time (well 75%) I have no idea what you guys are talking about, I have to go to Bing 4 or 5 times just to read a post! I love it, can't get enough of it. Waiting for you guys to break out into String or M theory posts!! Thanks for the lessons.
Reply With Quote
  #7  
Old August 24th, 2011, 08:21 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Here are the You Tube videos.

I put a digital SLR in video mode. It autofocuses on the reflections initially.

Thank you Tony for the compliment. Thank you Adam for showing us the way!




Last edited by Pete; August 24th, 2011 at 08:54 PM.
Reply With Quote
  #8  
Old August 24th, 2011, 09:30 PM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
i'll join the club aswell - i've uploaded a video here (not sure how clear its going to come out) , some of the screens do take a couple of seconds to load and that is more down to the fact they are loading for the first time since it booted up, they will load instantly next time the button is pressed. Some of them don't look like they load at all when I press the buttons and thats only because its 2AM (and i'm listening to Katy Perry, is there any hope left for me) and I missed them first time . Theres also a 60 seconds wait for the client to load, thats left over from the previous Linux release when I only wanted to load HSTouch after it had finished loading everything else, I could probably remove that really...

I also am using a wired network connection and the USB stick for the Linux OS is inside the Joggler rather than on the side USB port.
Reply With Quote
  #9  
Old August 24th, 2011, 10:41 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Very nice there Adam.
Reply With Quote
  #10  
Old August 25th, 2011, 10:49 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Adam,

Curious what you are doing to keep the Ubuntu 11.04 from falling asleep. I keep trying different things on the Linux side; right now I have it set to 2 hours; initially I had the power savings features to off; yet they remained on. With the Chumbys they are staying away running HSTouch; and I just shut off the backlight.

Just noticed a new Joggler Ubuntu 11.04 release dated August 16, 2011; might try that one instead.

BTW for the sound I have redone the user rights to the "joggler" profile and adjusted HS such that it sends the TTS audio to the Joggler. Works fine and is faster than the Chumby relating to the delays of audio. Plenty loud at about a 50% or so volume setting. At 100% it distorts too much; loud though. Chumby's have a better speaker design. Funny cuz the 3.5" Insignia sounds like a small boom box; even has bass.

I am running RDP in either 16 bit or 24 bit mode. The base Joggler specs are using the Intel GMA500 with HW acceleration and display runs at 24bit 800X480. I see the flash overlay "defects" better on the Joggler than the XP Atom based HSTouchscreen. There is a documented auto-light sensor; can't find it though.

I can't make a good picture of a screen shot with VNC; but here's an "analogue" "digital" picture of the Joggler, Chumby and XP Atom clients. I'm not really good at colors. The XP client on the Lilliput colors looks washed out, its OK on the Chumby and "crispier" on the Joggler. In the picture below you see the Joggler in front, Chumby to the left and Lilliput to the right.
Attached Images
  

Last edited by Pete; August 25th, 2011 at 11:56 AM.
Reply With Quote
  #11  
Old August 25th, 2011, 10:58 AM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
Quote:
Originally Posted by Pete View Post
Adam,

Curious what you are doing to keep the Ubuntu 11.04 from falling asleep. I keep trying different things on the Linux side; right now I have it set to 2 hours; initially I had the power savings features to off; yet they remained on. With the Chumbys they are staying away running HSTouch; and I just shut off the backlight.
Thanks for the compliment Pete about the video, there is some form of bug with the power saving settings that seem to stay regardless of what the GUI has been set at. I turn the screensaver off and have the screen timeout set to never.

I had to add a few lines to the xorg.conf file that in turn keeps it alive when it boots up, i'll dig out the lines I added and post them here...mine now all stay alive 24x7, I did think about setting the screen to go to sleep but found that i'd end up pressing the screen to wake the device up and in turn press something on the screen and turn something on or something...
Reply With Quote
  #12  
Old August 25th, 2011, 12:07 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Thank you Adam.

On the Chumby's XOrg.conf file I used the following to prevent the Chumby's from sleeping; are you doing the same with the Joggler?


Quote:
Section "Monitor"
Identifier "ICS-Chumby-3 Monitor"
Option "DPMS"

EndSection

Section "Screen"
Identifier "ICS-Chumby-3 Screen"
Device "ICS-Chumby-3 Video Device"
Monitor "ICS-Chumby-3 Monitor"
EndSection

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Reply With Quote
  #13  
Old August 25th, 2011, 12:48 PM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
hmm...now i've confused myself. I've got three of them and the settings are as follows;

Joggler 1 - Screensaver - unticked "Activate screensaver when computer is idle", Power Management - put display to sleep when inactive set to never, nothing extra in xorg.conf file.

Joggler 2 - Identical settings as Joggler #1 apart from this entry in xorg.conf file (in /etc/x11 directory)

Code:
Section "ServerFlags"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection
Joggler 3 - all the same as Joggler #1 but no entry in xorg.conf files

All I can say is that they don't now have any problems with them going to sleep, they certainly used to though and have now somehow fixed themselves and seem to be OK without the entries to the xorg.conf file

I've also uploaded a few more photos to the gallery linked to earlier that show where my setups are, i've got a bit of a temporary install where I had to install one of them in my kitchen and the power supply has ended up behind my toaster
Reply With Quote
  #14  
Old August 25th, 2011, 06:59 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Thanks Adam.

Yes I have it set such that:

Quote:
Power Management - put display to sleep when inactive set to never,
I haven't played/looked at the xorg.conf file.
Reply With Quote
  #15  
Old August 26th, 2011, 02:43 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Here are three YouTube videos showing TTS running on HSTouch Clients.

1 - XP running on an Atom based HSTouch client with a Lilliput 8" Touchscreen.



2 - Chumby running on an Arm based HSTouch Linux to RDP client with a Lilliput 8" Touchscreen.



3 - Joggler running on an Atom based HSTouch Ubuntu 11.04 Linux to RDP client with an 8" capacitance Touchscreen.



4 - Joggler running on an Atom based HSTouch Android client (Froyo tweaked with Apps version) with an 8" capacitance Touchscreen. I've have to restart HS in order for the Android HS Server to function. I have noticed that the Android screen remains on and doesn't shut off.

I kept seeing a Desktop Heap Allocation error with the W2003 2Gb server when I would reboot it. A quick look with Google and found the following. Did the fix as documented and the Desktop heap errors are gone now with 5 RDP sessions to HSTouch. I couldn't get any Android sound and the Flash files to work; its faster but lacks fonts and placements are off using the Joggler HSTouch screens.



Quote:
1. Click on Start - and in search type regedit and press enter.
2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\
3. Make backup of your key! Click on File menu and choose Export. Give it a name and choose the destination. Click Save and there it is - a backup of your SubSystems reg key. Just in case you want the original key back.
4. Doubleclick on Windows key in the right pane.
5. In Value data field scroll left or right using arrow keys until you find this:
SharedSection=1024,3072,512. Change 3072 into 4096 so it reads: SharedSection=1024,4096,512

Last edited by Pete; August 27th, 2011 at 11:14 AM.
Reply With Quote
  #16  
Old August 28th, 2011, 12:01 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
I've updated to the "newest" Ubuntu 11.04 Joggler version which is now using BTRFS instead of Ext4. The boot/reboot timing seems different; I can't really tell though if its faster or slower. I played so much with the first one; that I really don't know.

The display is still going to sleep; but HSTouch is faster running. Sound TTS is a bit faster too. I haven't decided whether I want to remove the internal WLAN USB dongle or just utilize a newer small external USB memory stick (ordered 4 little 4Gb mini dongles last night).

Yesterday I redid all of my 800X600 screens to 800X480 screens.

I like your alarm clock screen; and I am considering now moving the Joggler from the "play" only area of my desk to the MB replacing the Infocast 3.5 moving it into "production" now.
Reply With Quote
  #17  
Old August 28th, 2011, 03:22 PM
mrhappy mrhappy is offline
OverSeer
 
Join Date: Nov 2007
Location: W.Mids, UK
Posts: 7,036
I'll check whether i've messed with anything else about power settings just in case I changed another settings, I don't think I have but its certainly a problem I had which now has fixed itself.

I had the same thought also with the memory stick and whether I could get away with the very very low profile USB stick, I probably could but I also have one joggler without a side USB port (it broke) and it does look neater without anything sticking outside.

I've got to change a few things on the alarm clock screen, its just a quick throw together but its serving a purpose. I need to move some of the buttons around and add a few more options I think...
Reply With Quote
  #18  
Old August 29th, 2011, 10:09 AM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
I am still in the experimental mode with the Joggler; so I keep switching out the USB memory stick going from either Android to Ubuntu or vice versa.

The alarm screen you wrote is a nice add to HSTouch; especially with the Joggler.

I started to play with direct connects to the brightness and backlight using the same methodology as I am with the Chumby. Its working so far. Just running the same Damage written / modified Python script in the background and sending commands to the Joggler as I do with the Chumby today. Next piece is just remotely putting just the display to sleep from Homeseer.

Quote:
if dev=="brightness":
os.system(' echo '+cur+' > /sys/devices/platform/openframe-bl/backlight/openframe-bl/brightness')
if dev=="bl_power":
os.system(' echo '+cur+' > /sys/devices/platform/openframe-bl/backlight/openframe-bl/bl_power')
Reply With Quote
  #19  
Old September 10th, 2011, 01:13 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
I started on a new screen today. The large Chumby looks too big for the nightstand so moving the Joggler there maybe. My wife still has an old flip clock on her night stand; so I thought I might do the same.
Attached Images
 

Last edited by Pete; September 10th, 2011 at 03:52 PM.
Reply With Quote
  #20  
Old September 12th, 2011, 04:49 PM
Pete's Avatar
Pete Pete is offline
OverSeer
 
Join Date: Jan 2001
Location: House
Posts: 14,155
Adam,

Do you have sound working with the HS Linux client V.57? I was able to run the client fine with the Joggler 11.04 image. Works except for the audio errors.

If I use HS Linux client V.39 I don't get any sound errors. I have a few HSTouch Linux clients going from .39 to .57. .57 works the best except for the sound errors.

I am seeing flash. my security cams and the fonts look good now.

I have a few screens with mini web pages. They are coming up slower in Ubuntu Mono HSTouch than the RDP session so far. The security cam video screens come up pretty quickly.

Last edited by Pete; September 12th, 2011 at 09:19 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:43 PM.


Copyright HomeSeer Technologies, LLC