custom-components / zaptec

zaptec charger custom component for home assistant
MIT License
67 stars 20 forks source link

Couldn't find a remap string .... #25

Closed Symbiot78 closed 2 years ago

Symbiot78 commented 2 years ago

am seeing a lot of this - integration appear..... to work (?):

2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 145 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 145, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '3600'} 2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 147 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 147, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '60'} 2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 204 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 204, 'Timestamp': '2022-08-27T12:35:10.853', 'ValueAsString': '29.378'} 2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 205 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 205, 'Timestamp': '2022-08-27T12:35:10.853', 'ValueAsString': '29.926'} 2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 206 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 206, 'Timestamp': '2022-08-27T12:35:10.857', 'ValueAsString': '26.699'} 2022-08-27 15:32:02.839 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 207 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 207, 'Timestamp': '2022-08-27T12:35:10.857', 'ValueAsString': '27.451'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 544 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 544, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '2'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 545 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 545, 'Timestamp': '2021-11-05T09:31:10.407', 'ValueAsString': '5'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 546 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 546, 'Timestamp': '2021-11-05T09:31:10.403', 'ValueAsString': '20.000'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 547 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 547, 'Timestamp': '2021-11-05T09:31:10.533', 'ValueAsString': '20.000'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 548 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 548, 'Timestamp': '2021-11-05T09:31:10.457', 'ValueAsString': '6'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 732 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 732, 'Timestamp': '2022-07-23T09:11:23.18', 'ValueAsString': '0'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 749 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 749, 'Timestamp': '2021-11-05T13:08:49.423', 'ValueAsString': '1'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 802 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 802, 'Timestamp': '2021-11-05T13:08:49.43', 'ValueAsString': 'Martin Rask Thomsen'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 815 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 815, 'Timestamp': '2022-08-22T15:09:59.717', 'ValueAsString': '3'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 823 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 823, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '7'} 2022-08-27 15:32:02.840 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 916 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 916, 'Timestamp': '2022-04-26T06:47:15.953', 'ValueAsString': '0.0.4.0'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 145 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 145, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '3600'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 147 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 147, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '60'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 204 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 204, 'Timestamp': '2022-08-27T12:35:10.853', 'ValueAsString': '29.378'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 205 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 205, 'Timestamp': '2022-08-27T12:35:10.853', 'ValueAsString': '29.926'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 206 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 206, 'Timestamp': '2022-08-27T12:35:10.857', 'ValueAsString': '26.699'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 207 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 207, 'Timestamp': '2022-08-27T12:35:10.857', 'ValueAsString': '27.451'} 2022-08-27 15:32:02.976 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 544 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 544, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '2'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 545 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 545, 'Timestamp': '2021-11-05T09:31:10.407', 'ValueAsString': '5'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 546 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 546, 'Timestamp': '2021-11-05T09:31:10.403', 'ValueAsString': '20.000'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 547 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 547, 'Timestamp': '2021-11-05T09:31:10.533', 'ValueAsString': '20.000'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 548 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 548, 'Timestamp': '2021-11-05T09:31:10.457', 'ValueAsString': '6'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 732 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 732, 'Timestamp': '2022-07-23T09:11:23.18', 'ValueAsString': '0'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 749 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 749, 'Timestamp': '2021-11-05T13:08:49.423', 'ValueAsString': '1'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 802 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 802, 'Timestamp': '2021-11-05T13:08:49.43', 'ValueAsString': 'Martin Rask Thomsen'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 815 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 815, 'Timestamp': '2022-08-22T15:09:59.717', 'ValueAsString': '3'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 823 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 823, 'Timestamp': '2022-03-04T06:47:15.953', 'ValueAsString': '7'} 2022-08-27 15:32:02.977 INFO (MainThread) [custom_components.zaptec.api] Couldnt find a remap string for 916 report it {'ChargerId': '0d286141-4e8c-49dc-8124-fc59aed68992', 'StateId': 916, 'Timestamp': '2022-04-26T06:47:15.953', 'ValueAsString': '0.0.4.0'}

Hellowlol commented 2 years ago

The integration querys the api for contants. The key for the observations are added at value. This way we can use the stateid and stemor to figure out what settings/observation is the charger reporting.

what charger are you using?

Symbiot78 commented 2 years ago

hi and thanks for the answer :)

it's a Zaptec GO.

Symbiot78 commented 2 years ago

@Hellowlol - Sorry to reopen this.. but the zaptec component is seriously flooding the log files.

Is it possible to limit the logging? or turn it off or something... it's making reading logs really difficult. All my other integrations don't flood the logs even remotely close to this.

Hellowlol commented 2 years ago

https://www.home-assistant.io/integrations/logger/