local scriptVar = 'Yamaha' return { on = { timer = { 'every minute' -- just an example to trigger the request }, devices = { 'Ampli - Zone 1', }, httpResponses = { scriptVar, }, },
there is the url http://ampli-salon/YamahaExtendedControl/v1/main/setVolume?volume=50
i'm testing a thing but no luck
if item.isHTTPResponse and item.json then dz.utils.dumpTable(item.json) if item.json.power == on then volume.dimTo(math.floor(item.json.volume / maxVolume)).silent() input ...
Since the Yamah plugin is not working anymore ( :'() i'm trying to do that i wan't with virtual switch and dzvents.
What Yamaha plugin is not working anymore? This one: https://github.com/thomas-villagers/domoticz-yamaha ? I do not find any reference on the forum that a yamaha ...