Code Monkey home page Code Monkey logo

cometvisu's Introduction

Build Coverage Status Join the chat at https://gitter.im/CometVisu/CometVisu

CometVisu is a real-time visualization software using modern web technologies for building automation applications like smart homes.

It only requires a web browser to display it and a web server as well as a backend it can communicate with. The web server can be quite small (routers should already have enough power) as it is only serving static content. For extended features it should support PHP, but that is optional and not required.

How to get it:

The latest release can be downloaded at:

https://github.com/CometVisu/CometVisu/releases/latest

The latest nightly builds can be downloaded at (please be aware that nightly builds are experimental):

https://github.com/CometVisu/CometVisu/releases

Note: When you own a WireGate the CometVisu comes already pre-installed. You will only need to download a new version from GitHub when the shipped version is outdated (it usually gets updated rather quickly, so try a system update first) or you want to start CometVisu development.

How to install it:

Please see the INSTALL file.

Instructions for developers:

Please have a look at the DEVELOPMENT file.

Documentation:

The documentation and latest information can be found at:

http://www.cometvisu.org/

Support:

To discuss with the developers you can use the the KNX User Forum at

https://knx-user-forum.de/forum/supportforen/cometvisu

(spoken languages are German and English)

Prerequisites:

There are currently two different backends widely used:

  1. eibread-cgi / eibwrite-cgi are directly communicating with the eibd / knxd to have direct access to the KNX bus.
  2. OpenHAB can also be used as a backend.

As extended functionality the diagram plugin can be used. This will require a rrdtool installation with the added "fetchj" feature.

Notes on the KNX-backend
The KNX-backend uses
/usr/lib/cgi-bin/l : a dummy-login
/usr/lib/cgi-bin/r : a symlink to /usr/bin/eibread-cgi
/usr/lib/cgi-bin/w : a symlink to /usr/bin/eibwrite-cgi
eibread/write-cgi are part of a modified eibd-clients package here:
http://repo.wiregate.de/wiregate/pool/wiregate-1.0/main/e/
(source: bcusdk)

Important note on diagram-backend
It uses a modified version of rrdtool, adding a "fetchj" option.
You can find source and Debian-packages here:
http://repo.wiregate.de/wiregate/pool/wiregate-1.0/main/r/
http://repo.wiregate.de/wiregate/pool/wiregate-1.0/main/libr/

cometvisu's People

Contributors

alltime84 avatar bubo08 avatar christianmayer avatar cool-runnings avatar ctr49 avatar ctschach avatar daviid5 avatar dependabot[bot] avatar hannes-loehr avatar j-n-k avatar joltcoke avatar jumi2006 avatar makki1 avatar matthias-mw avatar mclb avatar morg42 avatar netfritz59 avatar nettworks-tooling avatar netzkind avatar panzaeron avatar pelnet avatar peuter avatar robert1978 avatar sirtobiiv avatar staehler avatar starwarsfan avatar tuxedo0801 avatar vlamers avatar wurschtel avatar zwopi 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

Watchers

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

cometvisu's Issues

Handle browsers that can't scroll page parts

Reported by mayerch on 2010-12-03 14:53 UTC
Some browsers (esp. those for mobile devices) seem to be unable to scoll sub parts of a page - which means that the ComeVisu pages can't be scrolled.

