I cannot find a way to not display the UV in the Current Conditions Block it is always showing 0.0 because I do not have a UV sensor.
Thanks,
Sperry
Current Conditions - UV
- Sperry Russ
- Observer

- Posts: 18
- Joined: Sun Aug 20, 2017 1:07 pm
- Location: Florida
- Station model: Davis Pro 2 Cabled
- Software: CumulusMX V. 3
- Contact:
- meteocaldas
- Language Admin

- Posts: 111
- Joined: Fri Aug 25, 2017 7:56 pm
- Location: Caldas da Rainha, Portugal
- Station model: OS WMR-88A
- Software: Cumulus
- Contact:
Re: Current Conditions - UV
Hi Sperry,Sperry Russ wrote: ↑Sat Dec 16, 2017 5:18 pm I cannot find a way to not display the UV in the Current Conditions Block it is always showing 0.0 because I do not have a UV sensor.
Most probably you are using CUMULUS, right?
I already faced that problem and the reason is the following:
Cumulus always sends UV=0.0 in realtime.txt, (with or without UV sensor) so there is no way for MT to know if that value is coming from a sensor of if it is just Cumulus reporting "no sensor".
The only way to solve the problem is to customize your current.php script, by quoting (or deleting) the lines where it displays the UV icon and the 0.0 value. That's how I solved it.
Unfortunatelly, as Jachym already explained before, there is not the possibility to include an MT option where Cumulus users could choose YES or NO to determine if that 0.0 is from a sensor or not.
http://www.meteocaldas.com/mtp
- Sperry Russ
- Observer

- Posts: 18
- Joined: Sun Aug 20, 2017 1:07 pm
- Location: Florida
- Station model: Davis Pro 2 Cabled
- Software: CumulusMX V. 3
- Contact:
Re: Current Conditions - UV
Yes, that's right I am using Cumulus. I will try customizing the php script.
Thanks for the information.
Thanks for the information.