Skip to content

api.tlx_detail(tlx_id) not getting all timestamps #54

@codac

Description

@codac

Calling the TLX Detail API with the following command results in a restricted ouput.
Call:
api.tlx_data(device_sn, date=dayToProcess)
The values of the key "invPacData" results always with a start at 11:15 and end at 17:10 even though there are data points before 11:15 and after 17:10. No matter what day you provide, its always the same. Every datapoint before and after gets ignored.

    'invPacData': {   '2022-11-06 11:15': 386,
                      '2022-11-06 11:30': 623.2000122070312,
                      '2022-11-06 11:35': 623.7000122070312,
                      '2022-11-06 11:40': 624.2999877929688,
                      '2022-11-06 11:45': 622.7000122070312,
                      '2022-11-06 11:50': 621.7666625976562,
                      '2022-11-06 11:55': 619.933349609375,
                      '2022-11-06 12:00': 621.933349609375,
                      '2022-11-06 12:05': 622.2666625976562,
                      '2022-11-06 12:10': 622.6000366210938,
                      '2022-11-06 12:15': 621.7000122070312,
                      '2022-11-06 12:20': 620.8500366210938,
                      '2022-11-06 12:25': 621.7000122070312,
                      '2022-11-06 12:30': 621.7333374023438,
                      '2022-11-06 12:35': 622.25,
                      '2022-11-06 12:40': 622.5499267578125,
                      '2022-11-06 12:45': 627.6500244140625,
                      '2022-11-06 12:50': 627.4000244140625,
                      '2022-11-06 12:55': 629.7333374023438,
                      '2022-11-06 13:00': 628.5999755859375,
                      '2022-11-06 13:05': 365.3999938964844,
                      '2022-11-06 13:10': 144.3000030517578,
                      '2022-11-06 13:15': 142.39999389648438,
                      '2022-11-06 13:20': 170.60000610351562,
                      '2022-11-06 13:25': 149.5,
                      '2022-11-06 13:30': 154,
                      '2022-11-06 13:35': 121.76666259765625,
                      '2022-11-06 13:40': 159,
                      '2022-11-06 13:45': 153.60000610351562,
                      '2022-11-06 13:50': 144.43333435058594,
                      '2022-11-06 13:55': 142.59999084472656,
                      '2022-11-06 14:00': 145.03334045410156,
                      '2022-11-06 14:05': 154.5,
                      '2022-11-06 14:10': 133.45001220703125,
                      '2022-11-06 14:15': 91.70000457763672,
                      '2022-11-06 14:20': 81.85000610351562,
                      '2022-11-06 14:25': 71.19999694824219,
                      '2022-11-06 14:30': 58.39999771118164,
                      '2022-11-06 14:55': 56.633331298828125,
                      '2022-11-06 15:00': 57.39999771118164,
                      '2022-11-06 15:05': 57.133331298828125,
                      '2022-11-06 15:10': 57.133331298828125,
                      '2022-11-06 15:15': 57.83333206176758,
                      '2022-11-06 15:20': 56.13333511352539,
                      '2022-11-06 15:25': 53.16666793823242,
                      '2022-11-06 15:30': 50.30000305175781,
                      '2022-11-06 15:35': 39.70000076293945,
                      '2022-11-06 15:40': 33.5,
                      '2022-11-06 15:45': 31.96666717529297,
                      '2022-11-06 15:50': 35.900001525878906,
                      '2022-11-06 15:55': 34.29999923706055,
                      '2022-11-06 16:00': 35.25,
                      '2022-11-06 16:05': 30.5,
                      '2022-11-06 16:10': 22.900001525878906,
                      '2022-11-06 16:15': 17.25,
                      '2022-11-06 16:20': 13.600001335144043,
                      '2022-11-06 16:25': 12.533332824707031,
                      '2022-11-06 16:30': 11.833333015441895,
                      '2022-11-06 16:35': 10.766666412353516,
                      '2022-11-06 16:40': 9.566666603088379,
                      '2022-11-06 16:45': 8.733333587646484,
                      '2022-11-06 16:50': 8.300000190734863,
                      '2022-11-06 16:55': 8.233333587646484,
                      '2022-11-06 17:00': 8.066666603088379,
                      '2022-11-06 17:05': 8.050000190734863,
                      '2022-11-06 17:10': 7.550000190734863},

Further more the format/values of the numbers is different. For example:
'2022-11-06 11:15': 386, #comma but no decimals; but in the growatt ap there is a decimal of .25
'2022-11-06 11:30': 623.2000122070312, #here you have the proper decimals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions