You'd hope this would be possible using multiple Shellys and the http commands, but I can't see it in the API. The dimmer has url commands for each button, but there's no 'up' or 'down' commands to send to the other module when you detect the press. Might be worth asking Shelly support for advice. Otherwise, Tim's right - use a controller; if you catch the button presses from module 1, the controller can then query the brightness of module 2 and send it a 'set brightness' command with a higher or lower value as appropriate. I'm a fan of flashing the things with Tasmota or ESPEasy too, but I'm not sure either knows how to handle dimming.