Skip to content
New issue

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

Make fingerbot (_TZ3210_j4pdtz9v) work #1065

Open
wants to merge 3 commits into
base: SDK3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .homeycompose/capabilities/finger_bot_mode.json

This file was deleted.

157 changes: 11 additions & 146 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -1236,46 +1236,6 @@
}
]
},
{
"id": "set_finger_bot_mode",
"title": {
"en": "Set Finger Bot mode"
},
"titleFormatted": {
"en": "Set Finger Bot mode to [[finger_bot_mode]]"
},
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=fingerbot"
},
{
"name": "finger_bot_mode",
"type": "dropdown",
"values": [
{
"id": "click",
"label": {
"en": "Click"
}
},
{
"id": "switch",
"label": {
"en": "Switch"
}
},
{
"id": "program",
"label": {
"en": "Program"
}
}
]
}
]
},
{
"id": "siren_alarm_state",
"title": {
Expand Down Expand Up @@ -3617,7 +3577,7 @@
{
"id": "fingerbot",
"name": {
"en": "Finger Bot"
"en": "Fingerbot"
},
"class": "socket",
"platforms": [
Expand All @@ -3627,19 +3587,17 @@
"zigbee"
],
"capabilities": [
"onoff",
"measure_battery",
"finger_bot_mode"
"onoff"
],
"capabilitiesOptions": {
"measure_power": {
"approximated": true
}
},
"images": {
"large": "/drivers/fingerbot/assets/images/large.png",
"small": "/drivers/fingerbot/assets/images/small.png"
},
"energy": {
"batteries": [
"CR2"
]
},
"zigbee": {
"manufacturerName": [
"_TZ3210_j4pdtz9v"
Expand All @@ -3655,82 +3613,18 @@
61184
],
"bindings": [
25,
10
10,
25
]
}
},
"learnmode": {
"image": "/drivers/fingerbot/assets/icon.svg",
"instruction": {
"en": "Press the button on the Finger Bot to enter pairing mode."
"en": "Press and hold down the reset button for aprox 5 seconds until the LED blinks rapidly."
}
}
},
"settings": [
{
"id": "reverse",
"type": "checkbox",
"label": {
"en": "Reverse mode"
},
"hint": {
"en": "Enable reverse operation mode."
}
},
{
"id": "lower_limit",
"type": "number",
"label": {
"en": "Lower movement limit (%)"
},
"hint": {
"en": "Set the lower limit of the Finger Bot's movement (in percentage)."
},
"value": 50,
"min": 0,
"max": 100,
"step": 1
},
{
"id": "upper_limit",
"type": "number",
"label": {
"en": "Upper movement limit (%)"
},
"hint": {
"en": "Set the upper limit of the Finger Bot's movement (in percentage)."
},
"value": 100,
"min": 0,
"max": 100,
"step": 1
},
{
"id": "delay",
"type": "number",
"label": {
"en": "Delay (seconds)"
},
"hint": {
"en": "Set the sustain time for the Finger Bot (in seconds)."
},
"value": 1,
"min": 0,
"max": 10,
"step": 1
},
{
"id": "touch",
"type": "checkbox",
"label": {
"en": "Touch control"
},
"hint": {
"en": "Enable touch control for the Finger Bot."
}
}
]
"settings": []
},
{
"id": "flood_sensor",
Expand Down Expand Up @@ -13663,35 +13557,6 @@
"getable": true,
"setable": true
},
"finger_bot_mode": {
"type": "enum",
"title": {
"en": "Finger Bot Mode"
},
"getable": true,
"setable": true,
"values": [
{
"id": "click",
"title": {
"en": "Click"
}
},
{
"id": "switch",
"title": {
"en": "Switch"
}
},
{
"id": "program",
"title": {
"en": "Program"
}
}
],
"uiComponent": "picker"
},
"lidl_xmas_mode": {
"title": {
"en": "Mode"
Expand Down
Loading