Hi,
having issues with a Xiaomi Gateway changing the volume via a rule.
For
rule "Sound Test"
when
Item Test_Switch changed to ON
then
if(Arm_Alarm.state == ON){
XiaomiMiSmartHomeGateway_SoundVolume.sendCommand(25)
XiaomiMiSmartHomeGateway_SoundSelector.sendCommand(9)
}
end
this is the log, from what i can see the command is being issued but no sound is coming out after.
2019-01-15 15:45:55.981 [nt.ItemStatePredictedEvent] - XiaomiMiSmartHomeGateway_SoundVolume predicted to become 25
2019-01-15 15:45:55.989 [nt.ItemStatePredictedEvent] - XiaomiMiSmartHomeGateway_SoundSelector predicted to become 9
2019-01-15 15:45:55.992 [vent.ItemStateChangedEvent] - XiaomiMiSmartHomeGateway_SoundVolume changed from 0 to 25
When I change the volume on the via the sitemap option and then play the sound the sound comes out at the correct volume
Frame label="Volume" {
Switch item=XiaomiMiSmartHomeGateway_SoundVolume mappings=[0="Off", 15="15%", 25="25%", 50="50%", 100="100%"]
}
So the first rule works it changes the volume to 25, but the second command is not playing the sound, what could I be missing?
Regards