Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preview of new Web based RIVA client
(01-02-2018, 06:43 PM)kblagron Wrote:
(01-02-2018, 05:03 PM)kfly Wrote: bring up Chrome
put android phone in Airplane mode.
go into chrome and bring up the CQC link 
After you  get the offline error then go into the "3 dots" in upper right hand menu and do "Add to Home Screen"
Turn off Airplane mode and try link you just "Added to Home Screen"

Something with how Chrome saves the CQC link on the homescreen is missing some paramaters.
this fixed it for me!  Thanks.  I do have the port on a different number than 80, so apparently that was the case.

Dean, does your Android Chrome shortcuts on home screen work when not on port 80? Example port 8181?
Probably should track this down as most people will use home screen icons/links.
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
Reply
So you were putting the alternate port in the URL itself, but when you save to the desktop it removes the port reference or something?
Dean Roddey
Explorans limites defectum
Reply
(01-02-2018, 06:49 PM)kblagron Wrote: Who would of thought 10 years ago that I would have a phone that has a higher resolution than the tablets and touchscreens I have.  I am using 1280 x 768 on my touchscreens and tablets, but the Samsung S8 runs at 2,220x1080.

So is there any way to get the WebRiva to expand to the interface to the maximum allowed without going through the re-sizing within the AI?

The gotcha is that that resolution isn't really usable directly. It can be used for anti-aliasing and making smoother curves and such, but the pixel density is so great that if you really used all that resolution you wouldn't be able to hit the tiny buttons.

By default most phones will do some sort of 2x scaling. If you aren't preventing that you may already be seeing it at 2x the actual size. But if you want it to fit exactly, you'd have to scale them and force the phone not to do any scaling. You may not be able to fit it exactly either, since you want to keep very close to the original aspect ratio, else images will get distorted. You can use a command to set the unused background of the IV/WebRIVA to some color that works nicely with your template backgrounds, so that some unused area doesn't look bad.

You might be just as well off scaling to half the actual resolution and letting the phone 2x scale it. That will keep the images that have to be transferred and stored a lot smaller.
Dean Roddey
Explorans limites defectum
Reply
(01-02-2018, 06:17 PM)kfly Wrote:
(01-02-2018, 05:46 PM)znelbok Wrote: The image in post 439

@kfly

I didn't have any luck with that method - i still get the same result

What port are you using?

8080
Mykel Koblenz
Illawarra Smart Home
Reply
(01-02-2018, 08:46 PM)Dean Roddey Wrote: So you were putting the alternate port in the URL itself, but when you save to the desktop it removes the port reference or something?

Apparently... 

I put in the following:

Code:
http://192.168.1.200:8090/CQSL/WebRIVA/index.html?user=bubba&pw=xxx

and when I used the option to save it to home screen, it would stop at the CQC logo.  However, when I did it in airplane mode, it immediately says offline, but when you save it to home screen at this point, it adds the port number, and it works fine.

I haven't ventured out yet to the real world, just doing it within the Intranet now.
Reply
Do either of you have a rooted android device using a non standard http port? I un-rooted my phone a few months ago.
Would be useful to find the homescreen CQC shortcut that does not work and see what it is missing(port?, PW=?). I think android stores it someplace in the data directory.
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
Reply
(01-03-2018, 05:00 AM)kfly Wrote: Do either of you have a rooted android device using a non standard http port? 


Mine has not been rooted.  I found where you can install an app called ES File Explorer and look at the files, but maybe you have to be rooted to do that, not sure.
Reply
(01-03-2018, 11:16 AM)kblagron Wrote:
(01-03-2018, 05:00 AM)kfly Wrote: Do either of you have a rooted android device using a non standard http port? 


Mine has not been rooted.  I found where you can install an app called ES File Explorer and look at the files, but maybe you have to be rooted to do that, not sure.

Yea pretty sure you need device rooted and a file explorer to see the system files on android.
Will re-root my phone most likely this weekend and look for file if a fix has not been found by then.
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
Reply
Dean - did you have any luck with the image I posted? My TV also displayed the same result - i.e. no picture just grey background
Mykel Koblenz
Illawarra Smart Home
Reply
After running packet capture for android and looking at the packets for CQC Chrome homescreen shortcut not working for only CQC users that don't use port 80 WebRiva:
URL works in Chrome but when you add to homescreen it does not work.
I will root my phone this weekend to look at the actual shortcut file but cannot explain the below behavior. Maybe dean knows? or an android bug??

Looks like the desktop Chrome link nulls out the user/pw.  (odd what would do that)

Homescreen Chrome link trace:
GET /Websock/CQSL/WebRIVA.html?user=null&pw=null HTTP/1.1
Host: 192.168.2.118:8181
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Origin: http://192.168.2.118:8181
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Linux; Android 7.0; SM-G920T Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Sec-WebSocket-Key: 604PxL/mRPVEc8sEKClBjQ==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits

HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Content-Length: 0
Content-Type: text/html
Sec-WebSocket-Accept: SzuYWd+EQhlD+06M3EmL2oPZJx8=

ˆˆn{
"6" : 140,
"38" : false,
"34" : "The provided user or password was not valid",
"42" : "",
"43" : 0
}


Chrome Trace for same URL in Chrome browser:
GET /Websock/CQSL/WebRIVA.html?user=ipad&pw=VJKWEYAEHp8a HTTP/1.1
Host: 192.168.2.118:8181
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Origin: http://192.168.2.118:8181
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Linux; Android 7.0; SM-G920T Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Sec-WebSocket-Key: ZKARS8Qp81oZl5FoppqPGw==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits

HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Content-Length: 0
Content-Type: text/html
Sec-WebSocket-Accept: 5TUO/nZaFls6QoY3lAtiCROOlZE=

 LÀÄ‘7âò³vñð§`âð¥núô½nõñ³v›™½nõü³vññìY{
"6" : 140,
"38" : true,
"34" : "The login succeeded",
"42" : "ipad",
"43" : 1
}
_______________
Denon 3808ci, 2112ci , SONOS, Russound CAA66,Z-Wave(Lights,Locks), Hue, SmartThings,
iPads,Tivo,Hikvision,Elk-M1,iTunes,TED5000,Somfy RTS blinds, Amazon Echo, Google Home, Polk XRT12,
Honeywell Wi-Fi 9000 & Caleo Wi-Fi Thermostats, Rainmachine
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  New Z-Wave driver preview Dean Roddey 152 12,640 4 hours ago
Last Post: kfly
  ELK M1 Client Interface question lleo 1 153 06-12-2019, 08:15 AM
Last Post: Dean Roddey
  why master server needs DHCP client running? lleo 4 647 01-04-2019, 01:13 PM
Last Post: Dean Roddey
  Elk Client Interface Gremlins IVB 9 935 12-23-2018, 08:58 PM
Last Post: IVB
  Copy and Paste into Global Cache Client Interface kblagron 3 916 11-01-2018, 02:23 PM
Last Post: kblagron
  "Client Side Driver Directory Could Not be Cleaned Out" TurboSam 15 2,400 09-27-2018, 01:43 PM
Last Post: TurboSam
  Admin Client over VPN batwater 1 881 08-18-2018, 04:31 PM
Last Post: Dean Roddey
  Old RIVA zra 4 1,097 07-10-2018, 12:23 PM
Last Post: zra
  The RIVA Comm Buf Mgr pool is full and cannot be expanded any further zra 52 16,902 05-14-2017, 08:54 PM
Last Post: Dean Roddey
  HTTP-based Trigger Driver Docs znelbok 5 3,067 03-11-2017, 09:34 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)