All DEBUG_ .. = 1 to activate debug of sensor data. UV is not showing in syslog.
All of the below have the global-code but UVI:
# Prints respective packets individually.
DEBUG_PACKETS_ARCHIVE = 1
DEBUG_PACKETS_PRESSURE = 1
DEBUG_PACKETS_RAIN = 1
DEBUG_PACKETS_STATUS = 1
DEBUG_PACKETS_TEMP = 1
DEBUG_PACKETS_UVI = 1
DEBUG_PACKETS_WIND = 1
Suggested change (add):
global DEBUG_PACKETS_UVI
DEBUG_PACKETS_UVI = int(stn_dict.get('debug_packets_uvi', 1))
After the change the following is added to syslog (the 255-value should be 0 - this was why I was debugging):
Sep 26 17:42:15 RPi-3Bp-Arelien weewx[3863] DEBUG weewx.drivers.wmr200: UV index:255