Search found 159 matches

by kimot
12 Feb 2019, 19:13
Forum: ESP Easy: General Discussion
Topic: [SOLVED] Problems getting ESPEasy configured - unresponsive after reboot
Replies: 7
Views: 710

Re: Problems getting ESPEasy configured - unresponsive after reboot

My way to program Sonoffs: To check comunication: esptool.py --port /dev/ttyUSB0 flash_id Erase flash: esptool.py --port /dev/ttyUSB0 erase_flash Program ESPeasy bin: esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ESP_Easy_v2.0-20180322_normal_ESP8285_1024.bin Repower Sonoff and co...
by kimot
11 Feb 2019, 19:56
Forum: ESP Easy: Hardware
Topic: Deep Sleep issue
Replies: 1
Views: 284

Re: Deep Sleep issue

Try V2..0 firmware. It Is half way between R147 and mega. But more stable than mega for me.
by kimot
07 Feb 2019, 23:09
Forum: ESP Easy: General Discussion
Topic: Get data sent by data-push (http) in domoticz
Replies: 4
Views: 586

Re: Get data sent by data-push (http) in domoticz

Rules....
example:

Code: Select all

on Outdoor do   
 TaskValueSet,5,1,%eventvalue%
endon 
2019-02-07-230546_1920x1080_scrot.png
2019-02-07-230546_1920x1080_scrot.png (126.23 KiB) Viewed 553 times
by kimot
07 Feb 2019, 12:14
Forum: ESP Easy: General Discussion
Topic: Get data sent by data-push (http) in domoticz
Replies: 4
Views: 586

Re: Get data sent by data-push (http) in domoticz

