Hi Felix, try this https://raw.githubusercontent.com/weewx/weewx/development/bin/weewx/drivers/te923.py see: https://groups.google.com/forum/#!searchin/weewx-user/te923%7Csort:date/weewx-user/Bx4tSRnz7aw/sZ8QPU4hBAAJ
Michael Am Samstag, 23. Mai 2020 19:38:02 UTC+2 schrieb Felix Maltzahn: > > Hey, > > After upgrading weewx to V.4.0 I have a big problem with reading my TFA > Nexus (TE923). If I downgrade to 3.9.2 all works fine. > In the tail log I found the following messages: > > sudo tail -f /var/log/syslog > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** self.read_memory_size() > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/te923.py", line 1752, in > read_memory_size > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** buf = self._read(0xfc) > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/te923.py", line 1722, in _read > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** buf = self._raw_read(addr) > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** File "/usr/share/weewx/weewx/drivers/te923.py", line 1582, in > _raw_read > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: > **** reqbuf[5] = (reqbuf[1] ^ reqbuf[2] ^ reqbuf[3] ^ reqbuf[4]) > May 23 18:58:38 wetterstation weewx[1950] CRITICAL weewx.engine: **** > TypeError: unsupported operand type(s) for ^: 'int' and 'float' > May 23 18:58:38 wetterstation weewx[1950] CRITICAL __main__: Unable to > load driver: unsupported operand type(s) for ^: 'int' and 'float' > May 23 18:58:38 wetterstation weewx[1950] CRITICAL __main__: **** > Exiting.. > > Can anybody help me? > Sorry for my bad english ;) Greetings from Germany > -- 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/8210c5f8-0352-4f21-808a-0072313006e8%40googlegroups.com.