Alternate UI to UI7

Version 342 looking great! Thumbnails for the camera work like a champ.

@amg0 - I know a while ago we discussed the thermostat ZTS-110 and I think you indicated Vera did some non-standard things with it. I noticed that this device has the “…”. I was wondering what happens or can you add these devices files to the configuration? Perhaps that would allow the current temperature setting to be visible on the Devices page?

urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1
D_HVAC_ZoneThermostat1.json
D_HVAC_ZoneThermostat1.xml
Remotec ZTS100/ZTS110

[quote=“tomtcom, post:542, topic:185570”]Version 342 looking great! Thumbnails for the camera work like a champ.

@amg0 - I know a while ago we discussed the thermostat ZTS-110 and I think you indicated Vera did some non-standard things with it. I noticed that this device has the “…”. I was wondering what happens or can you add these devices files to the configuration? Perhaps that would allow the current temperature setting to be visible on the Devices page?

urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1
D_HVAC_ZoneThermostat1.json
D_HVAC_ZoneThermostat1.xml
Remotec ZTS100/ZTS110[/quote]sure I can look at it, can you please send me the result of http://<your_ip_address>:3480/data_request?id=status&output_format=xml&DeviceNum=nnnnn where nnnn is this device number?

[quote=“amg0, post:543, topic:185570”][quote=“tomtcom, post:542, topic:185570”]Version 342 looking great! Thumbnails for the camera work like a champ.

@amg0 - I know a while ago we discussed the thermostat ZTS-110 and I think you indicated Vera did some non-standard things with it. I noticed that this device has the “…”. I was wondering what happens or can you add these devices files to the configuration? Perhaps that would allow the current temperature setting to be visible on the Devices page?

urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1
D_HVAC_ZoneThermostat1.json
D_HVAC_ZoneThermostat1.xml
Remotec ZTS100/ZTS110[/quote]sure I can look at it, can you please send me the result of http://<your_ip_address>:3480/data_request?id=status&output_format=xml&DeviceNum=nnnnn where nnnn is this device number?[/quote]

Thanks for your time, here it is:

