Page 1 of 1

UV in Interactive Graph block

Posted: Thu Apr 01, 2021 11:49 am
by meteolopik
Hello all!

I’m not sure if this question has been asked before but I am wondering if some php genius would be able to add UV to the drop-down options in the Interactive graph block. I have tried it myself but I’m not enough educated on php to make it actually work properly.

Re: UV in Interactive Graph block

Posted: Thu Apr 01, 2021 9:41 pm
by davidefa
Added uv sensor

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 7:56 am
by meteolopik
Thanks for the effort, unfortunately it’s still not showing the graph line. Maybe it’s pulling data from the wrong database? Or am I missing something else?

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 8:43 am
by davidefa
Yes, I forgot to check on my 'online' site, I corrected the table name.
You have to run the block setup again if you want to set the uv graph color ( or it will be drawn in default color )

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 9:18 am
by meteolopik
It works as a breeze! Thank you so much!! :)

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 12:42 pm
by meteolopik
One more question. Do you know if it is possible to merge both values (solar and uv) in one overview? Just as in temperature and apparent temperature.

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 2:12 pm
by davidefa
Yes it is possible ( this is only a preview, not all options already implemented, but usable ).
You have to run the block setup and enable 'show uv graph' option.

Changelog:
- refactored source
- added 2 axis graphs
- grouped sensors ( differently )
- added PP, SM, ST graphs
- preview release

P.S.
Please report malfunctioning and other suggestions

Re: UV in Interactive Graph block

Posted: Sat Apr 03, 2021 6:25 pm
by meteolopik
Wow, this is exactly the genius trick I was looking for. This really made the block more powerful if you ask me. Thanks a million!!