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

Add to svxreflector COMMAND_PTY to enable or disable stream from connected node #623

Open
sp2ong opened this issue Apr 20, 2023 · 1 comment

Comments

@sp2ong
Copy link

sp2ong commented Apr 20, 2023

Tobias SM0SVX would be a very useful thing to add to the svxreflector COMMAND_PTY in [GLOBAL] where submitting the command

ENABLE node_name
DISABLE node_name

via COMMAND_PTY we can temporarily lock a node or remove the lock

example

echo "DISABLE SP2ABC > /path/to/pty"

to add to the list of timed input and output stream blocking. Adding such a node to the DISBALE list would be independent
of whether the node is logged in or not. Such node can log in with its account to svxreflector, but the stream to and from it is blocked.
This would allow, in a situation when we have a large number of nodes connected to converters and personal hotspots,
when a node causes problems with interference etc, to block it temporarily.

It would also be useful to have JSON status information from svxreflector about the status of the node
"status": "enabled"
"status": "disabled"

This would allow you to visualize the status as an icon or color of the node.

Currently, in a situation when there is a temporary problem with the node and we don't have a quick contact with the node maintainer,
we are left with the option of temporarily changing the password in svxreflectro.conf and restarting svxreflector,
which is not an optimal solution if we have a lot of activity on svxreflector.

Also adding the proposal of Adi DL1HRC and Jens DJ1JAY would be useful:

#572

You could use this control via COMMAND_PTY and CTRL_PTY to control via MQTT and Node-red dashboard scripts.

73 Waldek

@sp2ong
Copy link
Author

sp2ong commented Apr 21, 2023

Maybe it is better to use

ENABLE node_name
DISABLE node_name
MUTE node_name

where DISABLE block input/output stream from node (or disable login)
MUTE only mute the incoming stream from node but the outgoing stream from svxreflector will pass to node

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

No branches or pull requests

1 participant