Announcement

Collapse
No announcement yet.

Script Actions In Events Fail To Run After Update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Script Actions In Events Fail To Run After Update

    I have all of my scripts sorted in subdirectories in the scripts directory. In all versions starting from 4.1.12, the events.json drops the full path to the script and only contains the file name. This causes the event to fail to run the script.

    4.1.11 events.json excerpt:
    "Actions": {
    "mvarActions": {
    "K0": {
    "$type": "Scheduler.Classes.EvACT_SCRIPT, Scheduler",
    "mvarScript": "C:/Program Files (x86)/HomeSeer/scripts/jim_scripts/computer/ping/ping.vb",
    "mvarMethod": "",
    "mvarParams": "",
    "script_wait": false,
    "script_single_instance": false,
    "Misc": 64,
    "evRef": 1044,
    "Script": "C:/Program Files (x86)/HomeSeer/scripts/jim_scripts/computer/ping/ping.vb"
    }
    }
    },
    Click image for larger version

Name:	image.png
Views:	28
Size:	50.7 KB
ID:	1589583

    4.1.12 events.json excerpt:
    "Actions": {
    "mvarActions": {
    "K0": {
    "$type": "Scheduler.Classes.EvACT_SCRIPT, Scheduler",
    "mvarScript": "ping.vb",
    "mvarMethod": "",
    "mvarParams": "",
    "script_wait": false,
    "script_single_instance": false,
    "Misc": 64,
    "evRef": 1044,
    "Script": "ping.vb"
    }
    }
    },​
    Click image for larger version

Name:	image.png
Views:	50
Size:	40.9 KB
ID:	1589582
    Has anyone else seen this behavior? It would be nice to be able to upgrade to the latest version.

    I opened a case with support back in May 2021, but I have never received any resolution or guidance.
Working...
X