Author Topic: ALTUI : Suggestions  (Read 71196 times)

Offline Michal

  • Newbie
  • *
  • Posts: 13
  • Karma: +1/-0
Re: ALTUI : Suggestions
« Reply #465 on: December 04, 2017, 02:13:16 am »
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.

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

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

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?

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2962
  • Karma: +193/-8
Re: ALTUI : Suggestions
« Reply #466 on: December 04, 2017, 06:08:24 am »
ok, in next release

Offline a-lurker

  • Hero Member
  • *****
  • Posts: 847
  • Karma: +59/-8
Re: ALTUI : Suggestions
« Reply #467 on: December 05, 2017, 04:30:05 pm »
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. :)

https://en.wikipedia.org/wiki/Kilowatt_hour#Symbol_and_abbreviations_for_kilowatt_hour

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2962
  • Karma: +193/-8
Re: ALTUI : Suggestions
« Reply #468 on: December 05, 2017, 05:21:55 pm »
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. :)

https://en.wikipedia.org/wiki/Kilowatt_hour#Symbol_and_abbreviations_for_kilowatt_hour
ok , thx

Offline DesT

  • Sr. Member
  • ****
  • Posts: 340
  • Karma: +5/-1
Re: ALTUI : Suggestions
« Reply #469 on: December 06, 2017, 11:15:33 am »
amg0,

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

Like in the screenshot...
Vera Edge-UI7/Plus-UI7 (2), DSC Partition (5 ) + Zones Sensors(31), Nest thermostat (1) & Protect Fire/CO (3), GE Sw (8 ), GE Dimr (14), FGMS-001 (2), ZW100 (2), RZCS4 (1), AL-DSC11 (1), Aeon HEM 2nd Edition (1), Aeon SSE (5), YRD220-ZW (1), SONOS (6), MyQ Chamberlain (1)
PINE64/openLuup/ALTUI/Rules

Offline rafale77

  • Hero Member
  • *****
  • Posts: 1200
  • Karma: +56/-22
Re: ALTUI : Suggestions
« Reply #470 on: December 08, 2017, 03:09:55 am »
@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?
openLuup (97 devices, 134 scenes, 20 apps) controlling HomeAss + VeraPlus (134 zwave nodes, 8 Zigbee nodes, 200 devices, 20 scenes , 2 app) Bridged to Homekit and Alexa. VeraPlus ExtRooted!

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2962
  • Karma: +193/-8
Re: ALTUI : Suggestions
« Reply #471 on: December 08, 2017, 03:36:28 am »
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.

Offline pls90

  • Sr. Member
  • ****
  • Posts: 307
  • Karma: +2/-0
Re: ALTUI : Suggestions
« Reply #472 on: January 07, 2018, 12:07:26 pm »
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.

Offline RHCPNG

  • Full Member
  • ***
  • Posts: 164
  • Karma: +5/-0
Re: ALTUI : Suggestions
« Reply #473 on: January 22, 2018, 11:06:30 am »
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?

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2962
  • Karma: +193/-8
Re: ALTUI : Suggestions
« Reply #474 on: January 26, 2018, 05:00:23 pm »
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.

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 )

Offline pls90

  • Sr. Member
  • ****
  • Posts: 307
  • Karma: +2/-0
Re: ALTUI : Suggestions
« Reply #475 on: January 26, 2018, 05:06:12 pm »
incredible, thank you!

Offline rigpapa

  • Hero Member
  • *****
  • Posts: 536
  • Karma: +74/-1
Re: ALTUI : Suggestions
« Reply #476 on: January 28, 2018, 02:55:16 pm »
@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().
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3 sandbox.

Offline amg0

  • Moderator
  • Sr. Hero Member
  • *****
  • Posts: 2962
  • Karma: +193/-8
Re: ALTUI : Suggestions
« Reply #477 on: January 28, 2018, 04:52:48 pm »
@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().

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.



Offline rigpapa

  • Hero Member
  • *****
  • Posts: 536
  • Karma: +74/-1
Re: ALTUI : Suggestions
« Reply #478 on: January 28, 2018, 04:58:26 pm »
PM'd the relevant section to your Inbox. If you need the entire file, let me know. Thanks for looking at it!
Author of Reactor, DelayLight, SiteSensor, Rachio, Deus Ex Machina II, Intesis WMP Gateway, Auto Virtual Thermostat and VirtualSensor plugins. Vera Plus w/100+ Z-wave devices. Vera3 sandbox.

Offline akbooer

  • Master Member
  • *******
  • Posts: 6067
  • Karma: +267/-69
  • "Less is more"
Re: ALTUI : Suggestions
« Reply #479 on: March 03, 2018, 04:05:24 pm »
When I type in a command to the OS Command box, and then hit <RETURN> instead of pressing the Run button, I get a web page with:

Code: [Select]
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!

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.