Barbaz, can you test the nbetest client from this branch https://github.com/motoz/nbetest/tree/testing/v13 ?
Hi motoz! sorry for delay but I didn't have the possibility to test it.... it works! that's fine!
Thank you very much, it seems that you find the problem and now the boiler didn't disconnect anymore.
Some examples:
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxxx get
settings/
operating_data/
advanced_data/
consumption_data/
event_log/
sw_versions/
info/
osmc@osmc:~/nbetest-testing-v13$
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxx get info
Traceback (most recent call last):
File "client.py", line 81, in <module>
args.func(args, proxy)
File "client.py", line 27, in getfunc
l = proxy.get(args.path)
File "/home/osmc/nbetest-testing-v13/protocol.py", line 135, in get
response = self.make_request(9, '')
File "/home/osmc/nbetest-testing-v13/protocol.py", line 176, in make_request
self.response.decode(data)
File "/home/osmc/nbetest-testing-v13/frames.py", line 171, in decode
raise IOError
IOError
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxx get settings
settings/boiler/
settings/hot_water/
settings/regulation/
settings/weather/
settings/weather2/
settings/oxygen/
settings/cleaning/
settings/hopper/
settings/fan/
settings/auger/
settings/ignition/
settings/pump/
settings/sun/
settings/vacuum/
settings/misc/
settings/alarm/
settings/manual/
osmc@osmc:~/nbetest-testing-v13$
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxx get sw_versions
Traceback (most recent call last):
File "client.py", line 81, in <module>
args.func(args, proxy)
File "client.py", line 27, in getfunc
l = proxy.get(args.path)
File "/home/osmc/nbetest-testing-v13/protocol.py", line 129, in get
response = self.make_request(10, '')
File "/home/osmc/nbetest-testing-v13/protocol.py", line 176, in make_request
self.response.decode(data)
File "/home/osmc/nbetest-testing-v13/frames.py", line 171, in decode
raise IOError
IOError
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxxx get sw_versions
Traceback (most recent call last):
File "client.py", line 80, in <module>
with Proxy(args.password, PORT, args.address, args.serial) as proxy:
File "/home/osmc/nbetest-testing-v13/protocol.py", line 75, in __init__
data, server = self.s.recvfrom(4096)
socket.timeout: timed out
osmc@osmc:~/nbetest-testing-v13$
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxxx get advanced_data
Traceback (most recent call last):
File "client.py", line 80, in <module>
with Proxy(args.password, PORT, args.address, args.serial) as proxy:
File "/home/osmc/nbetest-testing-v13/protocol.py", line 75, in __init__
data, server = self.s.recvfrom(4096)
socket.timeout: timed out
as you can see it gives IOerror getting info, advanced_data and sw_versions ... sometimes it returns socket timeout instead
settings seems to work correctly:
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxx -p xxxxx set settings/regulation/boiler_power_min 30
OK
osmc@osmc:~/nbetest-testing-v13$ python client.py -a 192.168.12.22 -s xxxx get settings/regulation/boiler_power_min
30
osmc@osmc:~/nbetest-testing-v13$
thank you a lot!!!!