<states> <state id="187" service="urn:upnp-org:serviceId:HVAC_FanOperatingMode1" variable="Mode" value="ContinuousOn"/> <state id="188" service="urn:micasaverde-com:serviceId:HVAC_OperatingState1" variable="ModeState" value="Cooling"/> <state id="189" service="urn:micasaverde-com:serviceId:HVAC_OperatingState1" variable="ModeStateForEnergy" value="1"/> <state id="190" service="urn:upnp-org:serviceId:HVAC_UserOperatingMode1" variable="ModeTarget" value="CoolOn"/> <state id="191" service="urn:upnp-org:serviceId:HVAC_UserOperatingMode1" variable="ModeStatus" value="CoolOn"/> <state id="192" service="urn:upnp-org:serviceId:TemperatureSensor1" variable="CurrentTemperature" value="73"/> <state id="193" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="AutoMode" value="2"/> <state id="194" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="SetpointTarget" value="73"/> <state id="195" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="AllSetpoints" value="73,73,74"/> <state id="196" service="urn:upnp-org:serviceId:TemperatureSetpoint1" variable="CurrentSetpoint" value="73"/> <state id="197" service="urn:upnp-org:serviceId:TemperatureSetpoint1_Heat" variable="CurrentSetpoint" value="73"/> <state id="198" service="urn:upnp-org:serviceId:TemperatureSetpoint1_Cool" variable="CurrentSetpoint" value="73"/> <state id="199" service="urn:upnp-org:serviceId:SwitchPower1" variable="Status" value="0"/> <state id="200" service="urn:micasaverde-com:serviceId:EnergyMetering1" variable="Pulse" value="19531517"/> <state id="201" service="urn:micasaverde-com:serviceId:HaDevice1" variable="Configured" value="1"/> <state id="202" service="urn:micasaverde-com:serviceId:HaDevice1" variable="ModeSetting" value="1:;2:;3:;4:;"/> <state id="203" service="urn:micasaverde-com:serviceId:HaDevice1" variable="LastUpdate" value="1407434074"/> <state id="204" service="urn:micasaverde-com:serviceId:HaDevice1" variable="FirstConfigured" value="946684831"/> <state id="205" service="urn:micasaverde-com:serviceId:HaDevice1" variable="LastTimeOffset" value="-4"/> <state id="206" service="urn:micasaverde-com:serviceId:HaDevice1" variable="BatteryDate" value="1436480247"/> <state id="207" service="urn:micasaverde-com:serviceId:HaDevice1" variable="BatteryLevel" value="100"/> <state id="208" service="urn:micasaverde-com:serviceId:HaDevice1" variable="CommFailure" value="0"/> <state id="209" service="urn:micasaverde-com:serviceId:HaDevice1" variable="CommFailureTime" value="0"/> <state id="210" service="urn:micasaverde-com:serviceId:HaDevice1" variable="LastTimeCheck" value="1436450894"/> <state id="211" service="urn:micasaverde-com:serviceId:HaDevice1" variable="ChildrenSameRoom" value="1"/> <state id="212" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="Capabilities" value="211,156,0,4,8,6,L,R,B,RS,|32,49:1,64:1,66,67,68,69,71,112,114,128,129,133,134,"/> <state id="213" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ManufacturerInfo" value="21076,512,32817"/> <state id="214" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="VersionInfo" value="6,3,67,2,10"/> <state id="215" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="NodeInfo" value="20,31,40,42,43,44,45,47,70,72,80,81,85,86,"/> <state id="216" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SetPointInfo" value="H1,C1,"/> <state id="217" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ConfiguredAssoc" value=""/> <state id="218" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollSettings" value="60"/> <state id="219" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="Neighbors" value="1,3,8,9,11,12,13,14,"/> <state id="220" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastReset" value="1395629945"/> <state id="221" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="AssociationNum" value="3"/> <state id="222" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="LastRouteUpdate" value="1436468171"/> <state id="223" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="TemperatureScale" value="1,1,2"/> <state id="224" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollOk" value="28324"/> <state id="225" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollNoReply" value="569"/> <state id="226" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="NeighborsInverse" value=""/> <state id="227" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="Health" value="5"/> <state id="228" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="AutoRoute" value="0-5,13-15,11-15,9.11-23"/> <state id="229" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="AllRoutesFailed" value="0"/> <state id="230" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="MultiChEndpoint" value=""/> <state id="231" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="MultiChCapabilities" value=""/> <state id="232" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ConfiguredName" value=""/> <state id="233" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="ConfiguredVariable" value=""/> <state id="234" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="MeterType" value=""/> <state id="235" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="MeterScale" value=""/> <state id="236" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SensorMlType" value=""/> <state id="237" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SensorMlScale" value=""/> <state id="238" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="PollTxFail" value=""/> <state id="239" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="HealthDate" value="1430105085"/> <state id="240" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="VariablesSet" value=""/> <state id="241" service="urn:micasaverde-com:serviceId:ZWaveDevice1" variable="SensorBiType" value="0,9,11,13,17,24,27,29,30,31"/> <state id="242" service="urn:micasaverde-com:serviceId:GenericSensor1" variable="CurrentLevel" value="73"/> <state id="243" service="urn:micasaverde-com:serviceId:SecuritySensor1" variable="Tripped" value="1"/> <state id="244" service="urn:micasaverde-com:serviceId:SecuritySensor1" variable="ArmedTripped" value="1"/> <state id="245" service="urn:micasaverde-com:serviceId:SecuritySensor1" variable="LastTrip" value="1408581836"/> <state id="246" service="urn:micasaverde-com:serviceId:SecuritySensor1" variable="Armed" value="0"/> <state id="247" service="urn:micasaverde-com:serviceId:LightSensor1" variable="CurrentLevel" value="22"/> </states> <Jobs/> <tooltip display="0"/> </Device_Num_10>

Out of curiosity… how does the remote access work? I mean, I fill out my username/password on a 3rd party site and that does what? Behind the scenes, how is this programmed to work?

it follows the same procedure that UI7 does , talking to VERA MMS servers, getting back authorization tokens for each servers ( there are several & several steps ) then logging in your VERA. it is explained here : http://forum.micasaverde.com/index.php/topic,24942.0.html
and my source code is public here http://code.mios.com/svn_public/mios_alternate_ui/ , remote access in implemented by PHP in the “remote” folder

hope this clarifies

it follows the same procedure that UI7 does , talking to VERA MMS servers, getting back authorization tokens for each servers ( there are several & several steps ) then logging in your VERA. it is explained here : http://forum.micasaverde.com/index.php/topic,24942.0.html
and my source code is public here http://code.mios.com/svn_public/mios_alternate_ui/ , remote access in implemented by PHP in the “remote” folder

hope this clarifies[/quote]

Thanks, that is helpful. So similar to 3rd party apps like AuthomationHD and Imperihome as examples, AltUI is authenticating in the same manner so I don’t think there is a security concern for this. Just my opinion.

Thanks! Security wasn’t a concern as much as I was interested in the how it’s working part.

This is really a super add-on. MCV should just pay you and make yours the official one :slight_smile:

