dm82m / hass-Deltasol-KM2

Custom component for retrieving sensor information from Resol KM1/KM2, DL2/DL3, VBus/LAN, VBus/USB
MIT License
25 stars 6 forks source link

Cannot find sensors #34

Closed MikeatLorne closed 1 year ago

MikeatLorne commented 1 year ago

I've got a KM1 device feeding data to the VBus-Resol addon successfully (finally) and that server is now supplying data to the hass-deltasol-KM2 integration. However, I cannot see any sensors or integration. What have I missed? Here are the relevant HASS logs

2023-08-28 10:24:11.477 INFO (SyncWorker_4) [custom_components.deltasol] Auto detecting Resol product from http://127.0.0.1:3333/cgi-bin/get_resol_device_information 2023-08-28 10:24:11.480 DEBUG (SyncWorker_4) [custom_components.deltasol] response: vendor = "RESOL" product = "DL2" serial = "001E66000000" version = "2.1.0" build = "201311280853" name = "DL2-001E66000000" features = "vbus,dl2" 2023-08-28 10:24:11.481 INFO (SyncWorker_4) [custom_components.deltasol] Detected Resol product: dl2 2023-08-28 10:24:11.481 DEBUG (SyncWorker_4) [custom_components.deltasol] Retrieving data from dlx 2023-08-28 10:24:11.481 DEBUG (SyncWorker_4) [custom_components.deltasol] DLX requesting sensor data url http://127.0.0.1:3333/dlx/download/live 2023-08-28 10:24:11.484 DEBUG (SyncWorker_4) [custom_components.deltasol] DLX response: {'headersets': [{'timestamp': 1693182251.038, 'packets': [{'header_index': 0, 'timestamp': 1693182251.038, 'field_values': [{'field_index': 0, 'raw_value': 21.2, 'value': '21.2'}, {'field_index': 1, 'raw_value': 19.9, 'value': '19.9'}, {'field_index': 2, 'raw_value': 39.3, 'value': '39.3'}, {'field_index': 3, 'raw_value': 19.6, 'value': '19.6'}, {'field_index': 4, 'raw_value': 100, 'value': '100'}, {'field_index': 5, 'raw_value': 0, 'value': '0'}, {'field_index': 6, 'raw_value': 9952, 'value': '9952'}, {'field_index': 7, 'raw_value': 1543, 'value': '1543'}, {'field_index': 8, 'raw_value': 11, 'value': '11'}, {'field_index': 9, 'raw_value': 2, 'value': '2'}, {'field_index': 10, 'raw_value': 0, 'value': '0'}, {'field_index': 11, 'raw_value': 640, 'value': '10:40'}, {'field_index': 12, 'raw_value': 0, 'value': '0'}, {'field_index': 13, 'raw_value': 0, 'value': '0'}, {'field_index': 14, 'raw_value': 0, 'value': '0'}, {'field_index': 15, 'raw_value': 0, 'value': '0'}, {'field_index': 16, 'raw_value': 0, 'value': '0'}, {'field_index': 17, 'raw_value': 12432114, 'value': '12432114'}, {'field_index': 18, 'raw_value': 1.02, 'value': '1.02'}, {'field_index': 19, 'raw_value': 4, 'value': '4'}]}, {'header_index': 1, 'timestamp': 1693182248.699, 'field_values': []}]}], 'headerset_stats': {'headerset_count': 1, 'min_timestamp': 1693182251.038, 'max_timestamp': 1693182251.038}, 'headers': [{'id': '00_0010_427B_0100', 'description': 'VBus 0: DeltaSol BS 2009', 'channel': 0, 'destination_address': 16, 'source_address': 17019, 'protocol_version': 16, 'command': 256, 'info': 0, 'destination_name': 'DFA', 'source_name': 'DeltaSol BS 2009', 'fields': [{'id': '000_2_0', 'name': 'Temperature sensor 1', 'unit': ' °C', 'unit_code': 'DegreesCelsius'}, {'id': '002_2_0', 'name': 'Temperature sensor 2', 'unit': ' °C', 'unit_code': 'DegreesCelsius'}, {'id': '004_2_0', 'name': 'Temperature sensor 3', 'unit': ' °C', 'unit_code': 'DegreesCelsius'}, {'id': '006_2_0', 'name': 'Temperature sensor 4', 'unit': ' °C', 'unit_code': 'DegreesCelsius'}, {'id': '008_1_0', 'name': 'Pump speed relay 1', 'unit': '%', 'unit_code': 'Percent'}, {'id': '012_1_0', 'name': 'Pump speed relay 2', 'unit': '%', 'unit_code': 'Percent'}, {'id': '010_2_0', 'name': 'Operating hours relay 1', 'unit': ' h', 'unit_code': 'Hours'}, {'id': '014_2_0', 'name': 'Operating hours relay 2', 'unit': ' h', 'unit_code': 'Hours'}, {'id': '016_1_0', 'name': 'UnitType', 'unit': '', 'unit_code': 'None'}, {'id': '017_1_0', 'name': 'System', 'unit': '', 'unit_code': 'None'}, {'id': '020_2_0', 'name': 'ErrorMask', 'unit': '', 'unit_code': 'None'}, {'id': '022_2_0', 'name': 'System time', 'unit': '', 'unit_code': 'None'}, {'id': '020_1_1', 'name': 'Sensor 1 defective', 'unit': '', 'unit_code': 'None'}, {'id': '020_1_2', 'name': 'Sensor 2 defective', 'unit': '', 'unit_code': 'None'}, {'id': '020_1_4', 'name': 'Sensor 3 defective', 'unit': '', 'unit_code': 'None'}, {'id': '020_1_8', 'name': 'Sensor 4 defective', 'unit': '', 'unit_code': 'None'}, {'id': '024_4_0', 'name': 'Status mask', 'unit': '', 'unit_code': 'None'}, {'id': '028_4_0', 'name': 'Heat quantity', 'unit': ' Wh', 'unit_code': 'WattHours'}, {'id': '032_2_0', 'name': 'SW Version', 'unit': '', 'unit_code': 'None'}, {'id': '034_2_0', 'name': 'Variant', 'unit': '', 'unit_code': 'None'}]}, {'id': '00_0015_427B_0100', 'description': 'VBus 0: DeltaSol BS 2009 => Standard-Infos', 'channel': 0, 'destination_address': 21, 'source_address': 17019, 'protocol_version': 16, 'command': 256, 'info': 0, 'destination_name': 'Standard-Infos', 'source_name': 'DeltaSol BS 2009', 'fields': []}], 'language': 'en'} 2023-08-28 10:24:11.484 DEBUG (SyncWorker_4) [custom_components.deltasol] Found header[0] now parsing it ... 2023-08-28 10:24:11.484 DEBUG (SyncWorker_4) [custom_components.deltasol] Found header[1] now parsing it ... 2023-08-28 10:24:11.550 DEBUG (MainThread) [custom_components.deltasol] Finished fetching deltasol_sensor data in 0.073 seconds (success: True) 2023-08-28 10:24:11.550 DEBUG (MainThread) [custom_components.deltasol] Checking for sensors with old ids in registry.

