openhab-addons: [pioneeravr] Volume set for VSX 528 like AVRs
Hi, very nice Binding. It works very well for me. But some receivers, like my VSX 528, has no volume set command (VL), only VU and VD. For my homematic i had a workaround with a loop who set the Volume with x VU/VD commands. It would be nice, the binding has a function like this.
Here some code, sadly i am no java programmer (i am at the end no Programmer đ) This code is from http://forum.logicmachine.net/showthread.php?tid=15
`function setvolume(host, port, volumelevel)
local currentvolume = getvolume(host, port)
if volumelevel > currentvolume then for i = currentvolume, volumelevel -1, 2 do telnetsend(host,port,VOLUME_UP) end else for i = volumelevel, currentvolume-1, 2 do telnetsend(host,port,VOLUME_DOWN) end end
currentvolume = getvolume(host, port) return currentvolume
end
`
Greetings, Jochen
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 44 (3 by maintainers)
Commits related to this issue
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Stratehm <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Stratehm <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Stratehm <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Stratehm <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Refactoring of command: synchronous request/response to prepare for issue #1344. Signed-off-by: Antoine Besnard <stratehm@hotmail.com> — committed to Stratehm/openhab2-addons by Stratehm 8 years ago
- Remove not needed object array creation for logging (#1344) Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de> — committed to Flole998/openhab-addons by cweitkamp 4 years ago
Hi @Stratehm,
is your binding in the official Release for Version Openhab 2.4 integrated with the setvolume Feature?
I canât get it working because no Version of the Pioneerâs in the âchoose thingâ-Dialog is working for me.
Could you provide an Snapshot or inform when you plan the integration in Openhab official?