Search found 469 matches

by toffel969
25 Apr 2017, 17:11
Forum: Experimental
Topic: What are the factors that affect speed?
Replies: 10
Views: 20600

Re: What are the factors that affect speed?

Ive switched my setup over to ESP Easy V 2.0 and it seems to be a lot slower than the old ESP easy. Im running a few timers controlling a few relays and the page loads are unbareable. I have 12 devices but only 6 are enabled. A 3 second relay timer actually is taking 6 seconds. Any suggestions on h...
by toffel969
25 Apr 2017, 17:10
Forum: Experimental
Topic: What are the factors that affect speed?
Replies: 10
Views: 20600

Re: What are the factors that affect speed?

Ive switched my setup over to ESP Easy V 2.0 and it seems to be a lot slower than the old ESP easy. Im running a few timers controlling a few relays and the page loads are unbareable. I have 12 devices but only 6 are enabled. A 3 second relay timer actually is taking 6 seconds. Any suggestions on h...
by toffel969
25 Apr 2017, 16:51
Forum: ESP Easy: General Discussion
Topic: Sonoff with toggle switch
Replies: 1
Views: 1781

Re: Sonoff with toggle switch

I've installed espeasy on my sonoff. I want to use my current light switches (toggle switch) on gpio14 to have a physical switch. I need a script that will detect gpio14 state change (high to low /low to high) and then change the state of the relay (gpio12). Please read the Rules tutorial in the wi...
by toffel969
24 Apr 2017, 09:46
Forum: ESP Easy: General Discussion
Topic: Help with rule
Replies: 1
Views: 2069

Re: Help with rule

Hi. I need simple rule in ESPEasy: if lux>1000 and lux<2000 then publish dim 50 if lux>2000 and lux<3000 then publish dim 60 if lux>3000 and lux<4000 then publish dim 70 Please help with code Not sure about the mqtt part (I don't use it),but rules are On Light#Lux>1000 do // if light levels are abo...
by toffel969
24 Apr 2017, 09:28
Forum: ESP Easy: Software
Topic: Rules with combining logic
Replies: 6
Views: 6551

Re: Rules with combining logic

paxi wrote: 24 Apr 2017, 09:21 I feel honored toffel969. ;)
Martinus' solution is way more elegant for cases where at least one condition depends on the variable triggering the event. Mine is 'universal'. :D
I know :-) I use both of them in combination for MONSTER-rules ;-)
by toffel969
24 Apr 2017, 09:27
Forum: ESP Easy: Projects / Applications
Topic: Change GPIO state using physical button
Replies: 3
Views: 6014

Re: Change GPIO state using physical button

@Toffel969 The physical button is connected to GPIO 2 --> This value is 1/0 depending on your settings in the switch device in ESP Easy (inversed or not, pull-up or not) and your cabling (GPIO to GND or GPIO to VCC). However as it is a momentary push button it only gets set to 1/0 for a short momen...
by toffel969
23 Apr 2017, 13:21
Forum: ESP Easy: Projects / Applications
Topic: Change GPIO state using physical button
Replies: 3
Views: 6014

Re: Change GPIO state using physical button

Hi Experts, I am new to whole home automation scene. I have flashed my Nodemcu 1.0 with EspEasy 2.0.0 dev7. I have connected an led on gpio 0 and physical button to gpio 2. Then I wrote an automation rule in Home assistant that when physical button (gpio2) state update is received in mqtt server th...
by toffel969
22 Apr 2017, 19:19
Forum: ESP Easy: Software
Topic: Rules switch Problem on 148
Replies: 6
Views: 4288

Re: Rules switch Problem on 148

On Action: http://192.168.1.170/control?cmd=GPIO,5,1 Off Action: http://192.168.1.170/control?cmd=GPIO,5,0 Is "inversed" activated on relay#state? Try to either inverse or On Action: http://192.168.1.170/control?cmd=GPIO,5,0 Off Action: http://192.168.1.170/control?cmd=GPIO,5,1
by toffel969
22 Apr 2017, 19:09
Forum: ESP Easy: General Discussion
Topic: Power cut cause relay to get activated upon boot
Replies: 4
Views: 4062

