Broken YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)
:
            if ServiceOn:                                          # normal operation
                if x.stop_action == 3:
                    if x.initial_state == "off":
                        x.turnOff(player_state)
                    else:
                        x.turnOn(player_state)
                elif x.stop_action == 2:
                    x.turnOn(player_state)
                elif x.stop_action == 1:
                    x.turnOff(player_state)

:
            elif ServiceOn:                                        # normal operation
                if x.play_action == 2:
                    x.turnOn(player_state)
                elif x.play_action == 1:
                    x.turnOff(player_state)


Okay, so from a quick comparison between these pieces of code, I figured out that manually changing the
:
<setting id="bulb_1_stop_action">2</setting>
to
:
<setting id="bulb_1_stop_action">3</setting>
might help but unfortunately it didn't. After the change, settings show 'None' and testing the bulb confirms that it is also processed as set to 'None' because nothing happens :/
Reply


Messages In This Thread
RE: YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi) - by GhostCasper - 2020-01-14, 21:30
Logout Mark Read Team Forum Stats Members Help
YeeMee - (Control Yeelight Smart Bulb + Ambi from Kodi)2