Git Product home page Git Product logo

Comments (6)

braindead1 avatar braindead1 commented on June 11, 2024 1

In v1.0.0-beta.1 I can confirm that "After selecting a device to be included in a widget you have to click somewhere on the screen to blank out the select field." is gone. Additonally I can confirm that it the "Device Label" in Widgets is working as expected.

from iobroker.jarvis.

Zefau avatar Zefau commented on June 11, 2024

@braindead1 thanks for your support so far. With v1.0.0-alpha.1 I introduced a BREAKING CHANGE again (sorry for that) but most likely the last one.

I dropped the "groups". Now devices are directly added to the widgets, which means, that each widget can flexibly be composed.
In this course, I added a placeholder for a possible drawer implementation (where each can have its own tabs).

Subgroups are now called groups. Groups now (as of now) are specific to StateList module. The possibility to add a group will come up, when StateList is selected.

The possibility so set an individual display name is not given so far. Furthermore, it will be possible in future to select a Button, Switch, Dropdown or whatever in the widget configuration for each device. Both will be delivered with #20 and will NOT be a breaking change.

An example for the layout structure thus is now:

[
   {
      "title":"Home",
      "icon":null,
      "tabs":[
         {
            "title":"Dashboard",
            "icon":"monitor-dashboard",
            "columns":[
               [
                  {
                     "module":"DateTime",
                     "moduleConfig":{

                     },
                     "title":"Uhrzeit",
                     "devices":[

                     ]
                  },
                  {
                     "icon":"lightbulb-group",
                     "title":"Licht",
                     "devices":[
                        {
                           "type":"group",
                           "name":"Wohnzimmer"
                        },
                        {
                           "deviceId":"light_computer"
                        },
                        {
                           "deviceId":"light_window"
                        },
                        {
                           "deviceId":"light_tv"
                        },
                        {
                           "deviceId":"light_vitrine"
                        },
                        {
                           "type":"group",
                           "name":"Schlafzimmer"
                        },
                        {
                           "type":"device",
                           "deviceId":"light_guestwc_ceiling"
                        }
                     ],
                     "module":"StateList",
                     "moduleConfig":{

                     }
                  }
               ],
               [
                  {
                     "title":"Haushalt",
                     "devices":[
                        {
                           "deviceId":"dish_washer"
                        },
                        {
                           "deviceId":"dryer"
                        },
                        {
                           "deviceId":"washing_machine"
                        },
                        {
                           "type":"divider"
                        },
                        {
                           "deviceId":"heater"
                        },
                        {
                           "type":"device",
                           "deviceId":"robot"
                        }
                     ],
                     "module":"StateList",
                     "moduleConfig":{

                     }
                  }
               ],
               [
                  {
                     "module":"StateList",
                     "title":"Familie",
                     "moduleConfig":{

                     },
                     "devices":[
                        {
                           "type":"device",
                           "deviceId":"location_home",
                           "primaryStateKey":"users"
                        },
                        {
                           "type":"divider"
                        },
                        {
                           "type":"device",
                           "deviceId":"user_zefau"
                        },
                        {
                           "type":"device",
                           "deviceId":"user_shilad"
                        }
                     ]
                  },
                  {
                     "module":"StateList",
                     "title":"Jalousien",
                     "moduleConfig":{

                     },
                     "devices":[
                        {
                           "type":"device",
                           "deviceId":"blind_balcony"
                        },
                        {
                           "type":"device",
                           "deviceId":"blind_center"
                        },
                        {
                           "type":"device",
                           "deviceId":"blind_kitchen"
                        }
                     ]
                  },
                  {
                     "module":"StateList",
                     "title":"Heizung",
                     "moduleConfig":{

                     },
                     "devices":[
                        {
                           "type":"device",
                           "deviceId":"heating_living_room"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_bathroom"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_toilet"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_bedroom"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_nursery"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_office"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_hallway"
                        },
                        {
                           "type":"device",
                           "deviceId":"controlcenter"
                        }
                     ]
                  }
               ]
            ]
         },
         {
            "title":"Map",
            "icon":"map",
            "_fullscreen":{
               "module":"Map",
               "moduleConfig":{

               },
               "title":"Karte",
               "devices":[
                  {
                     "type":"device",
                     "deviceId":"location_home",
                     "primaryStateKey":"position"
                  },
                  {
                     "type":"device",
                     "deviceId":"location_svoen"
                  },
                  {
                     "type":"device",
                     "deviceId":"user_zefau",
                     "secondaryStateKey":""
                  },
                  {
                     "type":"device",
                     "deviceId":"user_shilad",
                     "secondaryStateKey":""
                  }
               ]
            }
         },
         {
            "title":"Charts",
            "icon":"chart-line",
            "columns":[
               [
                  {
                     "module":"Chart",
                     "title":"Haushalt",
                     "moduleConfig":{

                     },
                     "devices":[
                        {
                           "type":"device",
                           "deviceId":"washing_machine",
                           "primaryStateKey":"consumption"
                        },
                        {
                           "type":"device",
                           "deviceId":"dryer",
                           "primaryStateKey":"consumption"
                        },
                        {
                           "type":"device",
                           "deviceId":"dish_washer",
                           "primaryStateKey":"consumption"
                        }
                     ]
                  }
               ],
               [
                  {
                     "module":"Chart",
                     "title":"Heizung",
                     "moduleConfig":{

                     },
                     "devices":[
                        {
                           "type":"device",
                           "deviceId":"heating_living_room"
                        },
                        {
                           "type":"device",
                           "deviceId":"heating_bathroom"
                        }
                     ]
                  }
               ]
            ]
         },
         {
            "title":"Settings",
            "icon":"cog",
            "columns":[
               [

               ],
               [
                  {
                     "module":"AdapterStatus",
                     "title":"Adapter Status",
                     "moduleConfig":{

                     },
                     "devices":[

                     ]
                  }
               ],
               [

               ]
            ]
         }
      ]
   }
]

from iobroker.jarvis.

braindead1 avatar braindead1 commented on June 11, 2024

I installed v1.0.0-alpha.3 and it is working as described. In my opinion this is a huge improvement! Great work so far.

Just one minor issues: After selecting a device to be included in a widget you have to click somewhere on the screen to blank out the select field.

from iobroker.jarvis.

Zefau avatar Zefau commented on June 11, 2024

I can reproduced this and fixed it. Will be gone with the next release.

from iobroker.jarvis.

Zefau avatar Zefau commented on June 11, 2024

@braindead1 Can you confirm this has been fixed?

from iobroker.jarvis.

Zefau avatar Zefau commented on June 11, 2024

d91f2b2

from iobroker.jarvis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.