@jlmb22 change your Lua script to 'Device' instead of 'All'
Thanks a lot for helping, but I don't write this script in domoticz, I copy it in the folder scripts/lua.
If I write a script directly in Domoticz, then I have this error :
2017-08-05 09:27:54.058 Error: EventSystem: in /usr/local ...
Search found 2 matches
- Saturday 05 August 2017 9:41
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 557435
- Friday 04 August 2017 15:01
- Forum: Zigbee
- Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
- Replies: 2452
- Views: 557435
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Rotation value is a text device who appear once you rotate cube once.
Just wrote a small script, but since I'm not a coder, I'm sure it can be optimized... :roll:
In my case, I want that the dimming works only if the lamp is already On.
commandArray = {}
-- Run only if the cube has been ...
Just wrote a small script, but since I'm not a coder, I'm sure it can be optimized... :roll:
In my case, I want that the dimming works only if the lamp is already On.
commandArray = {}
-- Run only if the cube has been ...