[quote=“johnes, post:548, topic:185570”]Thanks! Security wasn’t a concern as much as I was interested in the how it’s working part.

This is really a super add-on. MCV should just pay you and make yours the official one :)[/quote]

Ok, wasn’t sure.

LOL, I agree!

[quote=“johnes, post:548, topic:185570”]Thanks! Security wasn’t a concern as much as I was interested in the how it’s working part.

This is really a super add-on. MCV should just pay you and make yours the official one :)[/quote]

I also agree :slight_smile: :slight_smile: never mind, feel free to add ratings for the app on the store, may be if we have a lot that will trigger their interest…( but I doubt a bit)

V 0.56.354

[ul][li]OS Commands fix[/li]
[li]OS Commands edition : note os commands support a parameter {0} that you can use. when a command has a parameter, the user interface will pop up a dialogbox for the user to enter the parameter value at the time the command is being executed[/li]
[li]ANSI color in OS Commands output[/li]
[li]Heater: Hot & Cold set point display ( if variable present )[/li]
[li]urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1 support[/li][/ul]

INSTALL: auto update or magic URL ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28016

[quote=“amg0, post:551, topic:185570”]V 0.56.354

[ul][li]OS Commands fix[/li]
[li]OS Commands edition : note os commands support a parameter {0} that you can use. when a command has a parameter, the user interface will pop up a dialogbox for the user to enter the parameter value at the time the command is being executed[/li]
[li]ANSI color in OS Commands output[/li]
[li]Heater: Hot & Cold set point display ( if variable present )[/li]
[li]urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1 support[/li][/ul]

INSTALL: auto update or magic URL ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28016[/quote]

Perfect! Thank you. The HVAC works like a champ. I had .313 and tried the auto-update. I’m not sure if I’m doing something wrong but after several attempts and manual luup reloads from the Vera GUI I had to end up using the magic url. Not sure if anyone else is getting that issue.
*****EDIT****I knew I was a higher version and read your post about the versions on it so I don’t know why it reverted. Maybe I did something wrong but I’ll look into what I did. I’m confirming here, .354 is what I have now.

One more question, I noticed one of my zwave devices is dead. When trying to start it AltUI responds just fine in terms of showing red and it doesn’t work.

However, Vera’s UI shows the device isn’t communicating. Can AltUI display the same rather than having to wait to activate the device to know that it doesn’t work?

Auto update was fine here.
CE

V 0.56.364

[ul][li]Scene History dialog ( since lua log restarted )[/li]
[li]Device Variable History ( since lua log restarted )[/li][/ul]

You press the little calendar button ( respectively in device variable dialog box for variable, or in scene dashboard panel ) and it will show you the history that it has found in the log

This feature will never replace database-based solution like DataMine/DataYours etc but it gives the history it finds in the lua logs for you, so let’s call it “recent history” since the last reboot or last log rotation

NOTE: I assume logs are on the vera box in /var/log/cmh but if some of you use logs on USB, please help me here by telling me the absolute file path where log can be read, I can then maybe do something equivalent for people putting logs on external storage/usb.

Install by autoupdate or with magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28028

Logs are in the same area with USB logs … it mounts the usb device at /tmp/log/cmh

Ok I used /var/log/cmh but I suppose it is a link and it should work hopefully even in the USB situation
thx!

[quote=“amg0, post:554, topic:185570”]V 0.56.364

[ul][li]Scene History dialog ( since lua log restarted )[/li]
[li]Device Variable History ( since lua log restarted )[/li][/ul]

You press the little calendar button ( respectively in device variable dialog box for variable, or in scene dashboard panel ) and it will show you the history that it has found in the log

This feature will never replace database-based solution like DataMine/DataYours etc but it gives the history it finds in the lua logs for you, so let’s call it “recent history” since the last reboot or last log rotation

NOTE: I assume logs are on the vera box in /var/log/cmh but if some of you use logs on USB, please help me here by telling me the absolute file path where log can be read, I can then maybe do something equivalent for people putting logs on external storage/usb.

Install by autoupdate or with magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28028[/quote]

Hey amg0, auto update is reverting me back to .313. This is partly from my earlier post. I hit the update, confirm, after a while I reload the page and back to .313. The magic url will work fine and I’ll do that now but I’m not sure how to troubleshoot.

Also, from the prior version, I couldn’t get the mobile page to update past .313 either even after cache cleaning on Chrome for Android.

Any suggestions?

[quote=“tomtcom, post:557, topic:185570”][quote=“amg0, post:554, topic:185570”]V 0.56.364

