So custom sliders are in, but how do they work?
I'm not finding any documentation on how to make the sliders work, but this is what I'm trying:
Custom Button 1: Lights On - Type = String - Value = http://192.168.1.12/remote/lights.asp?deviceCode=Q4&action=ON
Custom Button 2: Lights Off - Type = String - Value = 192.168.1.12/remote/lights.asp?d ... action=OFF
Custom Button 3: Lights Dim - Type = String - Value = 192.168.1.12/remote/lights.asp?d ... dimlevel=##
where I want the two ## to be anywhere between 0 and 100.
(The XML is all the way at the bottom)
Ideally, I would be able to adjust the deviceCode (Q4) in Roomie so 1 set of code would work for all, but I understand that this is not going to happen.
Also, I could swap out 'ON' and 'OFF' for a dim value of 100 and 0.
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>cat</key>
<string>Lights</string>
<key>codes</key>
<dict>
<key>Dining Lights Dim</key>
<string>http://192.168.1.12/remote/lights.asp?deviceCode=Q4&action=DIM&dimlevel=##</string>
<key>Dining Lights On</key>
<string>http://192.168.1.12/remote/lights.asp?deviceCode=Q4&action=ON</string>
<key>Dining Lights Off</key>
<string>http://192.168.1.12/remote/lights.asp?deviceCode=Q4&action=OFF</string>
</dict>
<key>brand</key>
<string>Leviton</string>
<key>method</key>
<string>http</string>
<key>type</key>
<integer>12</integer>
</dict>
</plist>