DHa Posted June 25 Share Posted June 25 I was inspired by this script emulate_multiple_dimmers.js to let button switches control the dimmers and got it working for turning on/off and setting brightness: curl "http://x.x.x.x/light/0?turn=on&brightness=100" However these dimming commands from the script have no effect (script is written for Shelly Dimmer 2, and the command is mentioned in that API) curl "http://x.x.x.x/light/0?turn=on&dim=up&step=5" curl "http://x.x.x.x/light/0?dim=stop" I cannot find any similar API command for the Pro Dimmer, is there any similar way to do this? Its not documented here or here how to control dim up/down. Quote Link to comment Share on other sites More sharing options...
QA members Ronni nielsen Posted July 9 QA members Share Posted July 9 On 6/25/2024 at 8:17 PM, DHa said: On 6/25/2024 at 8:17 PM, DHa said: I was inspired by this script emulate_multiple_dimmers.js to let button switches control the dimmers and got it working for turning on/off and setting brightness: curl "http://x.x.x.x/light/0?turn=on&brightness=100" However these dimming commands from the script have no effect (script is written for Shelly Dimmer 2, and the command is mentioned in that API) curl "http://x.x.x.x/light/0?turn=on&dim=up&step=5" curl "http://x.x.x.x/light/0?dim=stop" I cannot find any similar API command for the Pro Dimmer, is there any similar way to do this? Its not documented here or here how to control dim up/down. It was added with the 1.4.0 beta firmware. You just need to add rpc to the dim commands. /rpc/Light.DimStop?id=0 /rpc/Light.DimDown?id=0&fade_rate=4 /rpc/Light.DimUp?id=0&fade_rate=4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.