Coder Social home page Coder Social logo

iobroker.vis-canvas-gauges's Introduction

Logo

ioBroker.vis-canvas-gauges

Logo

Number of Installations Number of Installations NPM version Downloads

NPM

canvas-gauges - Canvas gauges for ioBroker.vis Example

Very detailed canvas library from Mikhus is used in this widget set. Thank you Mikhus.

You can find description of used library here: https://canvas-gauges.com

And on GitHub here

Changelog

1.0.1 (2022-09-05)

  • (oweitman) Added workaround for firefox canvas problem

0.1.5 (2016-11-24)

  • (bluefox) do not scan DOM at start

0.1.4 (2016-11-18)

  • (bluefox) fix destroy of widgets

0.1.3 (2016-10-06)

  • (bluefox) fix highlights if min not zero

0.1.2 (2016-09-30)

  • (bluefox) translate english

0.1.0 (2016-09-26)

  • (bluefox) initial checkin

License

Copyright (c) 2016-2022 bluefox https://github.com/GermanBluefox MIT

iobroker.vis-canvas-gauges's People

Contributors

apollon77 avatar dependabot[bot] avatar germanbluefox avatar lgtm-migrator avatar oweitman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

iobroker.vis-canvas-gauges's Issues

Gauge widget stops working on firefox after some time

I have some problems with stability of gauge widget. After some time widget stops working on Firefox.
Issue is described here: https://forum.iobroker.net/topic/39853/canvas-gauges-darstellungsfehler

Sources of this widget where also not updated since 2016, but there where updates to https://github.com/Mikhus/canvas-gauges
Maybe you could update iobroker to latest source, because there where some fixes since 2016.

For testing i just copied gauge.min.js(.map) from this source to canvas-gauges/js. It seems to work so far, but it still stops working on firefox after some time.

Radial zeigt falschen Wert

Hallo,

ich verzweifele gerade etwas. Ich habe mehrere Radials in einer VIS

Wetter

4 davon zeigen den "richtigen" Wert, aber der Regen Radial sollte eigentlich 1,2 mm anzeigen, wie man in den Graphen darunter sehen kann.

Der "richtige" Wert steht auch Objekt drin:

Wetter_Obj

Wenn die VIS-Seite angezeigt wird und ein neuer Regen Wert kommt wird dieser korrekt angezeigt.
Drücke ich jedoch Reload, steht wieder 0 drin.

Der Hauptunterschied zwischen den Radials ist Temp, Helligkeit, Wind und Feuchte kommen direkt von einer Homematic Wetterstation und auch ziemlich häufig.

Der Regenwert kommt sehr selten und wird in Node Red auch erst noch berechnet:
Wetter_NodeRed

Ich glaube, es liegt aber daran, das sich der Wert ändern muss, wenn die VIS angezeigt wird.

Ich habe auch mal de Regenwert ein normales Value Widget eingeblendet. Dort wird der Wert immer korrekt angezeigt.
Es scheint also am Radial-Widget zu liegen...

Wie kann ich erreichen, dass auch nach einem Reload der "richtige" Regenwert angezeigt wird?

Vielen Dank für Eure Hilfe....

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Please check ioBroker.vis-canvas-gauges with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Feature Request - "Mechanical" limit for values

First: I love the canvas gauge flat!

It is adaptable to almost all values, where a graphical presentation is better than numbers. But if the shown value is by far higher then the given max value, the red arrow disappears.

image

In this case the current value is 80 or so, while the max value of the gauge is set to 25. OK, the thin red line underneath the scale is there, but not very helpful.

My idea is that in situations like that the arrow is positioned to the absolute right postion of the gauge! Same story with values smaller then min value - locked to the left. The behavoir is then somewhat similar to an analog instrument.

Increasing max value is not an option - 0 - 25 is the important rang of the value.

Kind Regards, Uwe

useMinPath

Would it be possible to add the useMinPath-configuration-option to the compass gauge?

Deleted title just reappears

If I remove the title in the linear widget ("Temperatur" in my case), then it is gone, OK.
Now, If I reopen the configuration again for the widget, there is "Temperatur" again and if i do not delete it, it is visible again.

Seems to me, that the logic is missinterpreting the empty field as error and inserts the devices' attribute again as title?

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.vis-canvas-gauges

I noticed that in the io-package under “restartAdapters” only vis is available. If your widget also runs with vis2, you might want to add vis2 to the list too.

I found vis as “dependencies” in the io package. If your widget also runs with vis2, then remove that.

Thanks,
your automatic adapter checker.

Compatibility check and testing for Node.js 14 and 16

Dear Adapter develop,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Erweiterung um dynamische Sektoren

Es wäre hilfreich, wenn die Sektoren über Objekte verändert werden könnten.
Im Fall einer Grill-Temperaturüberwachung könnte man den Kerntemperaturbereich, je nach Grillgut (Geflügel, Fisch, Fleich), anpassen.
2018-06-13_08h36_10

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.