Search found 184 matches

by kimot
19 Aug 2021, 23:14
Forum: ESP Easy: General Discussion
Topic: Make Domoticz read a GPIO pin
Replies: 4
Views: 1937

Re: Make Domoticz read a GPIO pin

I am using some Sonnofs like relays, which can be triggered by local push button, other ESP or from Domoticz and reports its actual status to Domoticz. GPIO-0 local push button GPIO-12 relay 2021-08-19-230307_1920x1080_scrot.png On System#Boot do gpio,12,0 TaskValueSet,3,1,1 endon on Tlacitko#State ...
by kimot
19 Aug 2021, 22:55
Forum: ESP Easy: General Discussion
Topic: mysensors vs espeasy
Replies: 7
Views: 1993

Re: mysensors vs espeasy

I am using both. ESPeasy Only one times flash firmware. All other things you can do through web interface. Very comfortable sw development. Not good for battery powered devices MySensors Battery powered devices. Better range ( but you must use 868MHz or 433MHz ) Not so easy development. You must fin...
by kimot
10 May 2021, 21:03
Forum: ESP Easy: Hardware
Topic: Sonoff basic - use RX and TX pins as GPIO
Replies: 4
Views: 6994

Re: Sonoff basic - use RX and TX pins as GPIO

I am using Sonoff Basic "new layout", which has got no IO port on its pin header.
( only RX and TX )
RX pin works for two Dallas DS18B20 without any problem....
by kimot
04 Mar 2021, 21:52
Forum: ESP Easy: Projects / Applications
Topic: Rules in ESPeasy
Replies: 3
Views: 5838

Re: Rules in ESPeasy

Look here: https://www.youtube.com/watch?v=1ef6tRinOQ4 You can define fixed value for thermostat in boot section ( TaskValueSet,2,2 ) : On System#Boot do gpio,13,1 gpio,12,0 TaskValueSet,2,2,10 // initial Setpoint TaskValueSet,2,3,0 TaskValueSet,2,4,0 //mode TaskValueSet,2,1,0 //HDO timerSet,1,60 en...
by kimot
04 Mar 2021, 21:31
Forum: ESP Easy: General Discussion
Topic: GPIO pin state monitoring
Replies: 7
Views: 4343

Re: GPIO pin state monitoring

