Search found 587 matches

by enesbcs
13 Nov 2018, 21:56
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1039748

Re: Serial MCU controlled relay/switch

Hello. I was looking for firmware to control LCTech 4ch board and I've found this forum. Unfortunetly above link is not working anymore :( . Could you attach file once again. As always, you can find the compiled binaries attached to the first post in this thread. Try the PUYA safe binary if you are...
by enesbcs
11 Nov 2018, 09:50
Forum: ESP Easy: Hardware
Topic: table presence
Replies: 6
Views: 5031

Re: table presence

Another idea:
I2C thermal camera? :)
https://www.adafruit.com/product/3538
You can even tell if there is hot soup on the table...
by enesbcs
05 Nov 2018, 13:42
Forum: ESP Easy: Hardware
Topic: Shelly Wifi operated relay switch
Replies: 12
Views: 14793

Re: Shelly Wifi operated relay switch

vojtishek wrote: 05 Nov 2018, 12:44 https://shelly.cloud/product/shelly-1-open-source/

Or at least into domoticz :)
Shelly stock firmware also works with Domoticz with a python plugin:
https://github.com/enesbcs/Shelly_MQTT

Otherwise there are a simple ESP8266 inside with 2MB flash, you can flash ESPEasy to it.
by enesbcs
03 Nov 2018, 11:26
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

The idea is the alarm pin pulses the RST pin on the ESP to wake it. Because the pin does not go low and back to high the ESP does not reset and wake up. I have to momentarily ground the ESP RST pin to wake it. Only then does the INT/SQW pin on the RTC reset to 3.3 volts. I do not have new idea abou...
by enesbcs
02 Nov 2018, 18:37
Forum: ESP Easy: Projects / Applications
Topic: remote relay using two esp8266 via device AP
Replies: 4
Views: 4322

Re: remote relay using two esp8266 via device AP

Goal / Requirements: to have 2 devices connected to each other using an AP on one of the devices (AP host + client, they will NOT be connected to WiFi via a router, direct p2p is needed, needs to be stand alone) Device One - (probably the host) will be connected to a voltage sensor (Analog pin A0) ...
by enesbcs
31 Oct 2018, 16:03
Forum: ESP Easy: Projects / Applications
Topic: WiFi Button with ModemSleep
Replies: 2
Views: 2478

Re: WiFi Button with ModemSleep

grovkillen wrote: 31 Oct 2018, 15:35 OOOOOH, sweet! I want to have this featured on the upcoming home page :)
Waoh a new page is under development? :) Thanx, I feel honored.
In the matter of fact, i have a lot of ESP projects, but i am too lazy to translate it... i'll start once. :)
by enesbcs
31 Oct 2018, 15:16
Forum: ESP Easy: Projects / Applications
Topic: WiFi Button with ModemSleep
Replies: 2
Views: 2478

WiFi Button with ModemSleep

I found the Button project and slightly revised. I have added a 0.8-3.3 to 3.3VDC step-up converter to it with 2xAAA battery. (can be done with a 1.8-5.5V to 3.3V Step up-down converter + 3xAAA battery) - update : the small step-up converter i have used is unable to provide enough power for the ESP ...
by enesbcs
27 Oct 2018, 21:18
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1039748

Re: Serial MCU controlled relay/switch

Hi having this modul attached to fhem via espbridge How can I switch the relay? do int it at the moment via wget but isn't there a option via esp module fhem? Thanks How can you execute any ESPEasy command via fhem? You can use exactly the same way the relay command, mentioned at the first post of ...
by enesbcs
27 Oct 2018, 17:14
Forum: ESP Easy: Projects / Applications
Topic: ASP easy as accespoint
Replies: 4
Views: 3733

Re: ASP easy as accespoint

I need no mesh network. Just connection between my iphone esp device and laptop. The esp device will be action as accespoint and also capabilities to set a relais reading a sensor. Basically add softaccespoint to the easpeasy for the esp32 ill think. If you did not setup wifi settings, than ESPEasy...
by enesbcs
26 Oct 2018, 22:20
Forum: ESP Easy: Software
Topic: rc-switch plugin
Replies: 62
Views: 65251

