![]() |
|
|||||||
| mControl Add-in for Windows Home Server Discussions related to the mControl Add-in for Windows Home Server |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
One bug report and one change request (build V2.1.3015.3):
1. mobile_logic.js / cmbZone_SelectedIndexChanged() sets the incorrect path. It is missing the "/mControl" portion of the path (on WHS?). I modified it as follows to get it to work for me: HTML Code:
location.href = "http://" + location.host + "/mControl/Mobile.aspx?Zone=" + cmbZones.value; HTML Code:
<meta name="viewport" content="width = 240" />
|
|
#2
|
|||
|
|||
|
I thought the same thing - and made the same change. I believe you are using WHS's IIS server, is that correct?
Using the IIS server, I found that while the 'mobile' pages navigated correctly (after the modification), none of the pages functionality worked. Does it work for you? I found out that the 'mobile' functionality requires use of the mControl integrated web server - ie. the one listening on port 29990. Mash |
|
#3
|
|||
|
|||
|
Quote:
Quote:
If anyone is curious, I did roughly the following to set up an internal non-secured site so I can easily access mControl from my iPhone when at home: 1. Create a new web site in IIS, with the directory pointing to C:\Inetpub\wwwroot , set the port to something other than 80. 2. Right-click on the mControl folder. 3. Click "Create" under Application settings to create a new application. 4. Set the execute settings to "Scripts only". 5. Set desired security settings on the Directory Security-tab, such as as limiting access to the internal subnet. 6. (Optional) Add a 57x57 PNG with the name "apple-touch-icon.png" to the root folder so you can create a nice button on the iPhone springboard when you bookmark the site. //Tomi B. |
|
#4
|
||||
|
||||
|
Well, we finally got around to testing it - we borrowed an iTouch from one of our team member's cool kid. We made one change, as recommended by docbliny - that is, adding the meta element to fix the width and mControl's mobile page came in with no issues:
![]() Now I know what I want for my birthday
|
|
#5
|
|||
|
|||
|
Uh... Hey, this is awesome! I'm new to all this, started with mControl a couple of weeks ago and yesterday I put in another 8 dimmers.
I'm not sure why I didn't clue into this aspect yet, but this is very cool, especially since I happen to have an iPod Touch. I will have to try this out tonight! Two questions: since I'm using mControl's in-built web server, I'm assuming the path change doesn't need to happen? Also, for the extra line with the correct width, it was mentioned to change it in mobile.aspx (and the other pages) - the other pages referred to, are those the mobilecameraview, mobilesecurityview, and mobilethermostatview? Since I don't have those types of devices yet my assumption is that I just need to update mobile.aspx, is that correct? g. Last edited by groovejumper; 04-28-2008 at 10:02 PM. Reason: more questions |
|
#6
|
|||
|
|||
|
Very nice find guys. I had been using my Touch with MControl since initial installation and searched and searched for SOMETHING that would clue the iPod in to the "correct" level of zoom. I never would have guessed it would be in the form of a meta tag. Making that tweak right now.
Developers, does Iphone/Ipod Touch report a specific user-agent (besides some generic Safari string) so that future revisions of Mcontrol can automatically insert this tag if appropriate? Or does it not matter since the Ipod/Iphone are the only devices to pay attention to this tag? |
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
|||
|
|||
![]() Does anyone know how to get the device 'fnc' icons to show up on the iphone, e.g. On, Off, Dim and Bright? If you navigate mobile.aspx in IE, you don't get the grey circles you get on the iphone, instead you get blue squares. However, if you look in the images\mobile\blue_static folder there are a number of .gif's prefixed with fnc. e.g. fnc.on.gif, fnc.off.gif. I've found the javascript which changes the status.level.gif in mobileLightObject.js, but there doesn't seem to be any function that builds the buttons for on, off, bright or dim. Cheers Grant |
|
#9
|
|||
|
|||
|
Quote:
Code:
function cmbZone_SelectedIndexChanged()
{
var path = location.pathname;
var p = path.lastIndexOf("/");
if (p >= 0) { path = path.substring(0, p); }
location.href = path + "/Mobile.aspx?Zone=" + cmbZones.value;
}
For your other suggestion, we will check and see if it works with other clients as well. |
|
#10
|
|||
|
|||
|
Hi there,
I have an idea for a front end screen using mcontrol I would like to get finished, I have spoke to Mr Ted Sigh, about programming this and it is not what the company ( mcontrol ) would do, The mcontrol looks great but changing the screesn eg from one room to another seem a little slow, so I thought have all 48 icons on the one page, that way, ALL outputs and be control from the one screen, then if you need to change music, tv etc, it is a simple matter of touching he back icon, Does anyone have experience in this I've been an old dos programmer and I have to many worries at the present ime to think of even starting something like this, Ted has already written a comport code to assit in this project, and he advises me that mcontrol would help or support a person, that understands mcontrol better than me. Please email me your email address so I can email you the front end screens etc, all the hardware works and windows software works the outputs but not through windows media centre, I do understand it will cost money, my email address is centrepoint1@unwired.com.au. regards Frank Lesk |
![]() |
| Thread Tools | |
| Display Modes | |
|
|