Yes, It is possible. I am sending outdoor temperature to my heating control nodes for example. For inspiration part of my Dzvents script, which I call every minute: --Outdoor local outdoor = domoticz.devices('Outdoor') -- Kacka local urlHDO = 'http://192.168.1.102/control?cmd=event,Outdoor='..(outdo...
by kimot
06 Feb 2019, 18:37
Forum: ESP Easy: Hardware
Topic: DS18B20 setup to ignore Extreme data
Replies: 7
Views: 689

Re: DS18B20 setup to ignore Extreme data

The bad value is most likely as 85, exceptionally 0.
So send with rules and ignore the value of 85.
Even in the room or outdoors, such temperature does not often occur.
by kimot
06 Feb 2019, 18:31
Forum: ESP Easy: Software
Topic: Serial port
Replies: 3
Views: 488

Re: Serial port

(1)
I think data extraction will be difficult.
Is not it better to send data in a correct format?:
viewtopic.php?t=4884

(2)
serialsend

Look at post from "mikeluyten" here:

https://github.com/letscontrolit/ESPEasy/issues/539
by kimot
03 Feb 2019, 12:03
Forum: ESP Easy: Software
Topic: Updating to mega
Replies: 5
Views: 1110

Re: Updating to mega

https://www.letscontrolit.com/wiki/index.php/ESPEasy#2.0.2B_firmware_on_1MB_modules You upload a "ESPEasyUploaderMega" firmware that does nothing else than allow you to upload a new version of ESPeasy. But you need to use a .bin file smaller or equal to 500kB, because you can use only half of ESP w...
by kimot
03 Feb 2019, 11:35
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 Thermostat
Replies: 17
Views: 4085

Re: ESP8266 Thermostat

It is very easy schedule temperature setting from Domoticz. When I was planning my heating regulator, I imagined a similar sophisticated device with a display and buttons. But the circumstances forced me to make the quick fix, that I have achieved with ESPeasy and Domoticz. And now almost after two ...
by kimot
27 Jan 2019, 22:50
Forum: ESP Easy: Hardware
Topic: Wall switch with mechanical button?
Replies: 11
Views: 1234

Re: Wall switch with mechanical button?

Shelly has got significantly smaller diameter than in wall box.
I think you can put two WAGOs between the wall of the box and the Shelly.
Plus you can use the Shelly connector and the switch contacts to divide the wires.
images.jpeg
images.jpeg (5.16 KiB) Viewed 712 times
shelly 1 - ad.jpg
shelly 1 - ad.jpg (1.13 MiB) Viewed 712 times
by kimot
27 Jan 2019, 10:11
Forum: ESP Easy: Hardware
Topic: Sonoff Basic doesn't start when GPIO2 is LOW
Replies: 3
Views: 812

Re: Sonoff Basic doesn't start when GPIO2 is LOW

At first I suggest using different GPIOs - I am using RX and TX pins from new Sonoffs connector.

Or you must use some circuit like this:
IMG_20190127_094534.jpg
IMG_20190127_094534.jpg (208.64 KiB) Viewed 779 times
by kimot
25 Jan 2019, 21:52
Forum: ESP Easy: Software
Topic: Wemos with pt100/max31865
Replies: 5
Views: 1176

Re: Wemos with pt100/max31865

Here is example how to send data to Domoticz: https://diyprojects.io/esp8266-web-client-sending-data-domoticz-tcp-ip-wireless-api-json/ But is for different dummy device ( combination temp + hum + pressure ) By the way, your IDX 4732 is odd. Domoticz allocates IDX incrementally. So you have got more...
by kimot
25 Jan 2019, 12:14
Forum: ESP Easy: Software
Topic: Wemos with pt100/max31865
Replies: 5
Views: 1176

Re: Wemos with pt100/max31865

And what is : Temp sensor; At Adafruit_MAX31865 library is nothing that. you create Adafruit instance calling Adafruit_MAX31865 max = Adafruit_MAX31865(8, 7, 6, 5); But you are using some sensor.getTemp function. Where it is defined? It look like mixing two independent code, but not completely.
by kimot
24 Jan 2019, 21:20
Forum: ESP Easy: Software
Topic: relay go on but after gpio12.0 it will stay on help plz
Replies: 6
Views: 515

Re: relay go on but after gpio12.0 it will stay on help plz

Look how this boy connected one from four relays on board from the same manufacturer - YWROBOT

Through transistor ....

https://www.instructables.com/id/ESP826 ... martphone/
https://cdn.instructables.com/ORIG/F9Z/ ... 8KRC7U.pdf
by kimot
24 Jan 2019, 21:08
Forum: ESP Easy: Software
Topic: relay go on but after gpio12.0 it will stay on help plz
Replies: 6
Views: 515

Re: relay go on but after gpio12.0 it will stay on help plz

Look here: http://www.wholesalebuying.com/product/effective-stable-1-channel-5v-indicator-light-led-relay-module-for-arduino-214386 "Relay control interface by single chip IO. Low level suction close, high level release." http://irishelectronics.ie/epages/950018241.sf/en_GB/?ObjectPath=/Shops/950018...
by kimot
24 Jan 2019, 19:38
Forum: ESP Easy: Software
Topic: relay go on but after gpio12.0 it will stay on help plz
Replies: 6
Views: 515

Re: relay go on but after gpio12.0 it will stay on help plz

And which version of ESPeasy ?

I think, it must works.

What response of your ESP in browser after sending this commands?
2019-01-24-193419_1920x1080_scrot.png
2019-01-24-193419_1920x1080_scrot.png (70.75 KiB) Viewed 476 times
2019-01-24-193409_1920x1080_scrot.png
2019-01-24-193409_1920x1080_scrot.png (71.54 KiB) Viewed 476 times
by kimot
22 Jan 2019, 11:06
Forum: ESP Easy: Software
Topic: Rules Help
Replies: 13
Views: 982

Re: Rules Help

Simply enable pullup and through switch connect gpio to ground.
by kimot
22 Jan 2019, 09:27
Forum: ESP Easy: Software
Topic: NodeMcu and buzzer
Replies: 2
Views: 369

Re: NodeMcu and buzzer

Send other command which sets gpio low or do it by rules with Timer.
by kimot
22 Jan 2019, 09:19
Forum: ESP Easy: Hardware
Topic: Can't get 7Seg to display anymore
Replies: 1
Views: 220

Re: Can't get 7Seg to display anymore

Maybe the same problem?
5V vs. 3,3V ?

viewtopic.php?f=5&t=3512&start=200#p34801
by kimot
22 Jan 2019, 09:09
Forum: ESP Easy: Hardware
Topic: Connecting a TM1637 4-Digit Display
Replies: 211
Views: 42988

Re: Connecting a TM1637 4-Digit Display

@venom
It is simple problem.
On picture I can see you power your TM1637 from 5V on Wemos.
If you look at the TM1637 datasheet, you can read:

Min. Log H = 0.7Vdd
0,7 * 5 = 3,5V
But your ESP runs on 3,3V, so never reach 3,5v on gpio output.
Try power TM1637 from 3,3V pin
by kimot
22 Jan 2019, 08:42
Forum: ESP Easy: Software
Topic: Rules Help
Replies: 13
Views: 982

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: 1687

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: 345

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: 1028

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: 799

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&t=3...
by kimot
16 Jan 2019, 12:31
Forum: ESP Easy: General Discussion
Topic: ESPEasy v2.0.0-dev13
Replies: 39
Views: 10540

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" versions do not handl...
by kimot
15 Jan 2019, 14:24
Forum: ESP Easy: Software
Topic: ESP Easy and BME280 data
Replies: 6
Views: 1159

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 calculated by plug...
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: 795

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: 1234

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: 1028

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: 895

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: 895

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: 1513

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: 895

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: 491

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 reports statu...
by kimot
23 Dec 2018, 22:30
Forum: ESP Easy: Projects / Applications
Topic: threeway switch traveler system
Replies: 3
Views: 491

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: 1594

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: 1594

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: 1594

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: 1216

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 and each i...
by kimot
16 Nov 2018, 20:18
Forum: ESP Easy: Hardware
Topic: Sonoff 4CH Pro R2 bricks after flashing
Replies: 5
Views: 1647

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: 377

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" I have got two problems: First...
by kimot
19 Oct 2018, 20:26
Forum: ESP Easy: Projects / Applications
Topic: espeasy + domoticz to dimmer light
Replies: 7
Views: 1992

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¶m=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 16/32 Level shou...
by kimot
27 Aug 2018, 22:29
Forum: ESP Easy: Hardware
Topic: Remote control+monitor 3phase
Replies: 5
Views: 1127

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: 1742

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¶m=switchlight&idx=26&switchcmd=On SendToHTTP 192.168.1.253,8080,/json.htm?type=command¶m=ude...
by kimot
25 Jul 2018, 23:11
Forum: ESP Easy: General Discussion
Topic: Send timer value to Domoticz?
Replies: 10
Views: 1742

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¶m=updateuservariable&vname=USERVARIABLENAME&vtype=USERVARIABLETYPE &vvalue=USERVARIABLEVALUE Remember to change: USERVARIABLENAME with the name of your...
by kimot
25 Jul 2018, 22:37
Forum: ESP Easy: Software
Topic: Flash ESPeasy from linux
Replies: 2
Views: 1583

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: 988

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.letscontr...
by kimot
31 Mar 2018, 19:16
Forum: ESP Easy: General Discussion
Topic: Espeasy with momentary switches / impulse (latching) relay
Replies: 4
Views: 1325

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?