Search found 190 matches

by kimot
22 Jan 2019, 08:42
Forum: ESP Easy: Software
Topic: Rules Help
Replies: 13
Views: 7068

Re: Rules Help

At first you wrote you switch gpio13 by pulling it up. But in your first configuration screenshot I can see internal pullup enabled. So your gpio13 is on log. 1 in standby and you must switch to ground and check log. low state when switch is pressed. If I understand well, you want to change the stat...
by kimot
21 Jan 2019, 20:55
Forum: ESP Easy: Projects / Applications
Topic: Project idea: Digital differential temperature controller ?
Replies: 12
Views: 9099

Re: Project idea: Digital differential temperature controller ?

Forgot about regulator plugin and write it completely via rules.
by kimot
21 Jan 2019, 20:07
Forum: ESP Easy: General Discussion
Topic: Wemos D1 mini and deepsleep from rules
Replies: 1
Views: 2230

Re: Wemos D1 mini and deepsleep from rules

Maybe stupid question, but do you have got connected RST and gpio16 pins?
by kimot
20 Jan 2019, 17:56
Forum: ESP Easy: Software
Topic: ESPEasy R120 no setting for resolution DS18B20
Replies: 11
Views: 6871

Re: ESPEasy R120 no setting for resolution DS18B20

I have got six Sonoffs basic with V2.0-20180322.
Power failure occurs 4x per day and the resolution is still12bit.
Do you press "submit" button after changing resolution ?
by kimot
16 Jan 2019, 22:28
Forum: ESP Easy: General Discussion
Topic: Where to find uploader and binaries for 2.0 Firmware?
Replies: 6
Views: 4131

Re: Where to find uploader and binaries for 2.0 Firmware?

No mega firmware is not fully functional. I use _dev13 with complex rules and cannot use mega for this. Mega miss some incoming events through http in comparsion with _dev13 More and link to v2.0 firmware I am using in my post in this thread: https://www.letscontrolit.com/forum/viewtopic.php?f=4&...
by kimot
16 Jan 2019, 12:31
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev13
Replies: 39
Views: 38769

Re: ESPEasy v2.0.0-dev13

dev-13 was last "stable" version for me. I am running about 10 floor heating thermostats with this version. WIth complex rules ( Rules1.txt full, Rules2.txt half full ), receiving events from Domoticz etc, without any problem from 11/2017. Except random rebooting. Actual "mega" v...
by kimot
15 Jan 2019, 14:24
Forum: ESP Easy: Software
Topic: ESP Easy and BME280 data
Replies: 6
Views: 5856

Re: ESP Easy and BME280 data

Guys, please read what datasheets has written! :o https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280-DS002.pdf I'm curious, if anyone finds a registry number where the dew point can be read at BME280. Or that it was not there? At "BME280 plugin" dew point is calculat...
by kimot
11 Jan 2019, 08:31
Forum: ESP Easy: Projects / Applications
Topic: smoke detector triggered killswitch based on esp-01 relay
Replies: 8
Views: 5576

Re: smoke detector triggered killswitch based on esp-01 relay

I want to connect the smoke detector directly to the esp-relay to cut off the power of the 3d printer in case of smoke or fire. So why using ESPeasy module? Standalone relay driven directly by signal from smoke detector will work the same way. Or your smoke detector is far away from printer? Or you...
by kimot
10 Jan 2019, 15:08
Forum: ESP Easy: Hardware
Topic: Wall switch with mechanical button?
Replies: 11
Views: 8941

Re: Wall switch with mechanical button?

Hi, thx for info! :] >DeNB3rt: there is problem with wall box depth and relay. Maybe it's resolvable, but I'd prefer some 'certified' solution with optocoupler etc. .. >Tecumseh: same problem, depth of wall boxes is appr. 35mm, including mechanical switch. I want to replace multiple switches, I don...
by kimot
10 Jan 2019, 14:41
Forum: ESP Easy: Software
Topic: ESPEasy R120 no setting for resolution DS18B20
Replies: 11
Views: 6871