Re: Power cut cause relay to get activated upon boot

I have a simple relay that I really like since it is compatible with 3.3V logic levels (not only 5V). It works great but if I get a power outage / cut the ESP will not boot correctly since it will send a signal to the relay causing it to activate. This happens as soon as the ESP get power. I have t...
by toffel969
22 Apr 2017, 19:07
Forum: ESP Easy: General Discussion
Topic: Feature request****Pulse GPIO command for MCP23017
Replies: 11
Views: 10972

Re: Feature request****Pulse GPIO command for MCP23017

Shardan wrote: 22 Apr 2017, 17:28 Hello

toffel969, kudos - you made my life easier :)

+1
The part about the gpio current ;-)...? took me a moment to realize, but is clearly stated in the data sheet. Always a pleasure
by toffel969
22 Apr 2017, 15:28
Forum: ESP Easy: General Discussion
Topic: Feature request****Pulse GPIO command for MCP23017
Replies: 11
Views: 10972

Re: Feature request****Pulse GPIO command for MCP23017

maluko wrote: 22 Apr 2017, 10:02 this command inst on output seccion but in reference command.

see here
https://www.letscontrolit.com/wiki/inde ... _Reference
I updated the PCF's wiki. Take a look
by toffel969
22 Apr 2017, 13:07
Forum: ESP Easy: Software
Topic: Release v2.0.0-dev7 - possible Bug in Controller
Replies: 44
Views: 38105

Re: Release v2.0.0-dev7 - possible Bug in Controller

Hello again, i did some further tests today. First i cleaned up the flash with a "zero binary" and reflashed the "normal" 2.0.0dev7 from github. Well, up to now the permanent crashing seems to be gone. Sadly that's all changes. If i reset the ESP-12 and wait one or two minutes i...
by toffel969
22 Apr 2017, 13:02
Forum: Experimental
Topic: 2.0.0dev7 mqtt status not set
Replies: 3
Views: 5036

Re: 2.0.0dev7 mqtt status not set

i assume you had espeasy installed in a previous version. this is a bit of an educated guess. there is indication, that some info from the old version in the flash, leading to unexpected behaviour (in my case http connection to domoticz). the controller tab became unavailable and log showed connecti...
by toffel969
21 Apr 2017, 22:07
Forum: ESP Easy: General Discussion
Topic: Feature request****Pulse GPIO command for MCP23017
Replies: 11
Views: 10972

Re: Feature request****Pulse GPIO command for MCP23017

Did you try this? MCPPulse Plugin Pulse control on MCP23017 output pins See:MCP23017 MCPLongPulse Plugin Long pulse control on MCP23017 output pins See:MCP23017 Does that work? It's not documented in the wike, not for the MCP23017 neither for PCF8574. Would be nice. I definitly works with the PCF85...
by toffel969
21 Apr 2017, 12:13
Forum: ESP Easy: Software
Topic: Rules switch Problem on 148
Replies: 6
Views: 4288

Re: Rules switch Problem on 148

Is "inversed" activated on relay#state?
by toffel969
21 Apr 2017, 11:19
Forum: ESP Easy: Software
Topic: Rules switch Problem on 148
Replies: 6
Views: 4288

Re: Rules switch Problem on 148

What do you mean by ipcall. Please post the on/o action called by the switch in domoticz
by toffel969
19 Apr 2017, 16:08
Forum: ESP Easy: Hardware
Topic: OLED 2.42"
Replies: 16
Views: 28814

Re: OLED 2.42"

Hello! Has anyone tried this OLED: https://www.aliexpress.com/item/Wholesale-2-42-12864-OLED-Display-Module-IIC-I2C-SPI-Serial-FOR-Ardui-C51-STM32-BLUE/32644685038.html?shortkey=Q3uiIfEz&addresstype=600 I cant get it work. Nothing happens when I tired it :( Its because it uses an different cont...
by toffel969
19 Apr 2017, 15:47
Forum: ESP Easy: General Discussion
Topic: Wiki update - to all devs/experienced users
Replies: 1
Views: 1785

Wiki update - to all devs/experienced users

