Code: Select all
myName="Тест"
Domoticz.Log("myName = " + myName)
Domoticz.Device(Name=myName, Unit=1, Type=244, Subtype=73, Switchtype=7).Create()
Domoticz.Log("Device Created")
Code: Select all
2017-03-11 16:45:13.893 PluginSystem: Started, Python version '3.5.0'.
...
2017-03-11 16:45:16.367 PluginSystem: Entering work loop.
2017-03-11 16:45:16.403 (BASE) Initialized version 1.0.0
2017-03-11 16:45:16.404 (BASE) myName = Тест
If I use latin name everything goes OK, till I try to rename Device from web interface. Device is renamed, but Domoticz hangs on nearest onHeartbeat.
For other types of hardware (z-wave, RFXCOM, Dummy ets. ) I can name devices in Russian without problems.
Tested on several versions of Domoticz, including V3.6934 under Windows and Raspberry