Re: ESPEasy R120 no setting for resolution DS18B20

GPIO16 is not very optimal choice for this.
So resolution can be limited by ESPEasy firmware.

https://espeasy.readthedocs.io/en/lates ... /GPIO.html

Try other pin.
by kimot
02 Jan 2019, 09:21
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 9239

Re: with using GPIO 0, no boot ESP8266-01

With old Sonoff Basic I use GPIO14 for DS18B20.
New versions of Sonoffs basic has got GPIO14 no more.
So I use RX pin ( GPIO3 ) for DS18B20 connection without any problem.
For safety, I switch off serial port in "Tools" and serial logging too.
by kimot
31 Dec 2018, 15:34
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 9239

Re: with using GPIO 0, no boot ESP8266-01

No, if it will be connected like I wrote.
by kimot
31 Dec 2018, 15:20
Forum: ESP Easy: General Discussion
Topic: [SOLVED] WiFi Problem with Sonoff Basic Using Recent Releases
Replies: 7
Views: 8962

Re: [SOLVED] WiFi Problem with Sonoff Basic Using Recent Releases

I got new version of Sonoff Basic last day. ( only 4 pin connector )
I flash it right now with mega_dev13 ( last whitch works ok for me ).
All works OK like older versions of Sonoff.

Code: Select all

esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash  0x00000 ESP_Easy_v2.0.0-dev13_normal_ESP8285_1024.bin
by kimot
31 Dec 2018, 14:03
Forum: ESP Easy: General Discussion
Topic: with using GPIO 0, no boot ESP8266-01
Replies: 8
Views: 9239

Re: with using GPIO 0, no boot ESP8266-01

RX pin only receives serial, so using it - no flickering, because no sender in your circuit.

Or change your circuit:
3.3v ---- R1 ------ optodiode -----GPIO0

And switch opto with log 0 instead log 1
by kimot
26 Dec 2018, 22:57
Forum: ESP Easy: Projects / Applications
Topic: threeway switch traveler system
Replies: 3
Views: 3340

Re: threeway switch traveler system

I think it is not possible. Instead of use rules that way, that sending command back from Domoticz is not problem. First - do not fill IDX number for your switch device and send status to Domoticz only via rules and JSON. In my rules example above event "lamp_change" switches relay and rep...
by kimot
23 Dec 2018, 22:30
Forum: ESP Easy: Projects / Applications
Topic: threeway switch traveler system
Replies: 3
Views: 3340

Re: threeway switch traveler system

In real world circuit looks like this: https://www.mylms.cz/obrazky/elektronika/instalace-5.png So put ESPeasy in to first switch box - connect mains and lamp through relay and all switches change to push buttons and connect them parallel to one gpio. Then each button press change relay status and r...
by kimot
20 Dec 2018, 10:40
Forum: ESP Easy: Hardware
Topic: Sending number to 7 segment display
Replies: 21
Views: 11638

Re: Sending number to 7 segment display

And what about using rules?

Example

Code: Select all

