Skip to content

fence_shelly: new fence agent for Shelly Gen2+ Switches #628

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kaelancotter
Copy link

Adds new Fence Agent for Shelly Gen 2+ Switch devices.

I wasn't 100% on --plug flag intent, so I pulled in --sw-id (from shelly api) as a new param, but if they serve the same intent, should probably be unified.

Copy link

knet-jenkins bot commented May 11, 2025

Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/fence-agents/job/fence-agents-pipeline/job/PR-628/1/input

"sw_id",
]

all_opt["sw_id"] = {
Copy link
Collaborator

@oalbrigt oalbrigt May 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use plug like we do for the other agents.

You can override "help" and "shortdesc" just like you've done for a couple of default values below.

Remember to run make xml-upload after and add the updated metadata to the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants