Sorry Mick, my notes were not detailed enough. Glad you got your system
back on track.

I cannot confirm that CRC16 goes up by 8 - I used exactly your lines and
got the CRC16 go up by one exactly every time.
First, someone familiar with the code should try to find the source of
the bug.
Maybe we find out why your error goes up by 8 and not 1

On 17.08.20 11:04, Mick Sulley wrote:
> Thanks Stefano, I have removed it and reinstalled the owserver
> raspbian packages and it is back again at 3.2p3
>
> Here is what I see on CRC_errors -
>
> pi@pi4B:~/v12_5 $ python3
> Python 3.7.3 (default, Dec 20 2019, 18:57:59)
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyownet
> >>> owp = pyownet.protocol.proxy(persistent=True)
> >>> owp.read('/statistics/errors/CRC16_errors').decode()
> '          16'
> >>> owp.write('/simultaneous/temperature', b'1')
> >>> owp.read('/statistics/errors/CRC16_errors').decode()
> '          16'
> >>> owp.write('/simultaneous/voltage', b'1')
> >>> owp.read('/statistics/errors/CRC16_errors').decode()
> '          24'
> >>>
>
> So writing to simultaneous/temperature is fine, but
> /simultaneous/voltage increases the CRC error count by 8
>
>
> Mick
>
>
> On 17/08/2020 00:10, Stefano Miccoli via Owfs-developers wrote:
>
>
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to