I would like to query the current listening mode or input selector, store it as a variable and later on SET it (based on the status of the Kodi device)
Problem is that the return on the Onkyo query commands ( https://www.domoticz.com/wiki/Control_O ... ble_values) is different then the Onkyo SET commands.
1 example, when the input selector query returns ('video6', 'pc') I can set it by simply using "pc"
The same for all other inputs and listening modes. How can I look up in column 1 the value ('video6', 'pc') and use the 2nd column value 'pc' to change the input selector at some other time back to ('video6', 'pc')?
My plan is to create 2 lists of values (input selectors and listening mode), but should I do that in a separate file, or within a LUA script?
LUA & Onkyo: use of table to compare 2 columns
Moderator: leecollings
Who is online
Users browsing this forum: No registered users and 1 guest