GithubHelp home page GithubHelp logo

hydroweb's People

Contributors

neoformit avatar

Watchers

 avatar

hydroweb's Issues

Create UI controllers for remaining devices

Create a controller panel similar to the config panel where all device controls can be found. This solves the issue of where to put controls for 'headless' devices like the mist and mix controllers - and other controllers whose status is not yet available (pH).

Config updates aren't immediately effective

Config can be persistently updated in the web UI, but it doesn't seem to be immediately effective within hydropi.
Though the config in the web UI shows the updated values, hydropi still calculates a parameter's status with the old values.

Example: config was update to increase EC_MAX from 1600 to 1800. It seemed to work - refreshed config page showed the new value. But the displayed status for EC was still warning even though it was only as 1720 - hydropi was still referencing the old EC_MAX. So either it's not fetching config from the database, or it's caching the data somewhere.

Restarting the hydroweb service fixes the issue, and hydropi starts reading the new value for calculating EC status.

Kill functions

The UI should have a kill/killall button for tasks/controllers that are currently running.
Better thread management is probably required for this to work, maybe with redis/rq

Display history data

New UI component to display contents of the dash_history table once that has been populated effectively.
Probably some interactive graphs with plotly.

Controller on/off doesn't work through the web interface

This is strange, since other controls seem to work fine, and the controller actually logs the controller switching state as the web UI switches the device on/off:

INFO | 2022-01-22 11:12:10 | controller  | PressurePumpController: switch output state to 0:ON
INFO | 2022-01-22 11:12:16 | controller  | PressurePumpController: switch output state to 1:OFF

Very mysterious.

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.