dm82m commented 1 year ago

I am pretty sure that the sensors are there, check if you have ‚sensor.temperature_sensor_1‘ within the developer tools under states.

MikeatLorne commented 1 year ago

thank you - yes it is there. I was searching for "deltasol" or "resol"

thanks again for your help - this one is closed.

PS - where in the world are you located? (I am in Melbourne)

On Mon, 28 Aug 2023 at 16:45, Dirk @.***> wrote:

I am pretty sure that the sensors are there, check if you have ‚sensor.temperature_sensor_1‘ within the developer tools under states.

— Reply to this email directly, view it on GitHub https://github.com/dm82m/hass-Deltasol-KM2/issues/34#issuecomment-1695123313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQEIO6S7T22MKAYNWISDDUDXXQ5BRANCNFSM6AAAAAA4AVCW2Q . You are receiving this because you authored the thread.Message ID: @.***>

-- Michael Brooks

dm82m commented 1 year ago

Half around the globe: Germany 🥳

MikeatLorne commented 1 year ago

nice to meet you....

On Mon, 28 Aug 2023 at 17:23, Dirk @.***> wrote:

Half around the globe: Germany 🥳

— Reply to this email directly, view it on GitHub https://github.com/dm82m/hass-Deltasol-KM2/issues/34#issuecomment-1695167896, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQEIO6VJQO5KPO4X6HO3R63XXRBN5ANCNFSM6AAAAAA4AVCW2Q . You are receiving this because you authored the thread.Message ID: @.***>

-- Michael Brooks