On Monday, September 14, 2020 at 12:19:07 PM UTC-7, Michael Grossie wrote: > > * File "/home/weewx/bin/user/extra_sensors_service.py", line 26, in > load_data* > * self.get_DHT22(event)* > * File "/home/weewx/bin/user/extra_sensors_service.py", line 36, in > get_DHT22* > * temperature = temperature * 9.0/5.0 + 32* > *TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'* > > Wild guess, but it's not possible to do that calculation if temperature is not gotten by the get_DHT22(event) above.
Perhaps you need to catch that in a try/except check ? -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2f3ebb50-a51d-47e5-a5ab-c0dc0b50c46bo%40googlegroups.com.