2019-11-03, 01:02
I am currently creating a service addon for my Raspberry Pi.
With this service addon I want to start a other addon with a signal at the GPIO. If the signal is gone at the GPIO, then the main menu should be displayed again.
So far, so good .... If I set GPIO to high, the addon will be started and displayed correctly. I use this command.
But I can not find a way to quit the addon or change the window.
For example, with this command.
Nothing is happening....
Does anyone have any idea how to solve this problem?
Thanks in advance for your help.
With this service addon I want to start a other addon with a signal at the GPIO. If the signal is gone at the GPIO, then the main menu should be displayed again.
So far, so good .... If I set GPIO to high, the addon will be started and displayed correctly. I use this command.
Code:
xbmc.executebuiltin("XBMC.RunScript(" + addon_path + "/addon.py)")
But I can not find a way to quit the addon or change the window.
For example, with this command.
Code:
xbmc.executebuiltin("ActivateWindow(Home)")
Does anyone have any idea how to solve this problem?
Thanks in advance for your help.