i8beef / node-red-contrib-castv2

MIT License
22 stars 14 forks source link

Add Suport to inform msg.host #28

Closed soloam closed 3 years ago

soloam commented 3 years ago

Hello, I know that probably this one is hard (because of the way the node is designed), but it would be nice if we were able to call a cast dynamic informing msg.host (for example) in the message. That would avoid having a node for all the casts, we would be able to inform the ip in the message and call the node dynamic. Example

{
   "payload":{"type":"PLAY"},
   "ip":"192.168.1.20"
}

Thank You

i8beef commented 3 years ago

Sorry, but the new model expressly contradicts this. We give up run-time targeting in favor of always-live connection management.