Git Product home page Git Product logo

Comments (11)

sanjoyg avatar sanjoyg commented on June 29, 2024 1

Alright water sensor support added, do try out with the new release and let me know

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024 1

Thank you, I see the state did change but mostly for 10 seconds or lower. If you search the log for "setting water_leak_detected to" you would see it does set it in HASS

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024 1

Fixed, check with new release

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024

I updated the README to put a link to detailed instructions that links to a new WIKI page, do use it to dump the json

https://github.com/sanjoyg/dirigera_platform/wiki/Calling-dump_data-to-dump-the-JSON

from dirigera_platform.

mgums avatar mgums commented on June 29, 2024

Here you go sanjoyg, please let me know if this is sufficient.

2024-04-17 15:48:09.318 INFO (SyncWorker_22) [custom_components.dirigera_platform] === START Devices JSON ===
2024-04-17 15:48:09.318 INFO (SyncWorker_22) [custom_components.dirigera_platform] --------------
2024-04-17 15:48:09.700 INFO (SyncWorker_22) [custom_components.dirigera_platform] [{'id': 'bbc4b3e7-27a6-49aa-8c6e-a726456b790f_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-04-14T18:40:11.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T10:17:36.000Z', 'attributes': {'customName': 'Afstandsbediening 1', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'RODRET Dimmer', 'productCode': 'E2201', 'serialNumber': '5CC7C1FFFE846FAC', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '63975b85-1d76-434d-91f5-9ca97e30b98a', 'name': 'Woonkamer', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_sofa'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'e2c5b561-6f0f-4ebc-ab7f-7aee26486478_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-04-13T16:48:49.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T12:15:06.000Z', 'attributes': {'customName': 'Lampen voor', 'model': 'TRETAKT Smart plug', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'serialNumber': '28DBA7FFFE5FE024', 'productCode': 'E2204', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': '63975b85-1d76-434d-91f5-9ca97e30b98a', 'name': 'Woonkamer', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_sofa'}, 'deviceSet': [], 'remoteLinks': ['bbc4b3e7-27a6-49aa-8c6e-a726456b790f_1'], 'isHidden': False}, {'id': '62d9c713-ae99-4013-9d9c-5c826b0a880f_1', 'relationId': '62d9c713-ae99-4013-9d9c-5c826b0a880f', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2024-03-08T06:39:03.435Z', 'isReachable': True, 'lastSeen': '2024-04-17T13:48:00.135Z', 'attributes': {'customName': 'Barbapapa', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.556.0', 'hardwareVersion': 'P2.5', 'serialNumber': '62d9c713-ae99-4013-9d9c-5c826b0a880f', 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': True, 'backendConnectionPersistent': True, 'backendOnboardingComplete': True, 'backendRegion': 'eu-central-1', 'backendCountryCode': 'NL', 'userConsents': [{'name': 'analytics', 'value': 'disabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Europe/Amsterdam', 'nextSunSet': '2024-04-17T18:41:00.000Z', 'nextSunRise': '2024-04-18T04:36:00.000Z', 'homestate': 'home', 'countryCode': 'XZ', 'coordinates': {'latitude': 52.2281041, 'longitude': 5.1960981, 'accuracy': -1}, 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': '9f507265-6200-4946-8627-5e785466d065_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-04-14T18:36:40.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T10:31:20.000Z', 'attributes': {'customName': 'Afstandsbediening 2', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'RODRET Dimmer', 'productCode': 'E2201', 'serialNumber': '5CC7C1FFFE40839F', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 'dd62e84a-0103-4960-b682-cd75302c71de', 'name': 'Keuken', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'b64c86e3-572b-4ae8-8a8f-31c046bb09ab_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-04-13T16:55:40.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T10:31:35.000Z', 'attributes': {'customName': 'Lamp achter', 'model': 'TRETAKT Smart plug', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'serialNumber': '38398FFFFE0F3A4D', 'productCode': 'E2204', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyStarted': '2024-04-15T18:53:55.000Z', 'identifyPeriod': 10, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': 'dd62e84a-0103-4960-b682-cd75302c71de', 'name': 'Keuken', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': ['9f507265-6200-4946-8627-5e785466d065_1'], 'isHidden': False}, {'id': '121124b5-0d0f-4867-a1de-e7c6419cdf9c_1', 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-04-14T01:43:44.249Z', 'isReachable': False, 'lastSeen': '2024-04-16T20:22:03.751Z', 'attributes': {'customName': 'Badkamer', 'model': 'Sonos Move 2 S44 ColorBlack', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '78.1-52020', 'hardwareVersion': '1.40.1.7-2.2', 'serialNumber': 'C4-38-75-01-CC-BA:F', 'productCode': 'S44Black', 'identifyStarted': '2024-04-14T01:43:44.249Z', 'identifyPeriod': 0, 'playback': 'playbackIdle', 'playbackLastChangedTimestamp': '2024-04-15T14:18:50.114Z', 'playbackAudio': {}, 'playbackPosition': {'position': 0, 'timestamp': '2024-04-15T14:18:50.114Z'}, 'playbackAvailableActions': {'crossfade': True, 'pause': False, 'repeat': ['off', 'playItem', 'playlist'], 'seek': False, 'shuffle': True, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 50, 'isMuted': False, 'audioGroup': '686ab1ee-2b22-41c1-b09f-7d4f705f521d'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': True}, {'id': '35342df4-c2f1-4f38-a34e-4b8704e9ebd3_1', 'type': 'sensor', 'deviceType': 'motionSensor', 'createdAt': '2024-04-15T11:37:10.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T15:45:10.000Z', 'attributes': {'customName': 'Beweging', 'firmwareVersion': '24.4.5', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRADFRI motion sensor', 'productCode': 'E1745', 'serialNumber': '3410F4FFFEA6DB4C', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'isDetected': True, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate', 'sensorConfig': {'scheduleOn': False, 'onDuration': 120, 'schedule': {'onCondition': {'time': '22:00'}, 'offCondition': {'time': '06:00'}}}, 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': '63975b85-1d76-434d-91f5-9ca97e30b98a', 'name': 'Woonkamer', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_sofa'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '0d8899b4-8bf1-49c5-b5b8-795b9dd1ef95_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-04-15T19:13:49.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T12:18:28.000Z', 'attributes': {'customName': 'Printer', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRETAKT Smart plug', 'productCode': 'E2204', 'serialNumber': '3C2EF5FFFEE6745C', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': 'eb9fbd85-7f65-4d82-bbc5-9f1a8cffa3dc', 'name': 'Werkkamer', 'color': 'ikea_beige_1', 'icon': 'rooms_printer'}, 'deviceSet': [], 'remoteLinks': ['ae0256a7-e524-4580-9ff1-dfbdd5a5cd7b_1'], 'isHidden': False}, {'id': '90728929-b26a-461d-ae42-6bdbac0f2c80_1', 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-04-16T14:49:13.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T12:53:04.000Z', 'attributes': {'customName': 'Appelboompje', 'firmwareVersion': '2.4.4', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'TRETAKT Smart plug', 'productCode': 'E2204', 'serialNumber': '3C2EF5FFFEE67198', 'isOn': False, 'startupOnOff': 'startPrevious', 'lightLevel': 100, 'startUpCurrentLevel': -1, 'childLock': False, 'statusLight': True, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'isOn', 'lightLevel', 'childLock', 'statusLight']}, 'room': {'id': '9f9c4a04-cb37-4e8a-9672-0e050c4c947d', 'name': 'Tuin', 'color': 'ikea_green_no_65', 'icon': 'rooms_coat_rack'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'ae0256a7-e524-4580-9ff1-dfbdd5a5cd7b_1', 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-04-17T13:35:15.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T11:35:39.000Z', 'attributes': {'customName': 'Afstandsbediening 3', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'RODRET Dimmer', 'productCode': 'E2201', 'serialNumber': '8C6FB9FFFEAC3898', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 'eb9fbd85-7f65-4d82-bbc5-9f1a8cffa3dc', 'name': 'Werkkamer', 'color': 'ikea_beige_1', 'icon': 'rooms_printer'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '2b107b0b-73f0-4809-a900-4783273d7104_1', 'type': 'sensor', 'deviceType': 'waterSensor', 'createdAt': '2024-04-17T12:19:50.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T12:34:42.000Z', 'attributes': {'customName': 'Watermelder', 'firmwareVersion': '1.0.7', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'BADRING Water Leakage Sensor', 'productCode': 'E2202', 'serialNumber': '3410F4FFFE8F815D', 'batteryPercentage': 100, 'waterLeakDetected': False, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'f1743e4c-3a87-4f6b-90a4-3e915b8ed753', 'name': 'Zolder', 'color': 'ikea_pink_no_8', 'icon': 'rooms_washing_machine'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 'f35d1d38-1472-4d06-8f13-7aa84b9cb3d3_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-17T12:29:56.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T14:20:54.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Deurcontact2', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFE526FAE', 'batteryPercentage': 100, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'dd62e84a-0103-4960-b682-cd75302c71de', 'name': 'Keuken', 'color': 'ikea_blue_no_58', 'icon': 'rooms_kitchen'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': '52db713e-0b61-473f-92f5-9dc4122d47f9_1', 'type': 'sensor', 'deviceType': 'openCloseSensor', 'createdAt': '2024-04-17T14:22:42.000Z', 'isReachable': True, 'lastSeen': '2024-04-17T15:21:33.000Z', 'customIcon': 'placement_door', 'attributes': {'customName': 'Deurcontact1', 'firmwareVersion': '1.0.19', 'hardwareVersion': '1', 'manufacturer': 'IKEA of Sweden', 'model': 'PARASOLL Door/Window Sensor', 'productCode': 'E2013', 'serialNumber': '048727FFFE4AB5D3', 'batteryPercentage': 0, 'identifyPeriod': 0, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'isOpen': False, 'permittingJoin': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 'cacb8a41-6827-439b-81d7-c4e9325ab6cb', 'name': 'Ingang', 'color': 'ikea_yellow_no_31', 'icon': 'rooms_door'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-04-17 15:48:09.701 INFO (SyncWorker_22) [custom_components.dirigera_platform] --------------
2024-04-17 15:48:09.702 INFO (SyncWorker_22) [custom_components.dirigera_platform] === END Devices JSON ===

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024

Thank you, so the instructions worked :-)

I have submitted a pull request to the base library once merged will incorporate it.

from dirigera_platform.

mgums avatar mgums commented on June 29, 2024

Hi Sanjoy, the watersensor is now a device in HA and it has two entities: watersensor plus its battery.
That's the good news. I triggered the watersensor multiple times and only got one entry/alarm in the HA log, whereas the IKEA app reported a water alarm multiple times.
I did the debugging, however during the debugging I was not able to get even one entry in the log.
Enclosed find the debug log, maybe it is of help here. If not please let me know.
Anyway, thx for the prompt support. We are making good progress!
home-assistant_dirigera_platform_2024-04-19T16-50-56.013Z.log

from dirigera_platform.

mgums avatar mgums commented on June 29, 2024

The first time I checked after your new release 1.5.6 the alarm raised immediately. That's the good news. The alarm did not clear straight away. So I thought there was some build-in wait time to clear, say 5 minutes. Biut after waiting very, very long nothing cleared.
Than I raised a new alarm: the very long alarm cleared. After that, every time when there is water, there is an alarm.
since writing I kept trying but so far the weird behaviour from the first lines in this comment did not appear again.
But I am a bit suspicious so I keep trying in the next couple of days.
Thx Sanjoy, good work.

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024

from dirigera_platform.

mgums avatar mgums commented on June 29, 2024

I did not experience weird behaviour Sanjoy. Must say that I don't have waterissues at home so there is not much to detect.
Thx for now.

from dirigera_platform.

sanjoyg avatar sanjoyg commented on June 29, 2024

thank you for the update, closing this for now.

from dirigera_platform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.