nilspodlib.legacy.load_11_2#

nilspodlib.legacy.load_11_2(header: ndarray, data_bytes: ndarray) Tuple[ndarray, ndarray][source]#

Convert a session recorded with a 0.11.<2 firmware to the most up-to-date format.

This will update the firmware version to 0.17.255 to identify converted sessions. Potential version checks in the library will use <0.17.255 to check for compatibility.

Warning

After the update the following features will not work: - The battery sensor_type does not exist anymore and hence, is not supported in the converted files - The sync group was removed and hence can not be read anymore

Parameters:
header

Bytes containing all the legacy header information

data_bytes

Raw bytes representing the data