On DSTemp#Temperature do
  7dt,[DSTemp#Temperature]
endon
But I have not this display for testing.
by kimot
19 Dec 2018, 11:40
Forum: ESP Easy: Hardware
Topic: Sending number to 7 segment display
Replies: 21
Views: 11638

Re: Sending number to 7 segment display

If you mean TM1637 instead of MAX1637,
switch CLK and DIO for both displays by multiplexer CMOS 4053 driven with some other gpio.
First switch to display you want and send normal command for display.
by kimot
19 Dec 2018, 11:23
Forum: ESP Easy: Hardware
Topic: Sending number to 7 segment display
Replies: 21
Views: 11638

Re: Sending number to 7 segment display

MAX1637 is Miniature, Low-Voltage, Precision Step-Down Controller
What about driving LED display with it ?!?

But if you mean some different LED display controller, this circuit obviously has got some "select" pins,
so drive them with other GPIO and use the same command for both disp.
by kimot
11 Dec 2018, 22:34
Forum: ESP Easy: Projects / Applications
Topic: Calculating kWh from Amps+Volts
Replies: 10
Views: 10891

Re: Calculating kWh from Amps+Volts

I think only solution with ESPeasy is set TImer to 5 or 10s interval. If Timer triggers, measure current, calculate Watts and then you have got energy in "W10s". Sum this 6 times and got Wmin. Then send to Domoticz. But you must do lot off calibration, because 10s timer is not exactly 10s ...
by kimot
16 Nov 2018, 20:18
Forum: ESP Easy: Hardware
Topic: Sonoff 4CH Pro R2 bricks after flashing
Replies: 5
Views: 8084

Re: Sonoff 4CH Pro R2 bricks after flashing

Try erase flash.

esptool.py --port COM3 erase_flash
by kimot
03 Nov 2018, 21:21
Forum: ESP Easy: Software
Topic: Rules do not work properly on new versions
Replies: 1
Views: 1726

Rules do not work properly on new versions

Hi I am using ESPEsy for one year without any problems like floor heating thermostat. You can see it here: https://www.youtube.com/watch?v=1ef6tRinOQ4 Today I try upgrade one thermostat with newest ESPeasy "mega-20181101" My previous "stable" version was "v2.0.0-dev13" ...
by kimot
19 Oct 2018, 20:26
Forum: ESP Easy: Projects / Applications
Topic: espeasy + domoticz to dimmer light
Replies: 7
Views: 9551

Re: espeasy + domoticz to dimmer light

ESPeasy to Domoticz: Use SendToHTTP using JSON API: Set a dimmable light to a certain level /json.htm?type=command&param=switchlight&idx=99&switchcmd=Set%20Level&level=6 Some lights have 100 dim levels (like zwave and others), other hardware (kaku/lightwaverf) have other ranges like ...
by kimot
27 Aug 2018, 22:29
Forum: ESP Easy: Hardware
Topic: Remote control+monitor 3phase
Replies: 5
Views: 5478

Re: Remote control+monitor 3phase

And why measure current or power for heater? Heater has got constant resistance - so current and power is always constant with constant voltage. You only need to know, if heater is on or off and if you control heater by controller, you always know its state. And if you use independent heater built i...
by kimot
31 Jul 2018, 14:08
Forum: ESP Easy: General Discussion
Topic: Send timer value to Domoticz?
Replies: 10
Views: 6879

Re: Send timer value to Domoticz?

Create Timer like dummy device in ESPeasy and use command SendToHTTP in rules with JSON format for Domoticz. Example for switch and Power sending: SendToHTTP 192.168.1.253,8080,/json.htm?type=command&param=switchlight&idx=26&switchcmd=On SendToHTTP 192.168.1.253,8080,/json.htm?type=comma...
by kimot
25 Jul 2018, 23:11
Forum: ESP Easy: General Discussion
Topic: Send timer value to Domoticz?
Replies: 10
Views: 6879

Re: Send timer value to Domoticz?

Create for example user variable in Domoticz and send timer value in it. Then you can using this value by LUA or Blockly. /json.htm?type=command&param=updateuservariable&vname=USERVARIABLENAME&vtype=USERVARIABLETYPE &vvalue=USERVARIABLEVALUE Remember to change: USERVARIABLENAME with ...
by kimot
25 Jul 2018, 22:37
Forum: ESP Easy: Software
Topic: Flash ESPeasy from linux
Replies: 2
Views: 10799

Re: Flash ESPeasy from linux

https://diyprojects.io/esp-easy-flash- ... y-esp8266/

For example my command:

esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash -fm dio -fs 32m 0x00000 ESPEasy_R120_4096.bin
by kimot
02 Apr 2018, 16:30
Forum: ESP Easy: Software
Topic: Set GPIO pin state when an HTTP request is made
Replies: 3
Views: 3215

Re: Set GPIO pin state when an HTTP request is made

Maybe call something like this: http://192.168.178.31/control?cmd=event,led_blink Before or after your http://192.168.178.31/json and write event "led_blink", which blinks led. Or send http://<espeasyip>/control?cmd=Pulse,14,1,500 where 14 is GPIO number and 500 are milisecond. https://www...
by kimot
31 Mar 2018, 19:16
Forum: ESP Easy: General Discussion
Topic: Espeasy with momentary switches / impulse (latching) relay
Replies: 4
Views: 5241

Re: Espeasy with momentary switches / impulse (latching) relay

Button#value = 1 ??? I think, this is not possible. Use TaskValueSet And your rules are strange. event Button#value is called, when new value is assigned to Button#value and in this event you assign new value into it ...... circle Why not using gpio14 for testing and sending to Domoticz directly?
by kimot
31 Mar 2018, 17:57
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13886

Re: How many Nested EVENTS?

So you must try how many nested is compiled.
I think three with my _dev13
by kimot
31 Mar 2018, 17:53
Forum: ESP Easy: General Discussion
Topic: Domoticz Switch + ESPEasy (E12) PWM Dimmer - How do I drive this solution?
Replies: 1
Views: 3885

Re: Domoticz Switch + ESPEasy (E12) PWM Dimmer - How do I drive this solution?

Use DzVents in Domoticz. Here is how I send Setpoint for example: local setpoint = domoticz.devices('Filip_Setpoint') local url= 'http://192.168.1.105/control?cmd=event,HeatSetpoint='..(setpoint.state)..'' print(url) domoticz.openURL(url) Look here for dimmer parameters: https://www.domoticz.com/wik...
by kimot
31 Mar 2018, 16:45
Forum: ESP Easy: Software
Topic: Set GPIO pin state when an HTTP request is made
Replies: 3
Views: 3215

Re: Set GPIO pin state when an HTTP request is made

And how your webserver requested data from ESPeasy?

If it send some event command, then in this event set LED gpio on and set some some timer.
On this timer event then set LED gpio off.
Or send pulse to LED gpio.
by kimot
31 Mar 2018, 16:21
Forum: ESP Easy: Software
Topic: Multiple readings in 1 message via UDP > InfluxDB
Replies: 1
Views: 2221

Re: Multiple readings in 1 message via UDP > InfluxDB

Create dummy variable dT
Calculate this dT via rules from both others sensors and send dT to Influx?
by kimot
29 Mar 2018, 21:12
Forum: ESP Easy: General Discussion
Topic: How many Nested EVENTS?
Replies: 16
Views: 13886

Re: How many Nested EVENTS?

Are you compile itself or using .bin file.
I see NESTED parameters define in source code, but you never know setting for your bin. file
by kimot
14 Mar 2018, 23:41
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 9
Views: 11833

Re: Store values between reboots

Dummy devices are persistent through reboot. So you must find solution only for power lost. First - backup battery. Second: Something like my solution for independent thermostat with Domoticz setting and logging only. I am booting into safe setting for heater. Setpoint and regulation rules are store...
by kimot
14 Mar 2018, 23:16
Forum: ESP Easy: Projects / Applications
Topic: GPIO not change state from rules
Replies: 5
Views: 4915

Re: GPIO not change state from rules

instead of: on sensor#Temperature do if [sensor#Temperature]>[thermostat#setpoint] GPIO,16,1 endif endon on sensor#Temperature do if [sensor#Temperature]<[thermostat#setpoint] GPIO,16,0 endif endon You can use only one "sensor#Temperature" event, not two Use: on sensor#Temperature do if [s...
by kimot
06 Mar 2018, 21:16
Forum: ESP Easy: Software
Topic: Sonoff Touch - network problem
Replies: 5
Views: 3776

Re: Sonoff Touch - network problem

Look at this forum:
https://www.domoticz.com/forum/viewtopi ... 28&t=17352

User mayyam wrote:

"Try Rules. With Rules if Wifi will crash, Sonoff Touch will still work. Also, there is no latency when You switch it manually with Rules."
by kimot
06 Mar 2018, 20:49
Forum: ESP Easy: General Discussion
Topic: Wemos or NodeMCU
Replies: 5
Views: 5170

Re: Wemos or NodeMCU

Both board uses different voltage regulators.
When battery powered at deepsleep, nodeMCU regulator consumes more energy.
by kimot
06 Mar 2018, 20:34
Forum: ESP Easy: Software
Topic: Store Espeasy State
Replies: 9
Views: 7845

Re: Store Espeasy State

dzVents: -- Check the wiki at -- http://www.domoticz.com/wiki/%27dzVents%27:_next_generation_LUA_scripting return { -- 'active' controls if this entire script is considered or not active = true, -- set to false to disable this script -- trigger -- can be a combination: on = { timer = { -- timer trig...
by kimot
05 Mar 2018, 15:00
Forum: ESP Easy: Projects / Applications
Topic: Check a switch
Replies: 4
Views: 3967

Re: Check a switch

Maybe change switch type in device tab on ESPeasy.
by kimot
05 Mar 2018, 14:56
Forum: ESP Easy: Hardware
Topic: Sonoff Basic + wall push button with pilot light
Replies: 21
Views: 16467

Re: Sonoff Basic + wall push button with pilot light

Try some serial resistor with LED.
LED will light less, but log 1 on GPIO will be better defined.
Will be good measure voltage on GPIO and compare with specification for log1 on ESP2866.
by kimot
05 Mar 2018, 14:39
Forum: ESP Easy: Software
Topic: Store Espeasy State
Replies: 9
Views: 7845

Re: Store Espeasy State

I have got the same problem with my ESPeasy thermostat. Not only power loss, but randomly reboot. So I am sending correct values every minutes from Domoticz to ESPeasy through LUA scripts. If I was not lazy: I define user variable "ESP_003_BOOT" in Domoticz and set it to 0. When ESPeasy bo...
by kimot
05 Mar 2018, 14:16
Forum: ESP Easy: Software
Topic: Rules "OR" Statement
Replies: 6
Views: 5451

Re: Rules "OR" Statement

@getget You not reading very thoroughly Nested "if" is not allowed: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules " BUT, only simple if/else is possible - so nesting and Boolean logic are not supported. However there is a workaround for the limitation of not being able t...
by kimot
05 Mar 2018, 14:04
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75685

Re: Rules GPIO state and toggle

Here is my solution to switch relay by push button, by event from another ESP ( sending command "lamp_change" ) or by command "lamp_on" or "lamp_off" from Domoticz on lamp_on do gpio,12,1 gpio,13,0 endon on lamp_off do gpio,12,0 gpio,13,1 endon on lamp_change do if [rel...
by kimot
28 Feb 2018, 23:46
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy with disabled wifi (battery and deep sleep)
Replies: 4
Views: 4970

Re: ESP Easy with disabled wifi (battery and deep sleep)

55 days not with 1 minute interval, but 5 minute DeepSleep interval...

"hodnota 300000000 je právě zmíněnných 300s (5minut), po které bude ESP8266 v Dsleep módu."

I speak czech too :o)

So with your 15 min interval it will be theoretically cca 3x50 days
by kimot
28 Feb 2018, 23:32
Forum: ESP Easy: Hardware
Topic: Sonoff Basic + wall push button with pilot light
Replies: 21
Views: 16467

Re: Sonoff Basic + wall push button with pilot light

If led lights, when connected directly to gpio, it means, that current flow through internal pullup is enough for this.
I think, you can use it this way - sonoff will read 1 when switch not pressed and 0 for pressed switch ( and LED will switch off for this moment )