Skip to content

Commit

Permalink
Update actions.js
Browse files Browse the repository at this point in the history
corrected ptz-Home command
  • Loading branch information
fbosman authored Oct 11, 2024
1 parent 1f619d7 commit 4cd294e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,16 @@ export function getActionDefinitions(self) {



actions.home = {
actions.home = {
name: "Pan/Tilt - Home",
options: [],
ccallback: async (action) => {
options: [speeddefinition],
callback: async (action) => {
//console.log(util.inspect(action.options, {showHidden: false, depth: null, colors: true}))

cmd = "continuouspantiltmove";
param = "0,0";


cmd = "move";
param = "home";


await sendPTZ(self, cmd, param);
},
};
Expand Down

0 comments on commit 4cd294e

Please sign in to comment.