Search found 9 matches
- Sunday 18 March 2018 20:54
- Forum: Switches and Scenes
- Topic: Switch to control 3 receivers (433MHz)
- Replies: 4
- Views: 980
Re: Switch to control 3 receivers (433MHz)
So for what purpose are sub/slave devices used then? I don't understand at all...
- Friday 16 March 2018 17:07
- Forum: Switches and Scenes
- Topic: Switch to control 3 receivers (433MHz)
- Replies: 4
- Views: 980
- Sunday 11 March 2018 13:44
- Forum: Switches and Scenes
- Topic: Switch to control 3 receivers (433MHz)
- Replies: 4
- Views: 980
Switch to control 3 receivers (433MHz)
I'm controlling 3 433MHz receivers via Domoticz and I bought this switch to turn them all on and off. First I tried to add the switch as sub/slave device for one of the receivers. In the Domoticz UI I see the receiver go on/off when I use the switch, but in reality the light isn't turned on or off ...
- Sunday 04 March 2018 15:23
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Re: Combining dimmer with Harmony activities
This seems to work quite well: return { active = true, on = { devices = { 'Film kijken', 'TV kijken' } }, data = { previousLevel = { initial = 60 } }, logging = { level = domoticz.LOG_DEBUG, marker = "LED dimmer" }, execute = function(domoticz, device) domoticz.log('Enter event for ' .. device.name ...
- Sunday 04 March 2018 14:36
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Re: Combining dimmer with Harmony activities
What you can do is forget the off part for TV kijken and Film Kijken. Just create a new script for Power Off (a harmony state which is active when all activities are off). I can't check for Power Off only, because there are more activities, like Listen music. Switching to such an activity should ...
- Friday 23 February 2018 14:35
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Re: Combining dimmer with Harmony activities
No I have 4 triggers for 2 activities; On/off for TV kijken and on/off for Film kijken.
Those 4 scripts are shown above.
Those 4 scripts are shown above.
- Thursday 22 February 2018 16:45
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Re: Combining dimmer with Harmony activities
The FIlm kijken events look the same: On: return { active = true, on = { devices = { 'Film kijken', } }, execute = function(domoticz, device) local light = domoticz.devices('LED spots') if (device.state == 'On') then domoticz.globalData.LEDSpotsLevel = light.level light.dimTo(20) end end } Off ...
- Thursday 22 February 2018 14:38
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Re: Combining dimmer with Harmony activities
I didn't expect this would be so hard or not done before, right? Nobody knows?
- Monday 19 February 2018 20:20
- Forum: dzVents
- Topic: Combining dimmer with Harmony activities
- Replies: 9
- Views: 1234
Combining dimmer with Harmony activities
Hi all, C# developer here and kind of new to the whole scripting thing in Domoticz. First I tried Blockly, which is nice, but I like more control. So then I found Lua and tried some little things, which works ok. Then I found dzVents, which I like more than Lua, so sticking with that for now. Now I ...