[ul][li]Scene History dialog ( since lua log restarted )[/li]
[li]Device Variable History ( since lua log restarted )[/li][/ul]

You press the little calendar button ( respectively in device variable dialog box for variable, or in scene dashboard panel ) and it will show you the history that it has found in the log

This feature will never replace database-based solution like DataMine/DataYours etc but it gives the history it finds in the lua logs for you, so let’s call it “recent history” since the last reboot or last log rotation

NOTE: I assume logs are on the vera box in /var/log/cmh but if some of you use logs on USB, please help me here by telling me the absolute file path where log can be read, I can then maybe do something equivalent for people putting logs on external storage/usb.

Install by autoupdate or with magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28028[/quote]

Hey amg0, auto update is reverting me back to .313. This is partly from my earlier post. I hit the update, confirm, after a while I reload the page and back to .313. The magic url will work fine and I’ll do that now but I’m not sure how to troubleshoot.

Also, from the prior version, I couldn’t get the mobile page to update past .313 either even after cache cleaning on Chrome for Android.

Any suggestions?[/quote]
Do you do local access or remote ? It seems I have issues with remote I may have to reduce auto update to local access

Auto update going OK here (locally).

A couple of requests:

In the Control Panel for each device: You can click on the “Used in” button to get the list of action/scenes the device is used in. However, if the device is not being used at all; then there is no message to say so. It should just say “Not used” or a similar comment - otherwise it can seem like the button is not working or doesn’t do anything. Just out of interest; ALTUI showed me a couple of scenes that I partially built, which do not show up at all in UI5. So it was good to discover these hidden relics of some past and forgotten idea that I never finished.

On the ALTUI device - can we please have a link to the ALTUI web server like the infoviewer or dataMine devices have in UI5/UI7 - that is this link:

http://your_ip_address/port_3480/data_request?id=lr_ALTUI_Handler&command=home#

Note that in UI5, URL links (as labels) can’t be placed on the Device’s front page - they have to be placed on an internal tab. In UI5, text labels on the front page of the device are rendered using a “title” attribute contained in the opening “div” tag of an empty “div” statement. The title attribute may be html but the attribute is not interpreted as html (it’s an attribute ) and does not render as a clickable link. However on the Device tabs, the URL is placed between the “div” statement tags and works as expected.

The work around is to store the URL in a device variable and then place the variable on the device’s front page. That would also allow the the user to code the URL for the page they would like to open first. Sure you can just bookmark the ALTUI page but first time round it’s a pain to type in.

[quote=“amg0”][quote=“tomtcom, post:557, topic:185570”][quote=“amg0, post:554, topic:185570”]V 0.56.364

[ul][li]Scene History dialog ( since lua log restarted )[/li]
[li]Device Variable History ( since lua log restarted )[/li][/ul]

You press the little calendar button ( respectively in device variable dialog box for variable, or in scene dashboard panel ) and it will show you the history that it has found in the log

This feature will never replace database-based solution like DataMine/DataYours etc but it gives the history it finds in the lua logs for you, so let’s call it “recent history” since the last reboot or last log rotation

NOTE: I assume logs are on the vera box in /var/log/cmh but if some of you use logs on USB, please help me here by telling me the absolute file path where log can be read, I can then maybe do something equivalent for people putting logs on external storage/usb.

Install by autoupdate or with magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28028[/quote]

Hey amg0, auto update is reverting me back to .313. This is partly from my earlier post. I hit the update, confirm, after a while I reload the page and back to .313. The magic url will work fine and I’ll do that now but I’m not sure how to troubleshoot.

Also, from the prior version, I couldn’t get the mobile page to update past .313 either even after cache cleaning on Chrome for Android.

Any suggestions?[/quote]
Do you do local access or remote ? It seems I have issues with remote I may have to reduce auto update to local access[/quote]
I tried both a couple times so I couldn’t recall the order of which I did it.

Bit of a problem with OWServer plugin. During set up, the J_OWServer.js code makes an ajax call to the OW server to get some json. The call works and the json is returned. However an error msg says “TypeError: transport.responseText is undefined” in this code:

onSuccess: function(transport) { TypeTable = transport.responseText.evalJSON();

Which is part of prototypejs: Prototype JavaScript Framework | Introduction to JSON

This thread mentions a problem with “var RequestParms = new Hash()” also part of prototypejs:

http://forum.micasaverde.com/index.php/topic,8381.msg239853.html#msg239853

http://api.prototypejs.org/language/Hash/

I imagine this is some sort of library usage problem. I’ve no idea what is used by UI5, UI7 & AltUI and how. What needs to be done to cure these issues in general?