Hi everybody As my coding skills are far to low to contribute anything useful to ESPEasy, I decided to update the wiki as an alternative way to contribute to the project. I find that the same questions repeat themselves in forum over and over again (I know, I know, maybe if you cannot use the search...
by toffel969
19 Apr 2017, 11:40
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

Hi again As far as I know the relay is not an plugin as such but just a use case of digital output of GPIO pin (can be monitored with the switch device). I updated the wiki with the info from this thread + some info about solid state relays. If you don't mind please check through it and edit/let me...
by toffel969
19 Apr 2017, 00:56
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 34537

Re: PIR sensor

sjaak538 wrote: 18 Apr 2017, 21:00 I'm testing now and it looks really good.
a 220nf on pin 12 and 13 look at the picture.
It's simple to solder.
Thanks, I was going for the smd-ic :cry:
by toffel969
18 Apr 2017, 22:28
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

But this is not mentioned anywhere in the wiki... Just to be clear, the warning about GPIOs triggering relays on boot is not mentioned. (Should be stated in the ESPeasy GUI when choosing the relay plugin...). Hi again As far as I know the relay is not an plugin as such but just a use case of digita...
by toffel969
18 Apr 2017, 20:26
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

grovkillen wrote: 18 Apr 2017, 19:30
grovkillen wrote: 18 Apr 2017, 17:36 But this is not mentioned anywhere in the wiki...
Just to be clear, the warning about GPIOs triggering relays on boot is not mentioned. (Should be stated in the ESPeasy GUI when choosing the relay plugin...).
True... :roll:
by toffel969
18 Apr 2017, 20:24
Forum: ESP Easy: Software
Topic: Rules with combining logic
Replies: 6
Views: 6551

Re: Rules with combining logic

The rules tutorial states that neither boolean logic nor nesting is supported. :? You can work around this limitation by creating another rule: On event1 do If condition1 is met Event checkAND Endon On checkAND do If condition2 is met Desired action Endon It definitely works. @paxi, I allowed mysel...
by toffel969
18 Apr 2017, 18:46
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

But be aware that upon boot the relay might trigger causing the ESP to halt the boot. An expansion board fix that problem. PCF8574 I2C Interface 8-bit IO Expansion Board I/O Expander I2C-Bus Evaluation Development Module http://s.aliexpress.com/EvAbmAf6 (from AliExpress Android) But this is not men...
by toffel969
18 Apr 2017, 16:55
Forum: ESP Easy: Software
Topic: Help needed with plugin startup code
Replies: 4
Views: 3424

Re: Help needed with plugin startup code

If you want to modify the plugin itself (it sounds like this is what you need to do), you need to download the ESPEasy sources, change the part that is required in the "Plugin...ino" source code and compile for your platform. Then either upload from Arduino IDE or create bin file that can ...
by toffel969
18 Apr 2017, 12:09
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 34537

Re: PIR sensor

Hello Costo, i know that. Just it's the only datasheet for the chip itself i've found. The schematic is - besides the additional transistor - same with the PIR module. Well, as far as one can trust the schematics found in the net :) . My modules have an 1KOhm serial in the output. Due to the schema...
by toffel969
17 Apr 2017, 23:31
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

Thanks a Lot for your answer Yes, you understood what I want to do. Is something like the following items Will work ? https://m.aliexpress.com/s/item/32685596353.html https://m.fr.aliexpress.com/s/item/32714920351.html I Will need to power it with something like this https://www.amazon.com/Breadboa...
by toffel969
17 Apr 2017, 23:22
Forum: ESP Easy: General Discussion
Topic: http send being truncated in rules
Replies: 9
Views: 6621

Re: http send being truncated in rules

Magnus wrote: 17 Apr 2017, 20:56 I have the same issue, works the same way with both Chrome and IE
Any info or feedback on this would be appreciated.
+1
by toffel969
17 Apr 2017, 12:27
Forum: ESP Easy: Software
Topic: Release v2.0.0-dev7 - possible Bug in Controller
Replies: 44
Views: 38105

Release v2.0.0-dev7 - possible Bug in Controller

