Using a script to generate a UI

Discussion in 'C-Bus Automation Controllers' started by lcrowhurst, Sep 15, 2022.

  1. lcrowhurst

    lcrowhurst

    Joined:
    Dec 2, 2004
    Messages:
    271
    Likes Received:
    97
    Location:
    Sydney, NSW, Australia
    I have attached link to a video of a script that I am working on that generates a UI for the Wiser SHAC/NAC/AC2 etc , using just the groups you have uploaded and keywords added to the groups.


     
    lcrowhurst, Sep 15, 2022
    #1
  2. lcrowhurst

    lcrowhurst

    Joined:
    Dec 2, 2004
    Messages:
    271
    Likes Received:
    97
    Location:
    Sydney, NSW, Australia
    I have been working on my UI Generation script, originally keywords needed to be added to the uploaded groups, to assign categories, icons etc. The new script use some logic to decide what category an object is in and what function and icon to assign. Eg Kitchen Down light is put in the room Kitchen, the category lights , given a dimming function, and assigned a downlight icon. I have uploaded a couple of videos, one showing the process of creating an interface, the other showing several interfaces the script has created based on the size and orientation of the screen.

    Example of the UI Generated


    Generating the UI
     
    lcrowhurst, Apr 8, 2023
    #2
    Diggerz and rikaussie like this.
  3. lcrowhurst

    rikaussie

    Joined:
    Jun 8, 2013
    Messages:
    68
    Likes Received:
    2
    Location:
    Melbourne
    That’s very clever!
     
    rikaussie, Apr 8, 2023
    #3
  4. lcrowhurst

    rikaussie

    Joined:
    Jun 8, 2013
    Messages:
    68
    Likes Received:
    2
    Location:
    Melbourne
    That’s very clever!

    If you want anyone to test drive it, I’m in the process of replacing my C-Bus Touch Screen for a 5500AC2.
     
    rikaussie, Apr 9, 2023
    #4
  5. lcrowhurst

    lcrowhurst

    Joined:
    Dec 2, 2004
    Messages:
    271
    Likes Received:
    97
    Location:
    Sydney, NSW, Australia
    Hi rikaussie

    Hopefully very soon I will be looking for testers.

    I have just posted up a short video , updating what I have been doing on the UI script , and also updates that I have made to the CTC Spacelogic app

     
    lcrowhurst, Jul 7, 2023
    #5
  6. lcrowhurst

    MadMal

    Joined:
    Dec 16, 2009
    Messages:
    75
    Likes Received:
    1
    Location:
    Perth, WA
    Hey Laurence,

    Where have you got to with this?
     
    MadMal, Jul 18, 2023
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.