The good old method still works: ( ESP_Easy_mega_20201227_minimal_core_274_ESP8285_1M_OTA_Domoticz ) 2021-03-04-212312_1920x1080_scrot.png code example from my code for relay toggle ( and report actual state to Domoticz ): on change do if [Relay#State]=0 gpio,12,1 SendToHTTP 192.168.1.253,8080,/json...
by kimot
04 Mar 2021, 21:20
Forum: ESP Easy: General Discussion
Topic: Esp to Domoticz, connection errors
Replies: 6
Views: 3927

Re: Esp to Domoticz, connection errors

Because no mqtt broker is needed?
Another possible weak link in the information chain?
by kimot
28 Feb 2021, 22:10
Forum: ESP Easy: General Discussion
Topic: Esp to Domoticz, connection errors
Replies: 6
Views: 3927

Re: Esp to Domoticz, connection errors

And what about sending temperatures using Domoticz JSON api and ESPeasys SendToHTTP? /json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=TEMP IDX = id of your device (This number can be found in the devices tab in the column "IDX") TEMP = Temperature Maybe some pau...
by kimot
20 Jan 2021, 21:12
Forum: ESP Easy: General Discussion
Topic: Push button event every reboot or power on. Bug?
Replies: 1
Views: 2484

Push button event every reboot or power on. Bug?

I am using about 10 Sonoff Basics couple of years like floor heating thermostats without any problems. Very old version v2.0-20180322 Now I need Sonoff S26 driven by its push button and from Domoticz with report its actual state to Domoticz. It is time to try new versions, I think, so I load last ve...
by kimot
08 Jan 2021, 23:45
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 19
Views: 13948

Re: Control ESPEasy-thermostat -> Rules problem

But you set your dummy Heating variable to 1 or 0 in your RoomControl event. So erase code for setting this variable to 0 before this event has no influence to your code. You set its value in RoomControl event. In the original code i set this variable to 0 on start of thermostat loop and set it to 1...
by kimot
26 Dec 2020, 23:14
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 19
Views: 13948

Re: Control ESPEasy-thermostat -> Rules problem

@ Rade_mk Here is my solution with Domoticz. Not too complex at boot like this examples, but can be edited. Rules for ESPeasy and DzVents for Domoticz in comments. But I use very old version of ESPeasy ( v2.0-20180322 ) - maybe not all commands will work on new ESPeasy fw. Third winter without any p...
by kimot
03 Dec 2020, 21:25
Forum: ESP Easy: Projects / Applications
Topic: CO2-measurement with MH-Z19b / Neopixel / 7 segment display
Replies: 5
Views: 10979

Re: NeoPixelLine ??

Do you use a level shifter for Neopixel?
by kimot
03 Dec 2020, 21:12
Forum: ESP Easy: General Discussion
Topic: ESP32 and NeoPixel don't work
Replies: 14
Views: 15735

Re: ESP32 and NeoPixel don't work

Just to be sure, measure the voltage on the 5V pin of that board. yes, the voltage on the neopixel is 5.05 volts. Perhaps this board needs a different specific pin? Who can test for themselves, please Neopixel spec: Min datapin input voltage for high level = 0.7Vdd = 0,7*5 = 3,5V How do you reach 3...
by kimot
04 Jan 2020, 00:09
Forum: ESP Easy: Hardware
Topic: SONOFF MINI
Replies: 32
Views: 56072

Re: SONOFF MINI

Lots of info about Sonoff Mini: https://www.youtube.com/watch?v=fzEDFmB0UYU Flashing firmware through wifi in time about 12:30 in this video. Set DIY jumper to MINI. Reconfigure your router or create hotspot on your phone with specific SSID and password according the video ( 6:21 ) Use DIYTool for f...
by kimot
18 Nov 2019, 20:13
Forum: ESP Easy: Software
Topic: wake up from deepsleep at sunset
Replies: 6
Views: 5686

Re: wake up from deepsleep at sunset

You can use some little electronic ( photoresistor or photo diode etc ) .
Sleep ESP forever and after sunset create short pulse on RST to wakeup.
On boot sequence switch your lamp on, count 4 hours, switch lamp off and do sleep command.
by kimot
18 Nov 2019, 19:53
Forum: ESP Easy: Projects / Applications
Topic: LJ12A3
Replies: 2
Views: 10989

Re: LJ12A3

And where you found IDX=29 ? I think, you simply copy an example from Domoticz wiki pages or some tutorial..... It is hardware ID. Your HW ID you can obtain with: /json.htm?type=hardware Then you select your hardware under which you want to create your sensor and use its IDX in your command. After y...
by kimot
15 Nov 2019, 21:17
Forum: ESP Easy: Hardware
Topic: *WARNING* SONOFF MINI DANGER !
Replies: 2
Views: 7484

Re: *WARNING* SONOFF MINI DANGER !

Yes, it is good to know.
But with this type of powering (without transformer ) is widely known not parts of circuit is touchable...
by kimot
23 Oct 2019, 21:50
Forum: ESP Easy: General Discussion
Topic: How to find out what triggered a wake up
Replies: 7
Views: 8803

Re: How to find out what triggered a wake up

Connect rain sensor to other GPIO too and after wake up check this GPIO. If your sensor send only short pulse, which resets and wake ups ESP, you can extend pulse time, so it will be active some time after reboot on other GPIO. Use NE555 timer for example. GPIO active = wake up by pulse GPIO no acti...
by kimot
09 Oct 2019, 21:39
Forum: ESP Easy: Software
Topic: simulate button pressing of remote control
Replies: 15
Views: 8696

Re: simulate button pressing of remote control

And tried you capture and then using IRTX plugin retransmit the IR signal?
It would solve your problem with the awakening of the IR remote.
And it is more elegant solution.
viewtopic.php?f=2&t=2761&p=14045&hilit=IRTX#p14045
by kimot
05 Oct 2019, 17:28
Forum: ESP Easy: Software
Topic: send data via rules to another device
Replies: 7
Views: 6702

Re: send data via rules to another device

I am not using port number and it works in my system: ( 192.168.1.102 is IP address my ESPeasy thermostat ) 2019-10-05-171547_1920x1080_scrot.png But I am not using Mega version - it is absolutely inapplicable for me and my rules. I am using v2.0-20180322 And here are my rules for switch, which can ...
by kimot
01 Oct 2019, 23:17
Forum: ESP Easy: Software
Topic: send data via rules to another device
Replies: 7
Views: 6702

Re: send data via rules to another device

First I suggest do not use =22.5 but better >22.5. You can easily miss exact value. Switch to 1: On ESP1 rule: on Accu1#Voltage>22.5 do SendToHTTP 192.168.3.107/control?cmd=event,Accu1 endon On ESP3 rule: on Accu1 do pcfgpio,67,1 //Accu keuze 1 of 2 switch naar 1, and 67 stands for ESPEasy port nr e...
by kimot
01 Oct 2019, 22:32
Forum: ESP Easy: Projects / Applications
Topic: Espeasy & Domoticz
Replies: 11
Views: 17719

Re: Espeasy & Domoticz

Use Domoticz with http.
Works perfectly with a large number of sensors too.
( cca 160 sensors in my case )
Both types - sending to Domoticz and receiving from it.

2019-10-01-221800_1920x1080_scrot.png
2019-10-01-221800_1920x1080_scrot.png (78.64 KiB) Viewed 17132 times
2019-10-01-223106_1920x1080_scrot.png
2019-10-01-223106_1920x1080_scrot.png (357.3 KiB) Viewed 17132 times
by kimot
21 Aug 2019, 19:36
Forum: ESP Easy: Hardware
Topic: Serial Communikation Arduino ->espeasy
Replies: 6
Views: 10290

Re: Serial Communikation Arduino ->espeasy

But do not forgot, that Arduino Mega has got 5v TX, RX and ESP 3.3V
by kimot
21 Aug 2019, 19:25
Forum: ESP Easy: General Discussion
Topic: Getting Started with Sonoff 4CH V2.0
Replies: 2
Views: 7748

Re: Getting Started with Sonoff 4CH V2.0

PSF-A is ESP8285 - use firmware for this version

https://www.itead.cc/wiki/PSF-A85

Putting board to download mode - look at 1:16 here:

https://www.youtube.com/watch?v=QlJq7XzctTg

I recommend esptool for flashing ESPeasy .bin file.
by kimot
01 Aug 2019, 22:44
Forum: ESP Easy: General Discussion
Topic: Problem with Wemos D1 pro mini
Replies: 33
Views: 18875

Re: Problem with Wemos D1 pro mini

I think, you must do something wrong. Fresh flashed ESPeasy does not requires any password for first connection and configuration IP address, Try python esptool for flashing .bin file. My way ( for Linux OS - in win change ttyUSB0 to COM port ): To retrieve the characteristics of the card, run the c...
by kimot
16 Jul 2019, 17:26
Forum: ESP Easy: General Discussion
Topic: Finding the time.
Replies: 6
Views: 8367

Re: Finding the time.

"DST Settings"

Next after "NTP setting"
by kimot
11 Jul 2019, 20:30
Forum: ESP Easy: Software
Topic: Serial data from arduino uno to espeasy
Replies: 7
Views: 7650

Re: Serial data from arduino uno to espeasy

You do not need Ser2net for sending data from Arduino to ESPeasy.
Simply send command via serial line.

Third line in tab here:
https://www.letscontrolit.com/wiki/inde ... _Reference

Search this forum - I remember it was solved here somewhere.
by kimot
02 Jul 2019, 20:46
Forum: ESP Easy: Hardware
Topic: SONOFF MINI
Replies: 32
Views: 56072

Re: SONOFF MINI

Look for Shelly1 or Shelly2 ( Shelly2.5 ).
The same function, the same size, but TX, RX and others on connestors - no soldering.
And ESP with 4M memory on board.

http://shelly.cloud
by kimot
02 Jul 2019, 20:14
Forum: ESP Easy: Projects / Applications
Topic: Solved! Since update endless feedback loop of a switching command between ESP EASY and Domoticz
Replies: 19
Views: 37710

Re: Since update endless feedback loop of a switching command between ESP EASY and Domoticz

Disable "send to controller" In Domoticz On / Off action use your pcfgpio commands. And in your rules send json htttp command about switch state to Domoticz. Then if you switch from Domoticz - it sets gpio and do not send back to Domoticz. If you set switch by rules in ESPeasy- it sets gpi...
by kimot
23 Jun 2019, 16:01
Forum: ESP Easy: Hardware
Topic: Manually entered address for 1-Wire device (DS18B20)
Replies: 3
Views: 10784

Re: Manually entered address for 1-Wire device (DS18B20)

Connect one sensorr on the bus and set its address in device tab.
Then connect other and again set this device.
After that, put all of them on the bus together.
by kimot
05 Jun 2019, 19:36
Forum: ESP Easy: Software
Topic: GPIO problem with deep sleep
Replies: 8
Views: 14617

Re: GPIO problem with deep sleep

Wemos D1 + power bank 2500mAh ( about 7 days working time )
Data are send every 5 min to Domoticz.
If I forgot recharge battery, Domoticz sends me email ( and SMS notification ) after 15 min without incoming data from sensor.
by kimot
05 Jun 2019, 19:18
Forum: ESP Easy: Hardware
Topic: Broken I2C bus.
Replies: 7
Views: 12571

Re: Broken I2C bus.

ESP8266 do not have i2c bus.
It is sw emulated.
So try different pins or check possibly conflicts (TX,RX - disable serial port etc.)
by kimot
29 May 2019, 21:20
Forum: ESP Easy: Software
Topic: GPIO problem with deep sleep
Replies: 8
Views: 14617

Re: GPIO problem with deep sleep

I am using this sensor too with deepsleep and no "heating" on my board. It is placed along previously used DS18B20 and both temperatures are almost identical. And I suppose, that BME280 plugin switch this circuit to power save mode between measurements. But if not, 3.6 μA working current i...
by kimot
01 May 2019, 20:04
Forum: ESP Easy: Projects / Applications
Topic: water level with ultrasonic distance meter - error readings
Replies: 16
Views: 11553

Re: water level with ultrasonic distance meter - error readings

It looks like software problem with your code. I am using HC-SR04 without any problem reading water surface. My measuring range is 110 cm = empty tank, 2 cm = full tank. ( this is now ). Only problem I have got - when it is raining, some water drops condenses on sensor at night. Or I need better cov...
by kimot
28 Apr 2019, 21:55
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 9794

Re: rules - example not working -

Try different version of ESPeasy.
It seems, you are using some "mega" version.
I recommend last v2.0 versions.

My simple if statements, which works with v2.0 do not works with mega version.
by kimot
23 Apr 2019, 19:09
Forum: ESP Easy: Hardware
Topic: Sonoff Classic - works with USB not 230V
Replies: 2
Views: 1728

Re: Sonoff Classic - works with USB not 230V

And what is Sonoff Classic ??
Maybe you connect mains to output, not input.
Bad soldered input terminals.
Measure 3.3V on programming pins with mains connected.
Or if you test with USB on your table and with power line Sonoff laying on floor, it can be issue too.
by kimot
23 Apr 2019, 18:55
Forum: ESP Easy: General Discussion
Topic: Outgoing TCP (Telnet) connection via UART?
Replies: 4
Views: 2516

Re: Outgoing TCP (Telnet) connection via UART?

I do not exactly know what you mean (telnet ).
But you can send event through serial line and with rules send UDP command to other ESPEASY.
by kimot
22 Apr 2019, 21:21
Forum: ESP Easy: Projects / Applications
Topic: Direct connection between two ESPEASY modules?
Replies: 6
Views: 6391

Re: Direct connection between two ESPEASY modules?

But you still need wifi accespoint.
That was question of previous post.
ESP-NOW is solution for this.
by kimot
19 Apr 2019, 20:16
Forum: ESP Easy: Hardware
Topic: Reboot cause: WEMOS D1 (clone) voltage regulator ??
Replies: 10
Views: 11084

Re: Reboot cause: WEMOS D1 (clone) voltage regulator ??

ESPEASY randomly reboots. It is the fact and must be sw problem. I have got about six wemos D1 with ESPEASY ( Rxxx, v2.0 and mega releases tested ). Two DS18B20 and relay ( Wemos module relay board ). All reboots randomly. The same Wemos works like ethernet gateway for MySensors network - RFM69 radi...
by kimot
17 Apr 2019, 20:32
Forum: ESP Easy: Software
Topic: What can users do to make ESPEasy more attractive.
Replies: 16
Views: 7195

Re: OTA updates on 1MB devices

@grovkillen I think, you need some stable relase. And I do not mean old and slow Rxxx relases. Each mega brings something new, but looses something different, what works fine before. I found some latest v2.0 version, which is compromise for me. Then are still changes And what works fine, for example...
by kimot
14 Apr 2019, 22:24
Forum: ESP Easy: General Discussion
Topic: How to wake from deep sleep
Replies: 7
Views: 3770

Re: How to wake from deep sleep

When postman put something to your box you must generate short ground pulse on reset pin to boot your ESP.
by kimot
04 Apr 2019, 20:51
Forum: ESP Easy: General Discussion
Topic: lcd2004 with big fonts option available?
Replies: 2
Views: 1889

Re: lcd2004 with big fonts option available?

LCD2004 is character oriented display. Each character is 8x5 dots with space between characters and lines too. Characters are stored in displays ROM and called by ASCII code. But you can define 8 characters by own and stored then in displays RAM. So you can create something like this: DSC_0533.jpg Y...
by kimot
28 Mar 2019, 09:54
Forum: ESP Easy: Projects / Applications
Topic: Relay
Replies: 8
Views: 4453

Re: Relay

Do you realize that the event relay#rele is only executed when the relay status changes? How do you do that? In some other part of the program? If not, this event will never happen and cannot work.
by kimot
26 Mar 2019, 19:58
Forum: ESP Easy: Projects / Applications
Topic: Relay
Replies: 8
Views: 4453

Re: Relay

Nice, but still -what is relay#rele ? I can see only rele#rele in your last picture. And on new firmwares, checking relay status by defining input on the same pin is problematic. I am using it, but on older versions _dev13 and v2.0 And you are using event: When toggle relay (change its status - but ...
by kimot
26 Mar 2019, 19:50
Forum: ESP Easy: General Discussion
Topic: Sonoff Basic and latest versions of ESP firmware
Replies: 6
Views: 3714

Re: Sonoff Basic and latest versions of ESP firmware

My Sonoff Basic:
2019-03-26-194435_1920x1080_scrot.png
2019-03-26-194435_1920x1080_scrot.png (101.79 KiB) Viewed 3645 times
I think message " ESP_Easy_0, connected, no internet" is correct.

ESPeasy is in AP mode ( and without internet connection of course )

You must connect to it ( 192.168.4.1 ) and set your wifi network SSID and password.