We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So Smartthings buttons have the same issue as Hue Dimmers
its just an event
3 states available : pushed , double , held
Pushed example: { "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "pushed", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "pushed", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Double example: { "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "double", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "double", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Held example: { "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "held", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "held", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Im pretty sure its possible to get running without this Feature Request, but don't know what to put in the "custom state mapping" feild.
I am already making use of the events in automations.... but its less than ideal having to find device_id each time.
`` alias: Master Bedroom Button Pushed description: '' trigger:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So Smartthings buttons have the same issue as Hue Dimmers
its just an event
3 states available : pushed , double , held
Pushed example:
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "pushed", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Double example:
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "double", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Held example:
{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "held", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }
Im pretty sure its possible to get running without this Feature Request, but don't know what to put in the "custom state mapping" feild.
I am already making use of the events in automations.... but its less than ideal having to find device_id each time.
``
alias: Master Bedroom Button Pushed
description: ''
trigger:
event_type: smartthings.button
event_data:
device_id: 7b9d8adc-6f46-4d49-8022-0ce848a1881b
value: pushed
condition: []
action:
mode: single
``
The text was updated successfully, but these errors were encountered: