Giter VIP home page Giter VIP logo

nicknack's People

Contributors

kmbulebu avatar lbaudoin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

lbaudoin

nicknack's Issues

Resolve Units and Values confusion

Attributes currently hold a Map of names and Unit classes, but the Unit class doesn't actually store the value. It only stores metadata for the value. Where do we store the value?

Impacts Event, AttributeFilter, and Operator.

Errors should create new Error Events.

Errors can be handled like any other event. Then an user can decide how they would like an error to be handled, whether via notification (email, etc) or otherwise.

Saved Actions

Add UI to save actions outside of a plan. Bookmarked or saved actions. Useful for manual interactions (e.g. turn off all lights)

Consider implementing composite actions as part of this.

Redesign units

Units should be configurable by providers. Create a type of unit per html5 input type. Let provider configure range and step, for example, on a number unit.

Provider configuration REST interface.

Users need to be able to configure providers via the REST api (and in turn the UI). Currently, users have to edit configuration XML files for providers that require it.

Create /api/providers

Should provide a list of installed providers, and give links to their associated event definitions and action definitions.

Many will prefer to view event definitions by provider, so this will support that use case.

Add 'state' concept to plans and providers.

As a user I would like to check the status of a state before performing an action.

Example: As a user I would like to close my garage door at 10pm if it is open.

  1. Enhance providers to report state only when requested from NickNack. Same as events and actions, state will have no correlation or dependency with events or actions.
  2. Enhance Plans to allow the addition of states as criteria.
  3. Enhance the Web UI to allow the addition of states as criteria.

Attributes API needlessly complex.

Separate calls to manage each attribute filter has no benefit and only complicates the client. Embed them in the event filter to simplify.

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.