Re: rc-switch plugin

But when I add _P111_RF.ino i get the following error message: exit status 1 'irReceiver' was not declared in this scope I also considered the suggestion "Also use the _P035_IRTX.ino and _P016_IR.ino plugins, then it will work." mentioned in the post of kniazio. Any Idea Old thread, but.....
by enesbcs
25 Oct 2018, 21:12
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

any possibility to make plugin for ds1307 ? hardware can be purchased cheap at aliexpress I just got a working DS1307 and succesfully tested with this plugin: _P156_DS1307.ino Precompiled binary (contains DS3231+DS1307 plugins also) I am too lazy to merge with my DS3231 plugin... they are similar b...
by enesbcs
15 Oct 2018, 23:37
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

The idea is the alarm pin pulses the RST pin on the ESP to wake it. Because the pin does not go low and back to high the ESP does not reset and wake up. I have to momentarily ground the ESP RST pin to wake it. Only then does the INT/SQW pin on the RTC reset to 3.3 volts. Looking at the DS3231 datas...
by enesbcs
11 Oct 2018, 20:50
Forum: ESP Easy: Hardware
Topic: table presence
Replies: 6
Views: 5031

Re: table presence

Hello all, I have a dining table made of wood. To if the lights above the table should go on I have mounted a PIR(with smallest sensitivity) in the ceiling above it. However it is not working well for two reasons: 1) When it is dark and I walk by the table on lets say a 2 meters distance, the light...
by enesbcs
10 Oct 2018, 07:04
Forum: ESP Easy: General Discussion
Topic: Relay (high/low level trigger)
Replies: 2
Views: 4426

Re: Relay (high/low level trigger)

My setup 1. Hardware = Wemos D1 Mini (powered by a micro usb cable and a decent power supply) 2. 4 relays module (hi / low level trigger) My 5v and ground is connected to the Relays board, and the D7 (GPIO 13) is connected to the first signal of the relays board. The PWR led of the relay board is o...
by enesbcs
07 Oct 2018, 15:45
Forum: ESP Easy: Hardware
Topic: Relais switching on at boot up MCU
Replies: 13
Views: 7159

Re: Relais switching on at boot up MCU

Hello All, i have a ralais board with 8 relais as "active low" From my Lolin Nodemcu V3 i go from GPIOs to an ULN2803 Transistor Array because of 3.3V to 5V converting. So far all works great. So if i set GPIO to "High", the ULN2803 sets the input on the raleisboard to "LOW...
by enesbcs
07 Oct 2018, 08:39
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

Would it be possible for you to make a bin file with this plugin in it? I have not mastered the self compile thing as of yet. Preferably a 4 meg version. If you don't have somewhere to put it for download I can set up an FTP account for you. Thanks in advance. Yes of course i can compile a 4M versi...
by enesbcs
06 Oct 2018, 19:06
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

dony71 wrote: 21 Sep 2018, 01:04 any possibility to make plugin for ds1307 ?
hardware can be purchased cheap at aliexpress
I've got a faulty ds1307 - at least when i plugged in a 3V cr1220 battery, i only measured 0,4V.. and of course after power cycling the unit, time is lost. So i ordered another one. :(
by enesbcs
28 Sep 2018, 13:22
Forum: ESP Easy: General Discussion
Topic: Is it possible to start with Core 2.4.1 for next stable ?
Replies: 2
Views: 2649

Re: Is it possible to start with Core 2.4.1 for next stable ?

Hi, is it possible to start with Core 2.4.1 for next stable. The pwm flicker problematic is only fixed in core 2.4.1..... regards Klaus EDIT: With core 2.4.2 the pwm flicker is back again !! Hi, rtttl function also only works with Core 2.4.1 to me, but serial 2way communication with 128 byte buffer...
by enesbcs
27 Sep 2018, 20:01
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

