Giter VIP home page Giter VIP logo

habmin's People

Contributors

bryant1410 avatar cdjackson avatar gregmag avatar hfanieng avatar marcelrv avatar mattwire avatar paixaop avatar petrklus avatar sumnerboy12 avatar udo1toni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

habmin's Issues

Sitemap configuration redesign idea

My proposal is that Widgets panel become more like a toolbox panel, i.e. a lot thinner and only icons. On hover, show bubble with widget name. Then place the Properties panel below the Sitemap tree panel and place the Widgets panel (toolbox) in left of both. I made a simple sketch of this idea:
habmin

I think this approach will both save some space for bigger Sitemap Configuration panel and it's more logical, because it mimics most of the IDEs.

Make it extendible

It would be nice HABmin to be architect in a "framework way" that could be extended by 3-rd party extensions (provided by openHAB bindings or standalone). There should be some "hooks" provided for adding a new tab button on top or new menu item in the content (presuming there will be some king of standardized structure). This would allow HABmin to be extended by 3-rd party devs. For example if I want to build a visual sitemaps editor for HABmin or to integrate GUI editor for 3-rd party UI like SmartVisu.

Make number format a dropdown

It would be nice if there is a dropdown with human readable options for number formatting. So, instead of typing values like "%.1f", user should select options like "integer, decimal, floating point with 3 digits after decimal point, etc"

Add PID to the binding XML definition

Add as an attribute. This allows multiple PIDs to be accounted for in a single file (eg a general configuration file).
For the same reason, the PID should be returned in the JSON from openHAB.

Use paging in the table grid

Issues with relayout within ExtJS when the grid is shown mean that changing the tab from graph to grid can be very slow with largish data sets.
Use a paging array store, or overload store members to only load the data that's necessary.

Persistence suggestions

Some suggestions:

  • Rename "Persistence" to "Statistics" and maybe place it after "Automation".
  • Make a checkbox for every item to enable/disable gathering statistics for this item. When enabled, show additional fields under the checkbox for persistence properties.
  • Show item label instead of item name, when label available.

Sitemap: issue editing item name

If you start to type into the item name box, and then want to remove the text, the box ends up with "null" showing. It should be possible to remove the item since this is necessary for group/frame type widgets that can be items, or can just be a label field.

Enhance saved graphs

Save graphs with the following information for each item -:
ItemName, Axis, LineType, Color, GraphType, Markers

For each axis
Min, Max, Position (left/right)

Derived items / rules

I'm thinking of implementing the following to support "derived items". These are items that are derived through a rule - things like "Maximum value in the last 6 hours", or "Difference in the last day", or calculate the power being used by lights (multiply a power setting by a dimmer value).

It would work something like this (all TBD as I haven't thought it through fully yet).

In the Item Properties page, you would be able to add new derived items. So, if you have an item "Weather_Temperature", then you would have a list of derivations possible, and you can select this, select the parameters (eg duration), specify the derived item name, and click ok. HABmin would then do the following -:

  • Create the new item - no bindings or anything. The item name (by default) would be the original item name with an extension (eg Weather_Temperature_DailyMin)
  • Create a new rule that updates the item as required. Probably all rules would be stored in a single file that gets generated each time either the rules or the items change.

The rule templates will be in an XML file for starters - maybe in the longer term the rules can be edited visually in HABmin. The XML file will contain the following for each rule -:

  • Rule name
  • Rule description
  • Item name extension (to be added to the end of the item name to create the new item). This may also be used as a global ID, so may need to be unique.
  • Rule applicability (ie the item type that this rule is available to)
  • Type of rule (to allow filtering - eg. Derived items, or actions...)
  • List of variables used in the rule that get updated by HABmin. The rules can be added to the item configuration so they look like existing openHAB item config. This could (for example) be used to configure a power (watts) value that gets updated by the rule depending on dimmer value.
  • Trigger conditions
  • Actions

The items would then be editable just as any other item is - you can enable persistence, set the label etc.

The "link" to the original Item would be maintained in the background within HABmin, and this link info may be used to access the data in an easier way within the charting.

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.