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

it is possible to update/change log and short name from node red ? #23

Open
miol-kos opened this issue Sep 25, 2023 · 6 comments
Open

Comments

@miol-kos
Copy link

it is possible to update/change log and short name from node red ?

@haydendonald
Copy link
Owner

Hi, I'm sorry I don't understand?

@miol-kos
Copy link
Author

hi Sorry, i trying again.
in your setup i can see the video source label by use this cmd that are a get funktion
var msg = {
"payload": {
"cmd": "inputProperty",
"data": {}
}
}
do you have a version where i can do set instead so i from your module can set input source label both short and long

image

@haydendonald
Copy link
Owner

You can try the following found on the docs. I'm not entirely sure if it will work though.

var msg = {
    "payload": {
        "cmd": "inputProperty",
        "data": {
            "id": 0, //The input id
             "shortName": "blk" //The parameter to change
        }
    }
}

Good luck! :)

@miol-kos
Copy link
Author

i have tried now but unfortunately it did not work. i can see ad skaarhoj that the cmd to set is ClnL but can´t figure out how to inseret it right.

image

@haydendonald
Copy link
Owner

Sorry i had a look at the source file and i do not support setting an input property. If you understand how to code feel free to implement it in the sendData function

@miol-kos
Copy link
Author

thanks but my coding are not that well :-(

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

2 participants