and another question is: whty i need to menage the postion using longpress!? for me is wrong doing in this way... Then manage another way. It is only a sample code. Trial and error is a scientific method. I am using it always. i think that above shold be the logic of the programming...i do not know...
by enesbcs
27 Sep 2018, 19:53
Forum: ESP Easy: General Discussion
Topic: reading of events on gpio pins for switch
Replies: 5
Views: 3929

Re: reading of events on gpio pins for switch

Hello, I was searching in source code of ESPEasy in branch "mega" for a place, when interrupt (irq / external even listener / isr ... however you call it) is configured on GPIO, if such GPIO is configured for switch. However i didn't find any. I only found a piece of code, which is called...
by enesbcs
26 Sep 2018, 07:13
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

now, to implement the last part (have the possibility to know the position of the blind: 25% 50% 75% all open or all closed) i think to act in this way: Image1.jpg this is my IDX31 with the steps of: all closed 25% 50% 75% all open Image2.jpg now to take the position of the blind and let domoticz s...
by enesbcs
25 Sep 2018, 19:49
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

i'll start in a couple of hours to try first to use the ndevice command...that's the simple way, but also the "economic way" because this is only for one windows, and i need: 1) dummy device to control the blind 4) dummy device just to record the show 1) code lua to drive from the dummy s...
by enesbcs
25 Sep 2018, 19:17
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

what i'm trying to do without success after minimun 5 hours per day since 6days, is also that with the SendToHTTP 192.168.0.105,8085,/json.htm?type=command&param=switchlight&idx=31&switchcmd=Set%20Level&level=0 i would like to update in domoticz the status of the switch but i do no ...
by enesbcs
25 Sep 2018, 17:01
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

sorry i do not understand your suggestion and the suggestion of grovkillen I really do not understand what do you want to achieve with this SendtoHTTP thing.. i suggest to sit down a little, and rethink your code. on event_DOWN_domoticz do ... SendToHTTP 192.168.0.105,8085,/json.htm?type=command&am...
by enesbcs
25 Sep 2018, 07:06
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

Just a quick thing. How about adding a SendToHTTP I'm the event_UP_domoticz event? Just to update Domoticz. Good idea! megamarco83: Also if you put a SendToHTTP or Publish in section "on Rules#Timer...", that will update Domoticz in case of switching to OFF-ed by a timer automatically. I ...
by enesbcs
24 Sep 2018, 18:10
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

just to know, why is not correct to use directly GPIO ? When you issue gpio command, than output changes it states. Period. When you issue output,relayp command, than output changes it states, checks if it collides with the Blocker expression, and register the output state in the specified UserVar ...
by enesbcs
24 Sep 2018, 07:13
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

....mybe a tricky part is to simulate for domoticz not the relay as i tried with: command to open: http://192.168.0.154/control?cmd=GPIO,15,1 command to close: http://192.168.0.154/control?cmd=GPIO,12,1 but simulate the wall switch, so the GPIO3 and GPIO1 but if i use in domoticz for example: http:...
by enesbcs
23 Sep 2018, 20:23
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

i thanks for the info i tryed to flash your file .bin but after flash not visible the wifi: esp_0 i tried also to use arduino sketch and compile modify the ESPEasy-Globals.h like this: //build all the normal stable plugins (on by default) //#define PLUGIN_BUILD_NORMAL //build all plugins that are i...
by enesbcs
23 Sep 2018, 19:19
Forum: ESP Easy: General Discussion
Topic: normal switch without real function?
Replies: 6
Views: 4237

Re: normal switch without real function?

thobastian wrote: 23 Sep 2018, 18:57 okay, this works good with 3-pin mounted switch, but what about 2-pin ?
I do not really understand what you mean about 3-pin.
I am using 2-pins. 1st is the GPIO and the 2nd pin is GND.
by enesbcs
23 Sep 2018, 18:43
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

