Fiery

RemoteSensor LCD for smartphones and tablets

75 posts in this topic

AIDA64 main window can remember its size if you enable that in AIDA64 / main menu / File / Preferences / Layout. The Preferences panel will also remember its size.

We've just tried, and importing SensorPanel layouts into a RemoteSensor layout works fine, including all graphs. If you have difficulties importing your SensorPanel layout, then please open your .sensorpanel file in Notepad, find the entry that is imported incorrectly, and copy-paste that line into this topic. Or, you can attach the whole file to your post if you want.

Share this post


Link to post
Share on other sites

I want to build custom panel using RemoteSensor.

 

Please add headers in your http://localhost/sse

 

Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: *
Access-Control-Allow-Credentials: true
 
 
Or make open API for AJAX requests please

Share this post


Link to post
Share on other sites

Do you mean we should add those 3 lines to the SSE response that starts with:

HTTP/1.1 200 OK

Content-Type: text/event-stream

Cache-Control: no-cache

Share this post


Link to post
Share on other sites

Yes yes yes!

 

I want to build custom RemoteSensor Panel using HTML.

 

Javascript EventSource request can be blocked by browser, in order to Same Origin Policy.

 

To make it work JS must have extra parameter: 

withCredentials: true

 

So, if IP of target machine is 192.168.1.2

 

JS would look like this:

 

var source = new EventSource("http://192.168.1.2/sse", {

withCredentials: true
});

 

Server (AIDA64 on target machine)  should answer with extra headers:

 

Access-Control-Allow-Origin: *

Access-Control-Allow-Credentials: true

Access-Control-Expose-Headers: *   - it's just to be sure)

 

 

 

 

But it would be realy great if you make one more API.

API would answer with JSONP

like:

 

myCallback({

      sensor1: {

                label: "CPU1",

                value: 37,

                unit: "°С"

      },

      sensor2:{

                label: "CPU2",

                value: 38,

                unit: "°С"

      },

      sensor3:{

                label: "Memory usage",

                value: 40,

                unit: "%",

                color: "#00FF00"

      }

});

 

 

http://stackoverflow.com/questions/2067472/what-is-jsonp-all-about

 

 

 

And would be perfect if you could get only needed sensor items you want, if you send extra GET param.

 

like:

 

http: //192.168.1.2/api?sensors=sensor1&callback=myCallback

 

Answer would be:

 

myCallback({

      sensor1: {

                label: "CPU1",

                value: 37,

                unit: "°С"

      }

});

Share this post


Link to post
Share on other sites

We've added the 3 new lines to the SSE header, as you've requested. We've also implemented the /api JSON API that you've requested, in the way you've proposed. With the sensors tag you have to list the sensor items in the way AIDA64 calls them, separated by comma. So an example URL might be:

ipaddress:8080/api?callback=myCallback&sensors=SDATE,STIME,TMOBO

Both the callback and sensors tag are optional.

The only quirk is that you have to place all the items you need to access via /api to your RemoteSensor layout as Simple Sensor Items.

You can find the new AIDA64 Extreme beta build at:

http://www.aida64.com/downloads/latesta64xebeta

After upgrading to this new version, make sure to restart Windows to finalize the upgrade.

Let me know how it works ;)

Share this post


Link to post
Share on other sites

We've added the 3 new lines to the SSE header, as you've requested. We've also implemented the /api JSON API that you've requested, in the way you've proposed. With the sensors tag you have to list the sensor items in the way AIDA64 calls them, separated by comma. So an example URL might be:

ipaddress:8080/api?callback=myCallback&sensors=SDATE,STIME,TMOBO

Both the callback and sensors tag are optional.

The only quirk is that you have to place all the items you need to access via /api to your RemoteSensor layout as Simple Sensor Items.

You can find the new AIDA64 Extreme beta build at:

http://www.aida64.com/downloads/latesta64xebeta

After upgrading to this new version, make sure to restart Windows to finalize the upgrade.

Let me know how it works ;)

 

 

Thank You!

 

Every thing works perfectly.

 

SSE now can be accessed from any origin.

 

JSONP api is great.

 

 

Next week I'll end up my project and share all sources here.

 

Right now it looks like this:

 

YmE8dPLsZ1Evdr.png

Share this post


Link to post
Share on other sites

Does anyone know how to make Chrome browser full screen? I'm on an Android Tablet. The built in browser lags very much compared to chrome.

Share this post


Link to post
Share on other sites

Does anyone know how to make Chrome browser full screen? I'm on an Android Tablet. The built in browser lags very much compared to chrome.

 

You cannot force page to fullscreen in Android Chrome.

 

Page must have JS code like: document.webkitRequestFullscreen()

 

https://developer.mozilla.org/ru/docs/DOM/Using_fullscreen_mode

 

 

 

If you can't edit code, try over apps for Android.

For example:

https://play.google.com/store/apps/details?id=com.isolator.fullscreenbrowser2

or

https://play.google.com/store/apps/details?id=de.ozerov.fully

Share this post


Link to post
Share on other sites

When I open the page on my phone or raspberry pi (no touch screen), the page is super small.

 

How can I make this much much bigger?

 

And how can I have a better idea of what it will look like during preview mode?

Share this post


Link to post
Share on other sites
On ‎2016‎. ‎10‎. ‎13‎. at 2:58 PM, p1r473 said:

When I open the page on my phone or raspberry pi (no touch screen), the page is super small.

 

How can I make this much much bigger?

 

And how can I have a better idea of what it will look like during preview mode?

Is the page super small or the text that you've put on your preview looks too small?  If the latter, then you simply need to use a bigger font :)

The LCD preview in AIDA64 Preferences should reflect the actual layout that will appear on the device. It should be accurate, although you may need to imagine it in a bit smaller physical size if eventually display the layout on a small screen phone.

Share this post


Link to post
Share on other sites
On ‎2016‎. ‎11‎. ‎26‎. at 3:03 AM, lapoune said:

Can we manually change pages?

Yes, using the new Hot Keys feature that you can activate and configure in AIDA64 / main menu / File / Preferences / Hardware Monitoring / Hot Keys.

Share this post


Link to post
Share on other sites
17 hours ago, xtcislove said:

Will there be custom gauges on remote sensor anytime? :( 

I like to have something like this in remote sensor not in odospace....

 

Custom gauges would dramatically increase the amount of data that AIDA64 has to send over the network multiple times a second. Also, due to resolution and dpi differences, custom gauges scale badly across various devices, just like static images.

Share this post


Link to post
Share on other sites

Now that I am back on track, I had to go pick up an android tablet my P1000 screen finally had it. How or what is the best way to set up a 1280x800 display in remote monitor. . With the tablet running length wise or is there a way to have bigger fonts incorporated into the remote sensor( I am at 72 on the font for time and it still seems small), as I usually check the time on the remote window and also keep an eye on my machine from a distance. If the fans spin up I usually look over while watching TV , the fan curve is based on ambient air and water temp. Thanks in advance.  

Share this post


Link to post
Share on other sites
8 hours ago, vabchgent said:

Now that I am back on track, I had to go pick up an android tablet my P1000 screen finally had it. How or what is the best way to set up a 1280x800 display in remote monitor. . With the tablet running length wise or is there a way to have bigger fonts incorporated into the remote sensor( I am at 72 on the font for time and it still seems small), as I usually check the time on the remote window and also keep an eye on my machine from a distance. If the fans spin up I usually look over while watching TV , the fan curve is based on ambient air and water temp. Thanks in advance.  

Did you configure the resolution that was indicated by RemoteSensor in a blue box on your Android tablet?  It may or may not be 800x1280 pixels, but smaller. On our 8-inch 800x1280 resolution Android tablet (Asus MeMO Pad 8) the right resolution to have configured is 980x1292. We've also checked the font size issue, and 72 seemed quite large already.  However, in order for you to have more flexibility, we'll unlock setting the font size to even larger values in the next AIDA64 beta update due next week ;)

Share this post


Link to post
Share on other sites

Fiery,

Did you configure the resolution that was indicated by RemoteSensor in a blue box on your Android tablet?  It may or may not be 800x1280 pixels, but smaller. On our 8-inch 800x1280 resolution Android tablet (Asus MeMO Pad 8) the right resolution to have configured is 980x1292.

 

Guess I will have to figure out what blue box on the android tablet ,to set the resolution . I went with the reported resolution of the tablet. I will give the 980x 1292 a shot and see if it works. Thanks

Share this post


Link to post
Share on other sites
On ‎2017‎. ‎02‎. ‎10‎. at 3:59 PM, vabchgent said:

Fiery,

Did you configure the resolution that was indicated by RemoteSensor in a blue box on your Android tablet?  It may or may not be 800x1280 pixels, but smaller. On our 8-inch 800x1280 resolution Android tablet (Asus MeMO Pad 8) the right resolution to have configured is 980x1292.

 

Guess I will have to figure out what blue box on the android tablet ,to set the resolution . I went with the reported resolution of the tablet. I will give the 980x 1292 a shot and see if it works. Thanks

You can get the informational blue box back on your tablet if you have the RemoteSensor feature enabled, but you hide all items in your layout. You don't have to remove those items, just select them all and press the Hide button to hide them. As soon as you get the blue box, you can unhide all items again, and continue tweaking your layout.

Share this post


Link to post
Share on other sites

I'm able to pull the site up on my computer, but all it shows me is this https://gyazo.com/c6ff72d83facece1d13e1b27f00de200 - So then I went to my LCD page where i turned it to this https://gyazo.com/20ca62606b61114b269f9acf16837a90 but I'm still unable to get an actual page to pull up.

Then, I try pulling it up on my iPhone 4s (Chrome App) and I'm unable to connect to it. I'm not sure if you guys still get notifications about this thread, but if you do, please help.

Share this post


Link to post
Share on other sites
On ‎2017‎. ‎05‎. ‎18‎. at 2:53 AM, Savanni said:

I'm able to pull the site up on my computer, but all it shows me is this https://gyazo.com/c6ff72d83facece1d13e1b27f00de200 - So then I went to my LCD page where i turned it to this https://gyazo.com/20ca62606b61114b269f9acf16837a90 but I'm still unable to get an actual page to pull up.

Then, I try pulling it up on my iPhone 4s (Chrome App) and I'm unable to connect to it. I'm not sure if you guys still get notifications about this thread, but if you do, please help.

Have you tried to add some items to your LCD layout in AIDA64 / main menu / File / Preferences / Hardware Monitoring / LCD / LCD Items?  The blue box that informs you about the preview resolution will only disappear when you have at least one item on your LCD layout.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now