29.09.2025, 08:04
hi, I used the following JS to display a forecast icon on old scada-vis:
Is it possible to get the same on Visu?
Peppe
Code:
// wheater icon change
$(function(){
if (typeof grp != 'undefined') {
grp.listen('34/1/1', function(object, state) {
var ICO = grp.getvalue('34/1/1');
;
$('.icona').find('img').attr('src', 'http://openweathermap.org/img/w/'+ICO+'.png')
}, true);
}
});
Is it possible to get the same on Visu?
Peppe