ALTUI : New Features Suggestions

Would it be possible to show CurrentLevel as displayed Value for all uncommon device types? Right now it works for my CO2 sensor but not for gas meter, although they both have variable CurrentLevel.

Also to show those values on My Home page. Right now it works for Watts, but not even for kWh.
Thanks

[quote=ā€œMichal, post:461, topic:188330ā€]Would it be possible to show CurrentLevel as displayed Value for all uncommon device types? Right now it works for my CO2 sensor but not for gas meter, although they both have variable CurrentLevel.

Also to show those values on My Home page. Right now it works for Watts, but not even for kWh.
Thanks[/quote]

hum, it depends if I can identify the services. what are the service value for these ā€œCurrentLevelā€ variables ?

Where can I find this? By the way these sensors are created with Z-Uno. Both of them.

Where can I find this? By the way these sensors are created with Z-Uno. Both of them.[/quote]

variable dialog box, hover your mouse over the variable name and you should see a popup with the service name

Where can I find this? By the way these sensors are created with Z-Uno. Both of them.[/quote]

variable dialog box, hover your mouse over the variable name and you should see a popup with the service name[/quote]

For both sensors it is GenericSensor1. For one it shows for another not.

Where can I find this? By the way these sensors are created with Z-Uno. Both of them.[/quote]

variable dialog box, hover your mouse over the variable name and you should see a popup with the service name[/quote]

For both sensors it is GenericSensor1. For one it shows for another not.[/quote]

It works great now! Thanks!
Could you also show kWh value on My Home tab in case that a device with service EnergyMetering1 does not have variable Watts but only KWH?

ok, in next release

While on kilowatt hours, the abbreviation should be kWh; AltUI (or is that ALTUI) shows it as kWH. Sorry for being so pedantic but it upsets my OCD. :slight_smile:

[quote=ā€œa-lurker, post:468, topic:188330ā€]While on kilowatt hours, the abbreviation should be kWh; AltUI (or is that ALTUI) shows it as kWH. Sorry for being so pedantic but it upsets my OCD. :slight_smile:

ok , thx

amg0,

Do you think it can be possible to add more choice under Devices / Category ? Like Door Sensors, Motion Sensors, ā€¦

Like in the screenshotā€¦

@amg0, I donā€™t know if this was by design but the ALTUI main page hangs and does not allow any functionality when the internet is disconnected. I believe some of the java code call out to some APIs and are not allowing the page to go any further. Is there anyway to fix this?

Check the doc for the local cdn option.
In no internet access mode you will lose the google gauge feature but the rest should be ok.

I would like to be able to use the value of a bag variable for a timer.
I find myself using the Bag functionality quite a lot lately.
In the very first state after initializing I set all the Bag variables I need. To be able to change the value of a timer that is used in many transitions in a workflow by just editing the init of a Bag variable would be quite neat.

There is one feature of the Vera UI that I would like to see in AltUI, namely the ?My Preset Modes? screen. This is the screen where you can set the preset for every device for each house mode.

Is it possible to add this functionality?

[quote=ā€œpls90, post:473, topic:188330ā€]I would like to be able to use the value of a bag variable for a timer.
I find myself using the Bag functionality quite a lot lately.
In the very first state after initializing I set all the Bag variables I need. To be able to change the value of a timer that is used in many transitions in a workflow by just editing the init of a Bag variable would be quite neat.[/quote]

in next versionā€¦ Timer duration will be :
-either a number in seconds
-either a text like ā€œmin - maxā€ to get a random value between min and max in seconds
-either a Bag[ā€œvarnameā€] to use the Bag value ( in seconds )

incredible, thank you!

@amg0,

It appears that the ā€œmulti_state_buttonā€ control only supports numeric values in ALTUI, where UI7 allows text values.

I have a plugin that uses a multi-state to switch between comfort and economy modes. It is tied to the UPnP HVAC_UserOperatingMode1 action SetEnergyModeTarget, and the states EnergyModeTarget and EnergyModeStatus, which can have values ā€œNormalā€ or ā€œEnergySavingsModeā€. It does not use 0/1 numeric values. I can work around this issue in ALTUI by providing an alternate plugin-specific service/action that uses numeric flags and works on both Vera and ALTUI, but I think it would be a nice enhancement if there as parity between the two on this control as well. Most of the existing code works (there are some numeric comparisons made but they only affect display not operationā€“bInverted, for example), but handling the click/action is where it stops working, in ALTUI_PluginDisplays.toggleButton().

[quote=ā€œrigpapa, post:477, topic:188330ā€]@amg0,

It appears that the ā€œmulti_state_buttonā€ control only supports numeric values in ALTUI, where UI7 allows text values.

I have a plugin that uses a multi-state to switch between comfort and economy modes. It is tied to the UPnP HVAC_UserOperatingMode1 action SetEnergyModeTarget, and the states EnergyModeTarget and EnergyModeStatus, which can have values ā€œNormalā€ or ā€œEnergySavingsModeā€. It does not use 0/1 numeric values. I can work around this issue in ALTUI by providing an alternate plugin-specific service/action that uses numeric flags and works on both Vera and ALTUI, but I think it would be a nice enhancement if there as parity between the two on this control as well. Most of the existing code works (there are some numeric comparisons made but they only affect display not operationā€“bInverted, for example), but handling the click/action is where it stops working, in ALTUI_PluginDisplays.toggleButton().[/quote]

can you send me your plugin files so I can see how that works ?
where do you define the possible textual values for the variable and how they map to the button state ( on or off ) ?

if the information cannot be derived from plugin json files for instance, then I could enhance ALTUI_PluginDisplays.toggleButton to work with a map of textual values but that would still require to implement a ALTUI specific plugin display code ( very easy ) to use that.

PMā€™d the relevant section to your Inbox. If you need the entire file, let me know. Thanks for looking at it!

When I type in a command to the OS Command box, and then hit instead of pressing the Run button, I get a web page with:

No handler for data_request?id=?

ā€¦or just a blank web page, depending on whether Iā€™m on openLuup or Vera.

(This is using Firefox on a Mac.)

Is there any way this can be made to work as expected and just run the command?

Thanks if possible!