Skip to content

homebridge-applescript - script triggers only working externally - why? #11

@manuspam

Description

@manuspam

Hi all

i cannot get this plugin to work.
I install it in Homebridge, set my triggername and commands correctly and restart the server.
The applescripts just do not fire.

Please find my json file below.
https://jsonlint.com/ says my json is ok.

Is this plugin still operational in Big Sur 11.7?
Is the problem the accessability rights in Mac Settings?
Or is it because I use the "Homebridge Tuya Platform" plugin and use a Tuya item as the trigger?

Any ideas appreciated.
Manu


{
"bridge": {
"name": "Homebridge 9599",
"username": "123",
"port": 51953,
"pin": "456",
"advertiser": "bonjour-hap"
},
"platforms": [{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"options": {
"username": "123",
"password": "456",
"accessId": "234",
"accessKey": "789",
"lang": "en",
"projectType": "2",
"appSchema": "tuyaSmart",
"countryCode": 41,
"debug": false
},
"name": "TuyaPlatform",
"platform": "TuyaPlatform"
}
],
"accessories": [{
"accessory": "Applescript",
"name": "TESTTRIGGER",
"on": "tell application ''TextEdit'' to activate",
"off": "tell application ''TextEdit'' to quit"
}],
"disabledPlugins": []
}

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