I have rewritten my code to use pyownet but am now nearly back where I
started. I have the following code:

*owproxy.write('/3A.'+blower.id_+'/PIO.BYTE',onOff.to_bytes(1,byteorder=sys.byteorder))

*That statement gives me the following error:

*pyownet.protocol.OwnetError: [Errno 22] legacy - Invalid transaction:
'/3A.0BE14D000000/PIO.BYTE'

*The error is meaningless to me. The path is not wrong so is it
complaining about writing a single byte?

Thanks again.
****
On 8/24/2020 4:33 PM, Dennis Putnam wrote:
> Thanks to everyone that replied. I was not aware of pyownet. I will
> look into that and rewrite my code to use it.
>
> On 8/24/2020 11:47 AM, Martin Patzak wrote:
>> For python I would highly recommend you use the library *pyownet *by
>> Stefano Miccoli
>> /https://github.com/miccoli/pyownet/
>>
>> /using Fuse can lead to weird problems... (not saying that it is the
>> reason in your specific case)
>>
>> or you can use the buil-in functions in owserver 
>> owread/owwrite/owdir instead.
>>
>



-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to