Hi, ich habe gerade meine Visu aktualisiert. Jetzt läd die Heizungs-Page nicht mehrt.
Das erwähnte Template heizungsplot habe ich mit dem Widget-Assistant geprüft, hier ist es aber nochmal:
Und aufgerufen wird es so:
Den Cache habe ich auch schon versucht zu löschen, ohne Änderung.
Hat wer eine Idee an was das liegen kann?
Grüße
Code:
[Wed Feb 03 17:20:57.480648 2021] [proxy_fcgi:error] [pid 17079:tid 140438073747200] [client 2a01:XXXXXXXXX] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined method __TwigTemplate_b55f64acd36ce56dfbfc4a6a4e02950115b 8b47d5ace30135185b3fdada8d061::getmultiaxis() in /var/www/html/smartVISU-dev/vendor/Twig/src/Environment.php(497) : eval()'d code:2179\n Stack trace:\n #0 /var/www/html/smartVISU-dev/vendor/Twig/src/Template.php(702): __TwigTemplate_451bc291d70e887249d4139b74531cf56db 9ccf293f8fc733f796e106d43daec->getheizungsplot()\n #1 /var/www/html/smartVISU-dev/vendor/Twig/src/Environment.php(497) : eval()'d code(69): Twig\\Template->getAttribute()\n #2 /var/www/html/smartVISU-dev/vendor/Twig/src/Template.php(214): __TwigTemplate_e62460ca26802fcccd78466498d5778ea28 6cd0c668239504318992797f881fb->block_content()\n #3 /var/www/html/smartVISU-dev/vendor/Twig/src/Environment.php(497) : eval()'d code(82): Twig\\Template->displayBlock()\n #4 /var/www/html/smartVISU-dev/vendor/Twig/src/Template.php(214): __TwigTemplate_3729a38d3997e436a1f0c9456c5957ddcc1 2422bc6a616b5436b6f86f2c5c2c2->block_body()\n #5 /var/www/html...', referer: https://xxxxx.xxxxx.xxxxx/smartVISU/index.php
Code:
{% macro heizungsplot(gad) %} {% import "basic.html" as basic %} {% import "plot.html" as plot %} {% set uid = uid(page, id) %} <!-- {{ plot.period(uid~'p3', ['technik.heizung.ha.TempKist','technik.heizung.ha.TempWWist','technik.heizung.ha.TempVListM2'], 'avg', '1h', 'now', 0, 100, '', '', ['#aa0', '#a00', '#00a'], ['line', 'line', 'line']) }} {{ plot.multiaxis(id, item, mode, tmin, tmax, ymin, ymax, count, label, color, exposure, axis, zoom, assign, opposite, ycolor) }} {{ plot.period (id, item, mode, tmin, tmax, ymin, ymax, count, label, color, exposure, axis, zoom, assign, opposite, ycolor, ytype, unit, chartoptions) }} 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 --> {{ plot.period('plot', [gad~'.Kessel.TempIst',gad~'.WW.TempIst',gad~'.HK2.TempVList', gad~'.Brenner.Stufe', gad~'.WW.PumpeSpeicher', gad~'.HK1.Pumpe', gad~'.HK2.Pumpe'], ['avg','avg','avg','raw','raw','raw','raw'], '5d', '', '[10,0]', '[85,1]', '', ['Kessel', 'WW', 'HK2-VL', 'Brenner', 'Pumpe WW', 'Pumpe HK1', 'Pumpe HK2'], ['#d30000', '#0054d3', '#f9a028', '#d20000', '#0089d2', '#1cd200', '#9000d2'], ['areaspline', 'areaspline', 'areaspline', 'stair', 'stair', 'stair', 'stair'], ['Zeit', 'Temperatur', 'Zustand'], 'advanced', [1,1,1,2,2,2,2], [0,1], '', ['linear','boolean'], ['°', ''], { tooltip: { shared: true, distance: 30, padding: 5}, exporting: { enabled: true } } )}} <script type="text/javascript"> $(document).on("collapsiblecreate", 'div[data-role="collapsible"]', function(event, ui) { $("#{{ uid(page, 'plot') }}").closest(".block").css("width", "100%"); }) </script> {% endmacro %}
Code:
<div class="block"> <div class="set-2" data-role="collapsible-set" data-theme="c" data-content-theme="a" data-mini="true" data-btn-fs="true"> <div data-role="collapsible" data-collapsed="false"> <h3>Heizungsgrafiken</h3> {{ my_widgets.heizungsplot('technik.heizung.ha') }} </div> </div> </div>
Hat wer eine Idee an was das liegen kann?
Grüße
Kommentar