thanks so mutch for your suggestion!! now i download on my windows pc the two sketch .ino i see this guide: https://www.letscontrolit.com/wiki/index.php/Tutorial_Arduino_Firmware_Upload but if i open the ESPEasy.ino the tutorla say: In the top of the .ino file you find the defines you can uncomment...
by enesbcs
23 Sep 2018, 17:33
Forum: ESP Easy: Software
Topic: rules for roller shutter on nodemcu+relays 2ch
Replies: 43
Views: 28436

Re: rules for roller shutter on nodemcu+relays 2ch

I think you should start little steps. There are several good solutions, but in your place i would start like this: on B_UP#Shortpress do if [relayp#R_UP]>0 output,relayp,0,0 else output,relayp,1,0 output,relayp,0,1 timerset,1,2 endif endon on B_UP#Longpress do if [relayp#R_UP]>0 output,relayp,0,0 e...
by enesbcs
23 Sep 2018, 15:33
Forum: ESP Easy: General Discussion
Topic: normal switch without real function?
Replies: 6
Views: 4237

Re: normal switch without real function?

In my settings, I switched to pull-up , but nothing happens. If you've created a Switch device in ESPEasy, to D6-GPIO12 with "Internal Pullup" then after submitting it, you can measure 3.3V at the D6 pin on its own (without cable connected), and value of 1. If not, than try D5 or D7. If y...
by enesbcs
23 Sep 2018, 15:18
Forum: ESP Easy: General Discussion
Topic: if Wifi disconnected then reboot
Replies: 2
Views: 4751

Re: if Wifi disconnected then reboot

