Open markus7017 opened 9 months ago
Good idea!
I installed a pro 2dm and discovered this device is not supported yet? Bountysource is gone. Any other way to add incentive for adding these model?
I integrated the shelly dimmer via quick and dirty "http"-things implementation:
Thing http:url:shelly_light_1og4 "Shelly Light" [
baseURL="http://192.168.x.x",
commandMethod="GET",
contentType="application/json",
refresh=10
] {
Channels:
Type switch : power0 "Power0" [
commandExtension="/rpc/Light.Set?id=0&on=%2$s",
stateExtension="/rpc/Light.GetStatus?id=0",
stateTransformation="JSONPATH:$.output",
onValue="true",
offValue="false"
]
Type dimmer : brightness0 "Brightness0" [
commandExtension="/rpc/Light.Set?id=0&brightness=%2$s",
stateExtension="/rpc/Light.GetStatus?id=0",
stateTransformation="JSONPATH:$.brightness"
]
Type switch : power1 "Power1" [
commandExtension="/rpc/Light.Set?id=1&on=%2$s",
stateExtension="/rpc/Light.GetStatus?id=1",
stateTransformation="JSONPATH:$.output",
onValue="true",
offValue="false"
]
Type dimmer : brightness1 "Brightness1" [
commandExtension="/rpc/Light.Set?id=1&brightness=%2$s",
stateExtension="/rpc/Light.GetStatus?id=1",
stateTransformation="JSONPATH:$.brightness"
]
}
I would be interested in this too. I've got a number of "Pro Dimmer 2PM". Happy to help with testing.
+1 i also have multiple devices of Pro Dimmer 1PM and 2PM
+1 same here
Add support for the dual Pro dimmer