ioBroker / ioBroker.vis

Visualisation for ioBroker platform.
MIT License
303 stars 70 forks source link

Increasing the maximum number of bindings processed in a "html widget" #381

Open ice987987 opened 3 years ago

ice987987 commented 3 years ago

Is your feature request related to a problem? Please describe. in a "basic- HTML"-Widget, only 50 bindings are processed. Is it possible to increase this number?

Describe the solution you'd like infinite number of bindings should be able to be processed in one "basic- HTML"-Widget,

Additional context please import this sample as widget:

[{"tpl":"tplHtml","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"0","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html":"1: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n2: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n3: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n4: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n5: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n6: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n7: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n8: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n9: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n10: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n11: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n12: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n13: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n14: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n15: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n16: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n17: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n18: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n19: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n20: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n21: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n22: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n23: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n24: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n25: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n26: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n27: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n28: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n29: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n30: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n31: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n32: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n33: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n34: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n35: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n36: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n37: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n38: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n39: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n40: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n41: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n42: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n43: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n44: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n45: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n46: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n47: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n48: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n49: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n50: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n51: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n52: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n53: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n54: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n55: {value1:javascript.0.variables.dayTime;value1.split(':')[0]}<br>\n..."},"style":{"left":"8px","top":"100px","width":"500px","height":"1200px"},"widgetSet":"basic"}]

Lines to be changed: https://github.com/ioBroker/ioBroker.vis/blob/7aae6ba290755c2437e71edbc1512229992ff912/www/js/visUtils.js#L34 https://github.com/ioBroker/ioBroker.vis/blob/6c4d8965b836998ef1a0761da60080c46e1b4a87/www/js/visUtils.js#L35 https://github.com/ioBroker/ioBroker.vis/blob/6c4d8965b836998ef1a0761da60080c46e1b4a87/www/js/visUtils.js#L37

GermanBluefox commented 3 years ago

The problem is, bindings decreasing performance incredibly. As I created it 5 years ago, now, may be the devices are much faster. But we can increase to 100. Will it help?

ice987987 commented 3 years ago

100 allowed bindings would definitely help.

Just out of personal interest: what is the difference (performance-wise) when on a (one) view

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

ice987987 commented 2 years ago

unstale

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

ice987987 commented 1 year ago

push

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.