every 1-2 weeks, sonoff stops responding (You can not see it over ip) :( Perhaps wifi is very weak at that spot or some kind of collision appear... Or if you have _more than one AP with the same SSID_, than the ESP may connected to the weaker of them, ESP is not able to connect to the strongest sig...
by enesbcs
21 Sep 2018, 09:40
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

any possibility to make plugin for ds1307 ? hardware can be purchased cheap at aliexpress https://www.aliexpress.com/item/Integrated-Circuits-DataLog-Shield-for-WeMos-D1-mini-RTC-DS1307-with-battery-MicroSD-with-pin-headers/32822527855.html?spm=2114.search0604.3.2.74c34725vrswEl&ws_ab_test=sear...
by enesbcs
20 Sep 2018, 17:55
Forum: ESP Easy: General Discussion
Topic: is it possible for one espeasy device to control other espeasy devices
Replies: 8
Views: 7181

Re: is it possible for one espeasy device to control other espeasy devices

Hi, I have multiple espeasy configured devices and i want to be able to switch some of the devices based on the states of one of them, pls is this possible and how can i accomplish it. Thanks If you have an MQTT broker, or you can install it to anywhere, for example on an OpenWRT router, or a Raspb...
by enesbcs
16 Sep 2018, 22:10
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1039748

Re: Serial MCU controlled relay/switch

Anyone sucessfully used this on the "ESP8266 4CH 12V WiFi" found on aliexpress ? https://www.aliexpress.com/wholesale?catId=0&initiative_id=SB_20180822111122&SearchText=ESP8266+4CH+12V+WiFi+ I do not own this model, but according to this description: https://www.aliexpress.com/ite...
by enesbcs
16 Sep 2018, 17:54
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

That did it! I had the serial port enabled, I was thinking that was part of the debug process so I had that disabled to prevent any conflicts. Interesting that the outbound serial worked with it disabled. Good news. If Serial is not enabled than "PLUGIN_SERIAL_IN" is never called by ESPEa...
by enesbcs
16 Sep 2018, 16:01
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

Flashed your build and no change except for the core version of course. Still shows zeros on the status when I run my script through with the commands. I think I should have more time this evening to make me a little sketch with various serial commands and log the response back a little easier to s...
by enesbcs
16 Sep 2018, 10:34
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

I recompiled and selected the 3/Dimmer#3 and while things work fine with the commands via curl, it shows 0's across the board on the state. Changing the switch manually and even refreshing the page doesn't update the states. I've tested with my 1 button Tuya switch and got the same results... after...
by enesbcs
15 Sep 2018, 08:42
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

digiblur wrote: 15 Sep 2018, 05:47 I recompiled and selected the 3/Dimmer#3 and while things work fine with the commands via curl, it shows 0's across the board on the state. Changing the switch manually and even refreshing the page doesn't update the states.
Interesting.. and the ESPEasy logs writes nothing?
by enesbcs
14 Sep 2018, 18:36
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

I haven't recompiled since you updated the plugin yet. I was just trying to verify the inbound states to the ESP before I flashed again. With the binary over 500k it's a such a pain to flash since I have to disconnect the ribbon cables, attach to the programmer, etc each time. I miss my easy OTA/HT...
by enesbcs
14 Sep 2018, 07:17
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

55 AA 00 0E 00 00 0D 55 AA 00 07 00 05 01 01 00 01 00 0E 55 AA 00 0E 00 00 0D 55 AA 00 07 00 05 01 01 00 01 01 0F 55 AA 00 07 00 08 03 02 00 04 00 00 00 B0 C7 55 AA 00 07 00 08 03 02 00 04 00 00 00 64 7B If you've selected Dimmer#3 in plugin the above datasets seems ok. This is not needed, skipped ...
by enesbcs
13 Sep 2018, 18:43
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

Yep, major I2C issues on ESP32 . That's the main reason that platform hasn't gotten the attention it deserved. Thank you for the tip. I tried, and now i think it works on ESP32. Not sure how stable it is, sometimes the temperature returns -0.25celsius at startup, but the next read it returns normal...
by enesbcs
13 Sep 2018, 18:28
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

Thank you for your work and posts on this! It helped shove me over the edge on working on this thing again. I think where I failed on not picking up the data before was I wasn't sending the data from the cloud doing my snooping which made perfect sense after I realized my mistake after flashing ESP...
by enesbcs
13 Sep 2018, 16:01
Forum: ESP Easy: Software
Topic: Read html or json...from website
Replies: 5
Views: 3133

Re: Read html or json...from website

Interesting idea. Such a plugin can be made in my opinion. Question is how to make it generally usable one.
Can you concretize with some examples?
by enesbcs
13 Sep 2018, 07:34
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

Talking to myself here tonight....ha! But it WORKS!!! YES!!! Modified your last piece to this: void sendmcudim(byte dimvalue) { Serial.write(0x55); // Tuya header 55AA Serial.write(0xAA); Serial.write(0x00); // version 00 Serial.write(0x06); // Tuya command 06 - send order Serial.write(0x00); Seria...
by enesbcs
10 Sep 2018, 19:52
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

OK, so we should have an extra check to see if it is a plausible time (anything past build time for example) and use that as check for rules. I will have a look at your PR on the playground. Thank you. I just tested it with ESPEasy32, it works. The only check i used if the year > 2017. :) Build tim...
by enesbcs
10 Sep 2018, 07:03
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy Sonoff Android application
Replies: 12
Views: 11087

Re: ESPEasy Sonoff Android application

Yeti Mobile for Android Yeti interface plugin for ESPEasy
viewtopic.php?f=6&t=5680&p=30387
by enesbcs
09 Sep 2018, 18:42
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 30963

Re: Maintain date and time in the absence of wifi

I have requested a plugin for an RTC a couple times. The DS3231 would be perfect. It has configurable timers and could be used in battery powered sensors to get around the 71 min ESP limit. I'm sure folks would come up with multiple use cases for it. :mrgreen: :mrgreen: I'm just finished a test ver...
by enesbcs
05 Sep 2018, 15:36
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31278

Re: TUYA Dimmer Switch

Could you provide more details on this so I could compile one myself since the the module on this dimmer only has a 1MByte of flash. 1MB and 4MB version attached at this post for testing purposes. For compilation you need minimum Arduino core for ESP8266 WiFi chip 2.4.0 because previous versions se...