Skip to content

Sensor Data?  #51

Description

@smatsmats

not a bug report but a feature question.
I have the extra smarttub sensors (Cover Sensor, Water Detection, and Fill & Drain). I can see the information from these when I do a get_status_full(). I haven't probed to see if there is something like a /sensors call to the jacuzzi API. I could be content in using SpaStateFull to harvest what I need but if there was a separate call upstream for the sensor data that seems better.

thanks,
steve

 'sensors': [   {   'address': 'C4:D3:6A:A6:1E:XX',
                       'age': 1,
                       'button': None,
                       'configState': '{"drainBit":0,"mode":null,"sensorSetTime":null}',
                       'createdAt': '2024-08-21T18:19:40.134650Z',
                       'digital': False,
                       'fill_drain': None,
                       'id': 15723398,
                       'magnet': None,
                       'missedCount': 0,
                       'motion': None,
                       'name': '{leak-sensor}',
                       'pressure': None,
                       'rssi': -62,
                       'snoozeUntil': '2024-08-21T18:19:40.134626Z',
                       'spaId': '100986607',
                       'subType': 'digital',
                       'triggeredCount': 1,
                       'type': 'ibs0x',
                       'updatedAt': None,
                       'voltage': 3},
                   {   'address': 'C7:E5:2D:50:F6:XX',
                       'age': 3,
                       'button': False,
                       'configState': '{"drainBit":0,"mode":null,"sensorSetTime":null}',
                       'createdAt': '2024-08-21T18:32:08.165431Z',
                       'digital': None,
                       'fill_drain': None,
                       'id': 15723510,
                       'magnet': False,
                       'missedCount': 0,
                       'motion': None,
                       'name': '{cover-sensor-1}',
                       'pressure': None,
                       'rssi': -72,
                       'snoozeUntil': '2024-08-21T18:32:08.165398Z',
                       'spaId': '100986607',
                       'subType': 'magnet',
                       'triggeredCount': 149,
                       'type': 'ibs0x',
                       'updatedAt': None,
                       'voltage': 3.01},
                   {   'address': 'C4:8E:8F:27:20:XX',
                       'age': 0,
                       'button': None,
                       'configState': '{"drainBit":0,"mode":null,"sensorSetTime":null}',
                       'createdAt': '2024-06-22T04:35:22.989665Z',
                       'digital': None,
                       'fill_drain': None,
                       'id': 14433769,
                       'magnet': None,
                       'missedCount': None,
                       'motion': None,
                       'name': '{malide-1}',
                       'pressure': 87.7,
                       'rssi': -100,
                       'snoozeUntil': '2024-06-22T04:35:22.989639Z',
                       'spaId': '100986607',
                       'subType': 'malide',
                       'triggeredCount': None,
                       'type': 'malide',
                       'updatedAt': None,
                       'voltage': None},
                   {   'address': 'C4:D3:6A:A6:15:XX',
                       'age': 44,
                       'button': None,
                       'configState': '{"drainBit":1,"mode":"NORMAL","sensorSetTime":"2024-08-21T18:29:30.685693Z"}',
                       'createdAt': '2024-08-21T18:25:06.595956Z',
                       'digital': None,
                       'fill_drain': 3,
                       'id': 15723435,
                       'magnet': None,
                       'missedCount': 0,
                       'motion': None,
                       'name': '{fill-drain-sensor}',
                       'pressure': None,
                       'rssi': -54,
                       'snoozeUntil': '2024-08-21T18:25:06.595927Z',
                       'spaId': '100986607',
                       'subType': 'fill_drain',
                       'triggeredCount': 150,
                       'type': 'ibs0x',
                       'updatedAt': None,
                       'voltage': 3.01}],

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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