Premise Considering Premise

Motorola Premise

video321

Active Member
I was considering purchasing a Vera to interface with my M1G, but with so many stability issues that I've seen on their forums and posts about users not being able to get any help by forum or phone I'm no longer so sure about going that route. The only functionality which is required right away would be M1G integration, Z-wave control (lights & thermostat) and a standardized iphone/android interface for basic control while away from home (I'll be on a secure connection).

My question becomes....how much is involved (time wise most importantly) to get this going? I don't need anything "pretty" initially for the phone interface, just for it to be functional for arm/disarm, certain lights, and thermostat control. Also, if I wanted to connect the Z-wave controller to the M1G can I still use Premise to hold all of the scenes and programming and just send commands for the Elk to relay?
 
....how much is involved (time wise most importantly) to get this going?

For someone familiar with Premise, about an hour to install Premise, drivers (Elk M1 and zwave), configure the drivers, create light and thermostat objects, bind them to the drivers, and create some logic to turn lights on/off at desired times of the day. For someone unfamiliar with Premise, reserve at least one weekend to get the ball rolling.

To jumpstart the learning process, watch the tutorial videos (available here).
 
We're all biased here, but...1) base functionality is easy 2) we tend to be pretty helpful 3) Premise is STABLE 4) the ui is fine outta the box, but can be enhanced...now that touchscreens are at commodity prices, I think a lot of folks will climb aboard...did I mention we're biased?
 
Got up and running quite easily...I should have mentioned that I'm familiar with programs like Girder.

Anyway, I'm testing this on a Win7 x64 VM and got around the install process but am stuck with the web server.
When I go to the webserver property I can toggle it on and off and I know it's working (somewhat) because netstat will list when ports 80 and 443 are listening. However, it shows it as 0.0.0.0 and not a specific interface but I can't connect at all. Both services are showing up and running in task manager.
 
Mine Premise test install seems to work under Windows 7 Professional 64 bit. Have you checked any firewall programs that may be running? Also, be sure to install the AutomationBrowser control under Add Ins-> Modules.
 

Attachments

  • webserver.jpg
    webserver.jpg
    35.2 KB · Views: 8
Also, be sure to install the AutomationBrowser control under Add Ins-> Modules.
That was it.
Thanks!

Next question with the Elk M1 plugin. I'm using 6-digit codes and saw a note in the module paper saying 6-digit codes for the virtual keypad would be supported in the future. Is it still not possible to use them?
I had no issues defining and triggering my tasks so communication is there.

Last, I must say how impressed I am for a program over 10 yrs. old to self configure the way it does! Very nice!
 
...6-digit codes for the virtual keypad ... Is it still not possible to use them?
I created an enhanced version of Premise's default Security keypad but I don't recall if it includes the ability to handle 6-digit codes. I suspect not but I'll be able to answer your question with greater certitude this evening (no access to Premise at the moment). If it is still limited to 4-digits, I'll investigate what is needed to make it accept 6-digit passcodes.

Last, I must say how impressed I am for a program over 10 yrs. old to self configure the way it does! Very nice!
It still offers features that are not found in the current crop of Home Automation software. It's a shame it was discontinued.


You should be aware that Premise offers two web-based user-interfaces generated by the following Modules: AutomationBrowser and MiniBrowser. Both modules create user-interfaces, visible in a web-browser, based on objects found in Premise Home (i.e. buildings, rooms, lights, thermostats, relays, etc).

AutomationBrowser is designed to work with Internet Explorer exclusively because it employs an ActiveX plugin and uses IE-specific features. Its user-interface is bi-directional (changes to an object's status are immediately displayed in the browser) and employs AJAX-like abilities (i.e. portions of the web-page are refreshed and not the entire page). AutomationBrowser knows how to render all of Premise's Home objects. The default screen-size is 800x600 but there is a post that explains how to increase the size to 1024x768 (or larger).

MiniBrowser renders a user-interface for any browser. It does not employ an ActiveX plugin and does not have bi-directional capabilities. A full page-refresh is typically required to update the onscreen status of objects. MiniBrowser knows to render most, but not all, of Premise's Home objects. Notable exceptions are MediaZones and the Security keypad. MiniBrowser can render for different screen-sizes by calling the appropriate 'flavour' of MiniBrowser (ppc, xb, ip).

It's probably high-time that I added the ability to display the Security keypad via MiniBrowser. :)
 
I created an enhanced version of Premise's default Security keypad but I don't recall if it includes the ability to handle 6-digit codes. I suspect not but I'll be able to answer your question with greater certitude this evening (no access to Premise at the moment). If it is still limited to 4-digits, I'll investigate what is needed to make it accept 6-digit passcodes.
Thanks. I appreciate that!

It's probably high-time that I added the ability to display the Security keypad via MiniBrowser. :)
Ah...I didn't realize that wasn't currently available. One of my main goals was to use Premise to remotely access my M1 from a phone.
 
Just checked out the minibrowser - it doesn't give me any way to control my M1. I have all of my security devices grouped under the room type "wiring closet" with the display name of "Security System". When I open it I get a blank device listing.
I'm sure there is a workaround for this?
 
I had a look at the SecuritySystem object and found where it constrains the passcode to 4 digits. It appears to default to 4 digits but can handle longer passcodes using a property called "CodeLength". The problem is that "CodeLength" is not a native property of SecuritySystem. To fix this the 'right way' requires alterations to SecuritySystem's defining class as well as the ELK M1 driver. To fix this ASAP, you can simply 'patch' AutomationBrowser; all you need to do is change one value.

The attached image shows the location of the subroutine that you must modify.
  1. Using Builder, navigate to Modules > AutomationBrowser > ControlPanelmanager > GlobalScripts > Global.
  2. Scroll the content pane until you find "Sub OnEnterOrCancel(key)".
  3. Find the following line of code and replace the "4" with a "6".
  4. Press F12 (Function Key 12) and the change will be committed to the server.

The latest version of MiniBrowser (see the Downloads section) does not display SecuritySystem and SecurityZone objects. I'll look into a means of enhancing MiniBrowser so it can be used to display and control a SecuritySystem object.

With regards to security sensors, here's how I have my Premise Home structured (see attached image):
----------------------------------------------------------------------------------------------------------------------------
You can have several Home objects bound to the same ELK M1 Zone. In my case, I have a SecurityZone object and a DoorSensor object bound to the M1 Zone representing the Front Door.

I have a Home > SecuritySystem object and its children are all SecurityZone objects. Each SecurityZone object is bound to a Zone of an M1_Panel device. One of the SecurityZone objects represents the Front Door. The SecurityZone objects are not visible when viewed via AutomationBrowser (because they are children of the SecuritySystem object) nor via MiniBrowser (because it simply does not know how to render them).

Naturally, I do want to see the status of my Front Door, via AutomationBrowser and MiniBrowser, so I added a DoorSensor object (named FrontDoor) to the Foyer room. I bound it to the corresponding Zone of the M1_Panel device.
----------------------------------------------------------------------------------------------------------------------------
The primary reasons for adding SecurityZone objects as children of a SecuritySystem object is it satisfies a requirement of the Enhanced SecuritySystem ControlPanel module I created (see Downloads). This module improves upon the existing SecuritySystem object and lists all open (i.e. violated) SecurityZones in Premise Browser. To accomplish this, the SecurityZones must be child-objects (children) of the SecuritySystem object.

Another benefit is that it is easier to view all the security-related sensors in Builder because they are grouped together.

I should point out that the object I'm using to represent my Front Door is not a DoorSensor but a custom-made object called a Composite Door. It is a more comprehensive model of a real-world door and includes a door sensor, lock opener/closer, deadbolt sensor, and a history of door openings/closings.
 

Attachments

  • SecuritySystem structure.gif
    SecuritySystem structure.gif
    17.6 KB · Views: 24
  • Patch_Keypad_6-digits.gif
    Patch_Keypad_6-digits.gif
    82.6 KB · Views: 23
In case you're wondering what MiniBrowser 2.0 can and cannot display, the attached image lists the classes (a.k.a. objects) that it knows how to render. SecuritySystem and SecurityZone are not among the currently supported classes.
 

Attachments

  • MiniBrowser 2.0 Supported Objects.png
    MiniBrowser 2.0 Supported Objects.png
    18.8 KB · Views: 11
So, I take it there is no way to display a security keypad, but I may be able to trigger tasks by doing what you did with the DoorSensor example above?
 
Well, there ya go! I've been away from Premise development for about a year and didn't see etc6849's work on MiniBrowser. I'll have to check out the new goodies he has included.

FYI: The modification I explained above applies to the AutomationBrowser exclusively.
 
Back
Top