Search found 6 matches

by iMars
05 Mar 2016, 17:47
Forum: ESP Easy: General Discussion
Topic: Noob question: how to run the wizard?
Replies: 1
Views: 3923

Noob question: how to run the wizard?

Hi, I'm new to ESPEasy and want to try it on my NodeMCU development board. The flashing was easypeasy: iMars-Pro:esptool marcel$ python esptool.py -p /dev/cu.SLAB_USBtoUART write_flash 0x00 ~/Downloads/ESPEasy_R78/ESPEasy_R78_4096.bin Connecting... Erasing flash... Took 2.10s to erase flash block Wr...
by iMars
16 Dec 2015, 22:33
Forum: ESP Easy: Projects / Applications
Topic: Domoticz Dimmer and how to setup
Replies: 24
Views: 45323

Re: Domoticz Dimmer and how to setup

What type of dimmer do you use? I use type "Lightning 2" subtype "AC". With my earlier post script I collect the value "On" and set it to value "16". for i, v in pairs(devicechanged) do if (i == DomDevice) then if(v == 'Off' ) then DomValue = 0 elseif(v == 'O...
by iMars
16 Dec 2015, 18:56
Forum: ESP Easy: Projects / Applications
Topic: Domoticz Dimmer and how to setup
Replies: 24
Views: 45323

Re: Domoticz Dimmer and how to setup

There is one problem with dimmer I cannot solve. When setting dimmer to Off, all works fine. When setting dimmer to a specific value, all works fine. But when setting dimmer to On, the current value of DomValue is not retrieved and dimmer does not turn on. One needs to change the percentage in orde...
by iMars
10 Dec 2015, 11:28
Forum: ESP Easy: Projects / Applications
Topic: Domoticz Dimmer and how to setup
Replies: 24
Views: 45323

Re: Domoticz Dimmer and how to setup

pi@domoticz:~/domoticz/scripts/lua$ cat script_device_MoodLight.lua commandArray = {} IP = 'x.x.x.x' Port = '19444' DomValue = 0 DomDevice = 'MoodLight' DomR = 255 DomG = 31 DomB = 0 for i, v in pairs(devicechanged) do if (i == DomDevice) then if(v == 'Off' ) then DomValue = 0 elseif(v == 'On') the...
by iMars
09 Dec 2015, 23:44
Forum: ESP Easy: Projects / Applications
Topic: Domoticz Dimmer and how to setup
Replies: 24
Views: 45323

Re: Domoticz Dimmer and how to setup

As far as I know a dummy dimmer device (type ac) has only 16 steps. With lua script you can detect changes and send that with an url.

That is how I use it with my moodlight.
by iMars
09 Dec 2015, 21:41
Forum: Introduce yourself
Topic: Hi I'm iMars (marcel) from The Netherlands
Replies: 1
Views: 2330

Hi I'm iMars (marcel) from The Netherlands

Hello,

I just started with Domiticz on a RPi 2. At this moment my ambilight (home made) is the only item in it. I want to make some more DIY projects (old analog water, gas and electra meters), creating my own power consumption meter and have some more thoughts and ideas...