
I would like to execute this simple command based on gnotify that I installed on my windows server.
If I run it from the windows CMD line:
gnotify -H 192.168.1.26 -l fr température
Everything works well, I can hear "température" on my google home
Now in domoticz, I run the following:
os.execute('gnotify -H 192.168.1.26 -l fr température')
Google home doesn't pronounce it the right way (like additional special characters are inserted)
I looked on the console windows and see the following:
Status: dzVents: Info: gnotify -H 192.168.1.26 -l fr temp├®rature
So my problem is some kind of ANSI conversion issue when the command is sent by os.execute - don't know how to solve it .... any idea ?