Hi I want to report strange behaviour with the dev7 version of ESP easy. Node (Wemos D1 pro mini + PIR+ Door switch+ Gas pulse counter + two relays) was running stable for about a week as standalone. Then I added my domoticz controller and everything seemed to work nicely. After some time (not sure ...
by toffel969
17 Apr 2017, 12:19
Forum: ESP Easy: General Discussion
Topic: ESP8266 Dry Relays contact
Replies: 20
Views: 18416

Re: ESP8266 Dry Relays contact

Hi, I'm planning to connect my Gates (exterior and garages) to my domoticz server. As I'm totally newbie I'm reading a lot but I would like also to order the components. The 3 gates are automated with Nice appliance (POPKit/POA1 & Nice Spin 6021). I can use a dry contact on the motor unit but I...
by toffel969
16 Apr 2017, 00:06
Forum: ESP Easy: Software
Topic: Domoticz Output by name not gpio?
Replies: 2
Views: 2709

Re: Domoticz Output by name not gpio?

I would find it very helpful to switch outputs by name rather than by the /gpio/x syntax. Eg, /device/power/relay which is set up in devices as such. Is this possible and am I just missing something? Thanks You can create an event on the ESP (rules) that is then triggered by calling the event. Just...
by toffel969
15 Apr 2017, 21:17
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 34537

Re: PIR sensor

Hello guys, the last hours i did some testing with a nodeMCU/ESPEasy and one of these qusetionable PIR modules. This one, exactly: https://images-na.ssl-images-amazon.com/images/I/51zU5-0UR5L._SX355_.jpg I've chosen this one because sensivity, hold time and retrigger is setable. I did just a breadb...
by toffel969
14 Apr 2017, 20:09
Forum: Experimental
Topic: The Things Network LoRaWan plugins to ESP8266 ?
Replies: 8
Views: 20383

Re: The Things Network LoRaWan plugins to ESP8266 ?

Hi, got so used to the ease of using ESPEasy, but now have use cases for LoRaWAN. How about getting a plugin that will be able to talk to a LoRaWan radio, but have all the ease of working with sensors, mqtt etc in ESP Easy? Here is a nice example: https://www.thethingsnetwork.org/labs/story/ttn-nod...
by toffel969
14 Apr 2017, 11:12
Forum: ESP Easy: Hardware
Topic: PIR sensor
Replies: 35
Views: 34537

Re: PIR sensor

When i try to add a PIR as normal switch the ESP sends on/off state every second. Even if i put the sensor in a small box (with no movement) it toggles between on and off. Is it any settings i can adjust or is my PIR broken? And the timer settings on the PIR itself. Is this for "When motion is...
by toffel969
13 Apr 2017, 07:45
Forum: Experimental
Topic: ESP Easy Mega
Replies: 249
Views: 1036346

Re: ESP Easy Mega

psy0rz wrote: 12 Apr 2017, 23:52 Maybe people should start new posts more often, instead of starting new subjects in the same thread? :)
true story :D
by toffel969
11 Apr 2017, 17:24
Forum: Experimental
Topic: ESP Easy Mega
Replies: 249
Views: 1036346

Re: Possible place in next version control button / relay?

often using buttons to activate relay I wanted to try it on this version, to make use rules, but with some combinations going to panic. To be possible in future versions to add this function directly in the web setting is printed in order to avoid rules? Right now it's giving into panic in order to...
by toffel969
10 Apr 2017, 09:18
Forum: ESP Easy: Hardware
Topic: Esp-12 i.c.m Rotary encoder
Replies: 6
Views: 5799

Re: Esp-12 i.c.m Rotary encoder

You can work around this though with a local button for example, then storing a auto value in Dummy device (in the example task 3) On analog#analog do if [dummy#local]=1 pwm 12,[Analog#Analog] endif Endon on button#switch=1 do if [dummy#local]=1 taskvalueset 3,1,0 else taskvalueset 3,1,1 endif endon...
by toffel969
09 Apr 2017, 16:34
Forum: ESP Easy: Hardware
Topic: Pulse Counter
Replies: 31
Views: 45458

Re: Pulse Counter

I just had the same problem literally 30 min ago.

This is how to fix it: Choose Normal counter incremental device as dummy