(cf. e.g. post #147)

Handle browsers that can't scroll page parts

Reported by mayerch on 2010-12-03 14:53 UTC
Some browsers (esp. those for mobile devices) seem to be unable to scoll sub parts of a page - which means that the ComeVisu pages can't be scrolled.

(cf. e.g. post #147)

Edit shows wrong GA

Reported by netzkind on 2010-11-15 09:23 UTC
When editing two widgets in a row, the edit-window for the second widget shows the GA of the first instead of its own.

Problem is with caching input-fields - they need to be reset on edit.

Caching on web server

Reported by mayerch on 2011-03-09 21:52 UTC
Bug for the CometVisu rackage running on the WireGate:

The caching of the web server should be selectively disabled (e.g. for the config file)

Adding a new element sometimes broken

Reported by mayerch on 2011-04-26 19:32 UTC
Sometimes adding a new element will sometimes create an "undefined" although the proper label was set during editing (cf. #590)

pre/post not working on some widgets

Reported by j-n-k on 2011-05-13 12:15 UTC
pre&post are displayed after the button when using the "switch-widget".

proposal: remove pre/post for all widgets.

Edit shows wrong GA

Reported by netzkind on 2010-11-15 09:23 UTC
When editing two widgets in a row, the edit-window for the second widget shows the GA of the first instead of its own.

Problem is with caching input-fields - they need to be reset on edit.

Missing initialisation of widgets

Reported by mayerch on 2011-01-02 22:34 UTC
The widgets aren't properly initialised, so they might send their initialisation value once they receive them and thus create unnecessary bus traffic.

diagram_popup on sub-pages broken

Reported by j-n-k on 2011-05-15 19:21 UTC
The diagram_popup-widget displays the content-text only but nor the preview-.image if used on sub-pages within the "pure"-design. everything woprks fine for the "discreet"-design.

diagram_popup on sub-pages broken

Reported by j-n-k on 2011-05-15 19:21 UTC
The diagram_popup-widget displays the content-text only but nor the preview-.image if used on sub-pages within the "pure"-design. everything woprks fine for the "discreet"-design.

if get_addresses fails, js fails

Reported by netzkind on 2010-11-15 09:26 UTC
If get_addresses.php fails on call (e.g. due to missing /etc/wiregate/eibga.conf et al), the methods for creating the select-entries for GA-selection fail. JS throws an error.

This needs to be catched, and an input-field should be presented to the user if no select-list can be created.

Info without label shows "undefined" as label

New error occurs in develop: If an "info" element contains no label the visu shows "undefined" instead.
In previous versions it was ok to leave the label empty, please see attached screenshots.
visu major
visu dev

The xml is the same file:

        <info mapping="DoorOpenClose">
            <layout colspan="1"/>
            <label>Tor</label>
            <address transform="DPT:1.001" mode="read">3/2/5</address>
        </info>
        <info mapping="DoorOpenClose">
            <layout colspan="1"/>
            <address transform="DPT:1.001" mode="read">3/2/4</address>
        </info> 

Uploading Visu Major.png . . .
Uploading Visu Dev.png . . .

Adding a new element sometimes broken

Reported by mayerch on 2011-04-26 19:32 UTC
Sometimes adding a new element will sometimes create an "undefined" although the proper label was set during editing (cf. #590)

text-content is mandatory for image

Reported by netzkind on 2010-11-15 09:24 UTC
When editing/inserting image-tag, the field text-content is mandatory. This is just plain wrong.

Rendering problem

Reported by amindnich on 2011-02-07 20:15 UTC
Rendering issue (see attached screenshot)

  1. embedded image
    An embedded image, such as the default weather forecast diagram is
    bigger than one column, therefore interfering with elements on the right
    hand column

  2. diagram inline
    The inline diagram is too far left, therefore either missing numbers on the
    y-axis if in the left column, or overlapping across the middle, when on the
    right hand side

Experienced on both Chromium and Firefox 3.6.13 on Ubuntu

Internal Server Error of Backend at "unclean" request

Reported by mayerch on 2011-02-12 17:30 UTC
When the clients sends an AJAX request to the backend that contains an empty address (i.e. ...&a=1/2/3&a=&a=...) the server returnes a
500 Internal Server Error

=>

  1. The backend should handle that gracefully
  2. The client should'n send such a request (or the protocol definition should explicitly allow it)
  3. The client shouldn't stop working afterwards...

Assigned to Makki to fix point 1)

Editor breaks flavour

Reported by j-n-k on 2011-05-18 18:15 UTC
STR:

  1. 'pure' design, flavour different from default
  2. use editor
  3. save config
  4. flavour reset to default

text-content is mandatory for image

Reported by netzkind on 2010-11-15 09:24 UTC
When editing/inserting image-tag, the field text-content is mandatory. This is just plain wrong.

The editor pane should be scrollable

Reported by mayerch on 2011-02-20 12:42 UTC
When editing a widget that has quite a few elements and attributes that editor pane / frame can become quite long - so long that a short browser window won't show the OK and Cancel buttons.

=> The editor should be scrollable

Multitrigger display broken

Reported by j-n-k on 2011-05-12 09:43 UTC
on very wide screens the buttons are arranged not in 2x2 grid but three in a row and one below which looks really bad

Remove FIXME for datatype

Reported by mayerch on 2010-12-03 14:11 UTC
The client is currently transmitting the KNX datatype. This is not in the protocol and shouldn't be done as it's highly KNX specific.
(note: this might need a change in the current backend)

Multitrigger display broken

Reported by j-n-k on 2011-05-12 09:43 UTC
on very wide screens the buttons are arranged not in 2x2 grid but three in a row and one below which looks really bad

Remove FIXME for datatype

Reported by mayerch on 2010-12-03 14:11 UTC
The client is currently transmitting the KNX datatype. This is not in the protocol and shouldn't be done as it's highly KNX specific.
(note: this might need a change in the current backend)

Caching on web server

Reported by mayerch on 2011-03-09 21:52 UTC
Bug for the CometVisu rackage running on the WireGate:

The caching of the web server should be selectively disabled (e.g. for the config file)

Missing initialisation of widgets

Reported by mayerch on 2011-01-02 22:34 UTC
The widgets aren't properly initialised, so they might send their initialisation value once they receive them and thus create unnecessary bus traffic.

Rendering problem

Reported by amindnich on 2011-02-07 20:15 UTC
Rendering issue (see attached screenshot)

  1. embedded image
    An embedded image, such as the default weather forecast diagram is
    bigger than one column, therefore interfering with elements on the right
    hand column

  2. diagram inline
    The inline diagram is too far left, therefore either missing numbers on the
    y-axis if in the left column, or overlapping across the middle, when on the
    right hand side

Experienced on both Chromium and Firefox 3.6.13 on Ubuntu

The editor pane should be scrollable

Reported by mayerch on 2011-02-20 12:42 UTC
When editing a widget that has quite a few elements and attributes that editor pane / frame can become quite long - so long that a short browser window won't show the OK and Cancel buttons.

=> The editor should be scrollable

pre/post not working on some widgets

Reported by j-n-k on 2011-05-13 12:15 UTC
pre&post are displayed after the button when using the "switch-widget".

proposal: remove pre/post for all widgets.

if get_addresses fails, js fails

Reported by netzkind on 2010-11-15 09:26 UTC
If get_addresses.php fails on call (e.g. due to missing /etc/wiregate/eibga.conf et al), the methods for creating the select-entries for GA-selection fail. JS throws an error.

This needs to be catched, and an input-field should be presented to the user if no select-list can be created.

Editor breaks flavour

Reported by j-n-k on 2011-05-18 18:15 UTC
STR:

  1. 'pure' design, flavour different from default
  2. use editor
  3. save config
  4. flavour reset to default

Internal Server Error of Backend at "unclean" request

Reported by mayerch on 2011-02-12 17:30 UTC
When the clients sends an AJAX request to the backend that contains an empty address (i.e. ...&a=1/2/3&a=&a=...) the server returnes a
500 Internal Server Error

=>

  1. The backend should handle that gracefully
  2. The client should'n send such a request (or the protocol definition should explicitly allow it)
  3. The client shouldn't stop working afterwards...

Assigned to Makki to fix point 1)

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.