haydendonald / blackmagic-atem-nodered

A Blackmagic ATEM node red interface
Apache License 2.0
18 stars 5 forks source link

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

Open miol-kos opened 11 months ago

miol-kos commented 11 months ago

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

haydendonald commented 11 months ago

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

miol-kos commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 11 months ago

thanks but my coding are not that well :-(