Then under settings in Domoticz, change the Pulse value for energy to whatever fits your purpose
by toffel969
08 Apr 2017, 21:37
Forum: ESP Easy: General Discussion
Topic: [FIXED] Problem with Rules - Clock#Time event
Replies: 22
Views: 23012

Re: [FIXED] Problem with Rules - Clock#Time event

Is it possible to use the time as a condition in a rule, like: On pir#Motion do if [pir#Motion]=1 // Motion detected: if [Clock#Time]>All,17:00 // On any day after 17:00 PWM,1,800,3000 // fade leds on timerSet 1,25 // start timer endif endif endon on Rules#Timer=1 do PWM,1,0,3000 // fade leds off e...
by toffel969
08 Apr 2017, 21:25
Forum: ESP Easy: Hardware
Topic: Esp-12 i.c.m Rotary encoder
Replies: 6
Views: 5799

Re: Esp-12 i.c.m Rotary encoder

It works with a 10k ohm potentiometer on analog input
For example led o gpio 12
In rules:

On analog#analog do
Pwm 12,[analog#analog]
Endon

Lag depends on sensor delayinI analog device + message delay in advanced tab
by toffel969
24 Mar 2017, 19:18
Forum: ESP Easy: Software
Topic: Dummy device / rule not taking value
Replies: 8
Views: 7331

Re: Dummy device / rule not taking value

Try to use quadruple dummy type. I think single type, but names in the fields with two variables is conflicting
by toffel969
22 Mar 2017, 18:08
Forum: ESP Easy: General Discussion
Topic: Simple switch help
Replies: 11
Views: 10531

Re: Simple switch help

Did you activate the pullup-resistors? I have a setup with 8 working input pins, so its definitly possible. Are you refreshing the webpage as you are checking if input state changed? because it will not change unless you refresh.
by toffel969
22 Mar 2017, 18:05
Forum: ESP Easy: General Discussion
Topic: OLED Framed, Setting Text by Command or MQTT
Replies: 7
Views: 16289

Re: OLED Framed, Setting Text by Command or MQTT

try to use a dummy. Set the dummy by MQTT/HTTP and then in the OLED plugin, display that dummy
by toffel969
18 Mar 2017, 11:14
Forum: ESP Easy: Software
Topic: Device values persistence
Replies: 6
Views: 5988

Re: Device values persistence

The feature is there in the mega version.
by toffel969
18 Mar 2017, 10:54
Forum: ESP Easy: Software
Topic: Resets the variable every day.
Replies: 27
Views: 31206

Re: Resets the variable every day.

Have you tried TaskValueSet command?( store variable in Dummy device, and 2.. task) then read dummy rather than sensor value


Like

On pulse#total do
TaskValueSet 2,1,[pulse#total]
End on

On Clock #Time=all, 20:00 do

TaskValueSet 2,1,0
Endon
by toffel969
16 Mar 2017, 23:03
Forum: ESP Easy: General Discussion
Topic: switch with long wires not working
Replies: 3
Views: 2938

Re: switch with long wires not working

You could try to use a level shifter to 5v. That voltage might suffice as logic level should be high down to 2v on both 3,3 or 5v afaik
by toffel969
16 Mar 2017, 07:46
Forum: ESP Easy: Software
Topic: Level Control not changet status (Values) from Rules
Replies: 1
Views: 1781

Re: Level Control not changet status (Values) from Rules

Just add a switch device with the gpio of the relay
by toffel969
13 Mar 2017, 00:47
Forum: ESP Easy: General Discussion
Topic: Sleep-Mode with Magnetic-Input-Switch and MQTT
Replies: 5
Views: 4840

Re: Sleep-Mode with Magnetic-Input-Switch and MQTT

Mysensors could work better in your case. Battery +interupt from deep sleep are really weak spots of esp. However gpio 16 can wake from deep sleep afaik
by toffel969
04 Mar 2017, 14:21
Forum: ESP Easy: Hardware
Topic: Pulse Counter
Replies: 31
Views: 45458

Re: Pulse Counter

Have you tried to adjust the sensitivity of the device by turning the poti?... never mind if led is flashing.

There are 4 pins on the module. Which one did you connect to gpio?