2014-09-21, 20:36
Hi all!
I maded a simple python script to send a command to my DIY domotic system. This script just sends an http command and works ok.
I assigned a key on keyboard.xml with the function RunScript(path/file.py) and when I press the key the command it's sended OK.
Now I need to show a notification on screen like (command sended)
Any help?
I tried to add import xbmc and do an xbmc.executebuiltin(Notification('Comand Sended')
But i get
import xbmc
ImportError: No module named xbmc
I maded a simple python script to send a command to my DIY domotic system. This script just sends an http command and works ok.
I assigned a key on keyboard.xml with the function RunScript(path/file.py) and when I press the key the command it's sended OK.
Now I need to show a notification on screen like (command sended)
Any help?
I tried to add import xbmc and do an xbmc.executebuiltin(Notification('Comand Sended')
But i get
import xbmc
ImportError: No module named xbmc