-
Notifications
You must be signed in to change notification settings - Fork 26
Description
I am new here, but am only getting the weirdest output from timeseries2csv.py
$ ./timeseries2csv.py --host 192.168.178.24 --port 8899 --resolution=minutes --count=1 1
Requesting ubat
timestamp: 2025-08-09 23:59:59
Got unexpected frame oid 0xDB2D69AE
timestamp: 2025-08-09 23:59:59
Got unexpected frame oid 0x5F33284E
timestamp: 2025-08-09 23:59:59
timestamp: 2025-08-09 19:00:00
Got unexpected frame oid 0xB0041187
timestamp: 2025-08-09 19:00:00
Got unexpected frame oid 0xA7FA5C5D
timestamp: 2025-08-09 19:00:00
Got unexpected frame oid 0x3623D82A
timestamp: 2025-08-09 19:00:00
Got unexpected frame oid 0x97E203F
...
Traceback (most recent call last):
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/rctclient/frame.py", line 425, in consume
self._command = Command(cmd)
^^^^^^^^^^^^
File "/usr/lib/python3.12/enum.py", line 757, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/enum.py", line 1171, in new
raise ve_exc
ValueError: 181 is not a valid CommandThe above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/eckart/./timeseries2csv.py", line 333, in
timeseries2csv()
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/click/core.py", line 1442, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/click/core.py", line 1363, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/click/core.py", line 1226, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/click/core.py", line 794, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/eckart/./timeseries2csv.py", line 226, in timeseries2csv
rframe.consume(buf)
File "/home/eckart/RCTlogger/lib/python3.12/site-packages/rctclient/frame.py", line 427, in consume
raise InvalidCommand(str(exc), cmd, i) from exc
rctclient.exceptions.InvalidCommand: 181 is not a valid Command
Did something change, which then broke this code?
I should mention that the little sample given in the docs tab works just fine.
Any suggestions?
TIA Eckart