KAL Posted April 9, 2023 Posted April 9, 2023 (edited) It is solved. I had the mute query inside the set_input query. My script works with some queries, and some don´t - i don´t know why. I am getting this lua output : Received From Proxy strCommand: MUTE_ON Received From Proxy ID: 5001 Received From Proxy tParams: OUTPUT : 4001 My function : function ReceivedFromProxy(idBinding, strCommand, tParams) print("Received From Proxy strCommand: "..strCommand) print("Received From Proxy ID: "..idBinding) if tParams ~= nil then for key,value in pairs(tParams) do print("Received From Proxy tParams: "..key.." : "..value) end end if strCommand == "SET_INPUT" then if tParams.INPUT == "3000" and tParams.OUTPUT == "7000" then SendToDevice("$aS04\r") end if strCommand == "MUTE_ON" then print("MuteB") SendToDevice("$bM01\r") end end The part with "SET_INPUT" works, the part with "MUTE_ON" do not. And i don´t know why. Edited April 9, 2023 by KAL solved Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.