Search found 9 matches

by dandanger
Tuesday 05 November 2019 17:12
Forum: Z-Wave
Topic: Delay in Switch state change on app or browser
Replies: 3
Views: 297

Re: Delay in Switch state change on app or browser

I have same kind of behaviour, some of switches state shows like immediately, and some take a long time to update to webpage. Actions work like they should.
by dandanger
Friday 18 October 2019 3:28
Forum: Zigbee
Topic: I need you to install Zigbee2MQTT
Replies: 3
Views: 778

Re: I need you to install Zigbee2MQTT

1: You should not flash a router file to cc2531, but a coordinator one. The router wont do anything if you dont have a existing zigbee network. So this is the reason you cant connect. 2: See nr 1. 3: pi:pi is user/password for your pi. 3.2: Dont have a clue, but read the documentation from start and ...
by dandanger
Friday 09 August 2019 17:16
Forum: dzVents
Topic: Ready scripts for just plain dimming or rgb? [Solved]
Replies: 5
Views: 2762

Re: Ready scripts for just plain dimming or rgb? [Solved]

I'm not sure what you are trying to do with your "Dimmer1" device, so I would just simplify the script as: return { on = { devices = { 'IkeaPuck1' } }, execute = function(dz, device) local light = dz.devices('Ikea1000-1') dz.log('Device ' .. device.name .. ' was changed', dz.LOG_INFO) if (device ...
by dandanger
Friday 09 August 2019 17:14
Forum: dzVents
Topic: Ready scripts for just plain dimming or rgb? [Solved]
Replies: 5
Views: 2762

Re: Ready scripts for just plain dimming or rgb? [Solved]

boum wrote: Friday 09 August 2019 15:26 dz should be the first parameter to your execute function

Code: Select all

execute = function(dz, device)
(then you should replace all occurrences of domoticz with dz or the other way around)
Oh this I didnt know..noobie mistake seems.
by dandanger
Friday 09 August 2019 15:06
Forum: dzVents
Topic: Ready scripts for just plain dimming or rgb? [Solved]
Replies: 5
Views: 2762

Re: Ready scripts for just plain dimming or rgb? [Solved]

Well, no replys, I thought I'd give it a try myself. Heres what I got in two days(wow): return { on = { devices = { 'IkeaPuck1' } }, execute = function(domoticz, device) local Light = dz.devices('Ikea1000-1') himmennin = dz.variables('Dimmer1') domoticz.log('Device ' .. device.name .. ' was changed ...
by dandanger
Sunday 04 August 2019 18:32
Forum: dzVents
Topic: Ready scripts for just plain dimming or rgb? [Solved]
Replies: 5
Views: 2762

Ready scripts for just plain dimming or rgb? [Solved]

I suck at scripting and don't have much time for this now, but I bet people have made tons of these so I'd be very glad if someone posted scripts for dimming. I've searched all sections and could not find even one script that would be for this simple usage. What I want to accomplish is like: -Ikea ...
by dandanger
Friday 11 January 2019 5:58
Forum: 433 & 868 transceiver
Topic: Contact temperature sensor ?
Replies: 4
Views: 2397

Re: Contact temperature sensor ?

Check also NodeMcu with EasyEsp firmware. You can attach which sensor you want, like the mentioned dallas DS18B20. You can put this all together in minutes.
by dandanger
Wednesday 17 October 2018 10:51
Forum: Blockly
Topic: Toggle button switch: 1x Click ON, 1xClick OFF
Replies: 13
Views: 9137

Re: Toggle button switch: 1x Click ON, 1xClick OFF

misko903 wrote: Wednesday 17 October 2018 9:21
dandanger wrote: Tuesday 16 October 2018 12:25 You could just check the state of light like this: click -> if light is off = turn on. click -> if light is on = turn off.
i was trying to do it this way, with blockly. it was not working.
Maybe you could attach picture from your test blockly? And you had "else if" used?
by dandanger
Tuesday 16 October 2018 12:25
Forum: Blockly
Topic: Toggle button switch: 1x Click ON, 1xClick OFF
Replies: 13
Views: 9137

Re: Toggle button switch: 1x Click ON, 1xClick OFF

You could just check the state of light like this: click -> if light is off = turn on. click -> if light is on = turn off.