Java Runtime Environment: which java platform is used and what version
openHAB version: 3.4.1
I don’t know how to ask this question … sorry
I’e got ESP with IR for remote control my old audio player. Now I can send properly all codes . I created items for ON/OFF, MUTE etc. but I’ve got problem with volume . I would like use dimmer with stepper list widget . I need only - and + value between isn’t important.
When we use switch we need 2 values ON and OFF but how I should name VOL+ and VOL- to use it with this widget ?
The stepper widget just cannot be used for this. By design, it only works with numbers, it will not work with increment and decrement commands. It’s not a matter of changing the commands that this item receives, there’s just no way to get a stepper to send the string type commands that your IR item needs.
You can look at this recent thread for a very similar question and an example of how to create a widget that looks like the stepper widget but will actually send arbitrary string commands: