Ok, so I did the test you suggested.
First I did the following link to dim to
25%: json.htm?type=command¶m=switchlight&idx=5&switchcmd=Set%20Level&level=25
This resulted in an actually dimming lamp and the following lines in the Domoticz log:
Code: Select all
User: Admin initiated a switch command (5/Lamp Rechts TV/Set Level)
RFLink Sending: 10;MiLightv1;f746;01;003d;ON
RFLink Sending: 10;MiLightv1;f746;01;003d;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)
Then I did the following link to dim to
50%: json.htm?type=command¶m=switchlight&idx=5&switchcmd=Set%20Level&level=50
This resulted in an actually dimming lamp to 50% and the following lines in the Domoticz log:
Code: Select all
User: Admin initiated a switch command (5/Lamp Rechts TV/Set Level)
RFLink Sending: 10;MiLightv1;f746;01;007c;ON
RFLink Sending: 10;MiLightv1;f746;01;007c;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)
Then I did the following link to dim to
75%: json.htm?type=command¶m=switchlight&idx=5&switchcmd=Set%20Level&level=75
This resulted in an actually dimming lamp to 75% and the following lines in the Domoticz log:
Code: Select all
User: Admin initiated a switch command (5/Lamp Rechts TV/Set Level)
RFLink Sending: 10;MiLightv1;f746;01;00bc;ON
RFLink Sending: 10;MiLightv1;f746;01;00bc;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)
Then I did the following link to dim to
100%: json.htm?type=command¶m=switchlight&idx=5&switchcmd=Set%20Level&level=100
This resulted in
nothing (no change in brightness at all ) and the following lines in the Domoticz log:
Code: Select all
User: Admin initiated a switch command (5/Lamp Rechts TV/Set Level)
RFLink Sending: 10;MiLightv1;f746;01;00fc;ON
RFLink Sending: 10;MiLightv1;f746;01;00fc;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)
I did a few extra tests, the results are a little surprisingly. For example: 92%-95% does work! 96%-100% doesn't do anything. 89%-91% doesn't do anything. Everything below 88% seems to work (didn't test all values)... No idea why this is going wrong...
So, I created a scene where this same lamp wil be set to
95% brightness, but then, it
doesn't work... This is what the domoticz log says:
Code: Select all
User: Admin initiated a scene/group command
Activating Scene/Group: [Test milight aan]
Activating Scene/Group Device: Lamp Rechts TV (On)
RFLink Sending: 10;MiLightv1;f746;01;0000;ON
RFLink Sending: 10;MiLightv1;f746;01;0000;ALLON
RFLink Sending: 10;MiLightv1;f746;01;00f2;ON
RFLink Sending: 10;MiLightv1;f746;01;00f2;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)
So, I did the url test again with
95% brightness (json.htm?type=command¶m=switchlight&idx=5&switchcmd=Set%20Level&level=95), it worked! That's strange... However, the log looks completly different
Code: Select all
User: Admin initiated a switch command (5/Lamp Rechts TV/Set Level)
RFLink Sending: 10;MiLightv1;f746;01;00ef;ON
RFLink Sending: 10;MiLightv1;f746;01;00ef;BRIGHT
(RFLink) Lighting Limitless/Applamp (Lamp Rechts TV)