Search found 587 matches

by enesbcs
05 Sep 2018, 15:30
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31569

Re: TUYA Dimmer Switch

SPI Mode : QIO SPI Flash Size & Map: 8Mbit(512KB+512KB) Interesting. Devices with 8mbit flash typically can be flashed at DOUT mode, not QIO. Earlier, when i am unable to flash a device, i missed the mode, sometimes GND->GPIO-0, and if there are something other connected at the RX/TX of the ESP...
by enesbcs
02 Sep 2018, 14:19
Forum: ESP Easy: General Discussion
Topic: Custom HTML page for management
Replies: 12
Views: 8813

Re: Custom HTML page for management

a similar solution is in testing phase, i call it switchboard plugin. i am currently testing it with 8 output-relay and 8 pushbutton with esp32. https://github.com/letscontrolit/ESPEasyPluginPlayground/blob/master/_P161_Switchboard.ino this is a simple plugin that uses and diaplays existing output h...
by enesbcs
31 Aug 2018, 18:54
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 20
Views: 12533

Re: How to use Modem Sleep

The idea is: Start ESP Turn OFF wifi for 15min Turn ON Wifi for 1 min Send data over MQTT to Controller Turn OFF wifi So my idea is: Store the count value into a Variable and send this during the wifi ON / connected time. But right now I'm not sure how to do this in rules. Any idea? If this "R...
by enesbcs
29 Aug 2018, 23:45
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 20
Views: 12533

Re: How to use Modem Sleep

Hello, for my weatherstation i want to use Modem Sleep instead of the deep Sleep Mode, because i have a rain gauge connected. For this the GPIOs should be active. So is there a way to use the ModemSleep mode with ESP Easy? Yes, the forum search engine shows it immediately. :) https://www.letscontro...
by enesbcs
21 Aug 2018, 20:54
Forum: ESP Easy: Hardware
Topic: TUYA Dimmer Switch
Replies: 27
Views: 31569

Re: TUYA Dimmer Switch

First of all, this is very experimental feature, because i do not own any dimmer device, so i am unable to test it. So absolutely no warranty... in theory this plugin should work with a standard Tuya dimmer. If anyone needs support, please provide me at least test data from P020 Ser2Net plugin, or y...
by enesbcs
18 Aug 2018, 14:29
Forum: ESP Easy: Projects / Applications
Topic: persistence, retain last state on stand alone application
Replies: 9
Views: 6101

Re: persistence, retain last state on stand alone application

I will also have a look at your changes for the OLED plugin, to see what you're missing in the current one :) The FrameOLED plugin is perfect for an universal device. Perhaps a command for changing pages "scrolling", scroll to specified page or stop scrolling can be handy sometimes. My mo...
by enesbcs
17 Aug 2018, 22:45
Forum: ESP Easy: Projects / Applications
Topic: persistence, retain last state on stand alone application
Replies: 9
Views: 6101

Re: persistence, retain last state on stand alone application

I spent some time with it, but with the following modifications, it seems to work OK. f.read( ((uint8_t *)&UserVar[event->BaseVarIndex] + 0), 16 ); f.write( ((uint8_t *)&UserVar[event->BaseVarIndex] + 0), 16 ); flashCount() function is not used anymore? Now the setpoint data and relay state ...
by enesbcs
16 Aug 2018, 22:23
Forum: ESP Easy: Projects / Applications
Topic: persistence, retain last state on stand alone application
Replies: 9
Views: 6101

Re: persistence, retain last state on stand alone application

I'm thinking about simple save when changed & restore on init from Spiffs to 4 plugin values. I am not sure how it works exactly, as i am not a real programmer, just a hobbist. :) in PLUGIN_INIT: if (SPIFFS.exists("thermo.dat")) { fs::File f = SPIFFS.open("thermo.dat", "...
by enesbcs
16 Aug 2018, 11:12
Forum: ESP Easy: Projects / Applications
Topic: persistence, retain last state on stand alone application
Replies: 9
Views: 6101

Re: persistence, retain last state on stand alone application

The only thing that somewhat is stored, are the plugin output values. Those are stored in RTC memory, which will survive a crash or warm reboot. As soon as the power is lost, even those are gone. But I guess having some plugin to store values, would be a nice addition. I am currently working on an ...
by enesbcs
14 Aug 2018, 21:52
Forum: ESP Easy: Software
Topic: Plugin for Yeti Mobile
Replies: 0
Views: 2579

Plugin for Yeti Mobile

I use Domoticz and its android application mainly but sometimes i missing a handy mobile app, that i can use for control a smart device directly. I know i could use "HTTP Request Shortcuts" or "MQTT Dash" for that purpose, but now if you compile plugin 169 from Playground, Yeti a...
by enesbcs
06 Aug 2018, 17:23
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Managed to get it working with your first code. Appears sleep and reading instructions correctly kinda help. Is it possible to reduce the time to less than 1 second? I will have a read and see if I can find the answer myself but just in case I fail again. Great news, you are welcome. In rules one s...
by enesbcs
05 Aug 2018, 14:21
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Can't get it to work. Relay still just turns on or off as if there are no rules. Will have a play with the rules and see if I can get something working tho Check v2: on lc#Relay0 do if [lc#Relay0]>0 timerset,1,1 endif endon on Rules#Timer=1 do relay,0,0 endon or v3: on lc#Relay0 do timerset,1,1 end...
by enesbcs
05 Aug 2018, 09:52
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Sorry about that, referring to the 12v LC Tech single channel relay (same one as the post at 116) I see. You have to enable rules in Espeasy advanced settings, then if the serial device name is "lc" and the first relay named as "Relay0" (default) then the code below switches off...
by enesbcs
04 Aug 2018, 17:15
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Whitey wrote: 04 Aug 2018, 12:13 Had one of these laying around as it was useless in its original state. Managed to flash the firmware and get it working.
What device? This plugin supports some kind from Lctech, Tuya, S.Dual.. be a little more specific. I think it can be done with EspEasy rules.
by enesbcs
13 Jul 2018, 18:43
Forum: ESP Easy: Projects / Applications
Topic: Modded "Wifi" Sound Alarm Siren project
Replies: 23
Views: 20186

Re: Modded "Wifi" Sound Alarm Siren project

Hello @enesbcs, could you please briefly explain how exactly you control the siren on PWM. Only the switch is capable of PWM, the siren is not. So i simply use gpio command and the pulse command. on System#Boot do event,stop_siren endon on pulse_siren do pulse,12,1,1000 endon on stop_siren do GPIO,...
by enesbcs
10 Jul 2018, 07:22
Forum: ESP Easy: General Discussion
Topic: Maintain date and time in the absence of wifi
Replies: 40
Views: 31079

Re: Maintain date and time in the absence of wifi

Although espeasy does not support it directly, but an RTC chip can also be used with esp8266 to maintain time when restarting with no wifi/internet. Needs some coding. :) https://techtutorialsx.com/2016/05/22/esp8266-connection-to-ds3231-rtc/ I am using a local openwrt NTP server instead on my wifi ...
by enesbcs
07 Jul 2018, 17:43
Forum: ESP Easy: General Discussion
Topic: ESP8266 entering AP mode when WiFi down
Replies: 6
Views: 11681

Re: ESP8266 entering AP mode when WiFi down

I recently noticed that when WiFi is switched off or down (during router upgrade or for maintenance) all previously connected ESPs appear as access points on channel 1 (and can be connected provided you know the WPA AP Mode Key). Is that a bug or a feature? How can that be disabled? It is a feature...
by enesbcs
04 Jul 2018, 18:04
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 26428

Re: sunrise/sunset to be used in rule

could someone give an example rule how to use %sunrise% and %sunset% variables? on this page nothing is mentioned on how to use variables: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules would this be something like this? on %sunrise% do if <test> <action> <action> endif endon I am pret...
by enesbcs
28 Jun 2018, 07:12
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649469

Re: Yewelink/Tuya WiFi Touch wall light switch

I flashed the standard ESPEasy_R120_4096.bin, which did not work and ESPEasy_Mega_P165_4M_1MS_lwip20 from this discussion . Neither caused the ESP_-access point to show. Reattaching the board to the rest of the device make all LEDs light up - it knows somethings wrong :)! Will try more later. The n...
by enesbcs
18 Jun 2018, 19:05
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Hi, thank you very much for your work. I have a problem with the webinterface. when i click on Devices and add a Serial MCU controlled switch, then I can't edit the device. The ESP-01 makes a restart. You're right... i left out one index, and ESP did not honor buffer overflow. :) Try the updated bi...
by enesbcs
18 Jun 2018, 15:15
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

countcobolt wrote: 18 Jun 2018, 08:39 do you use the web or MQTT component for this? (On Tasmota)
I am using the Tasmota MQTT with Sonoff T1, works perfecty with my Domoticz server.
by enesbcs
17 Jun 2018, 22:44
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Hello, Relay control instructions (hex hexadecimal): Open the first relay: A0 01 01 A2 Turn off the first relay: A0 01 00 A1 Open the second relay: A0 02 01 A3 Close the second relay: A0 02 00 A2 Open the third relay: A0 03 01 A4 Turn off the third relay: A0 03 00 A3 Open the fourth relay: A0 04 01...
by enesbcs
17 Jun 2018, 20:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

sorry is this is a stupid question, but will your firmware work with the Sonoff T1 2Gang (similar to the dual?). I both 2 and want to be able to control them using ESPEasy and Domoticz. This plugin will not work with any Sonoff T1. According to Tasmota wiki: "When pushing a button, the touch c...
by enesbcs
17 Jun 2018, 15:46
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Hello, I have a LCTech Relay X2 board. I installed ESPEasy on the ESP-01 (ESPEasy_1M_128kSPIFFS_PUYA.zip) and the first two relays are in function, but the last two relays are not contolled. What can I do to use all four relays? Hi, I've never seen a 4 relay version, can you provide me the link or ...
by enesbcs
07 Jun 2018, 17:28
Forum: ESP Easy: Software
Topic: Setting interval to zero
Replies: 1
Views: 1831

Re: Setting interval to zero

Is it possible to set sending interval of particular values of sensor to zero.? I want to trigger task from rules. So if I turn off sending results to controller, the rule does not run particular task. Yes, i do it regularly. But you have to recompile the ESPEasy from source. :) In all affected Plu...
by enesbcs
01 Jun 2018, 13:54
Forum: ESP Easy: Software
Topic: SleepMode and Poll Information
Replies: 4
Views: 3438

Re: SleepMode and Poll Information

I would be happy about every answer. Even a "no" :roll: I think there are some System event, that you can use for this purpose in rules. Like System#Sleep or System#Wake. If this is not that you need, you can use ModemSleep instead. I don't know what you want to "poll" there are...
by enesbcs
01 Jun 2018, 13:48
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 45
Views: 26428

Re: sunrise/sunset to be used in rule

Hi all, I would like to use sunrise/sunset time in a rule (eg sunrise + 30min) on a Wemos D1 mini using latest mega build. How to do this? An external HTTP request would be good, but not to a lokal controler. I want to be independent from another controler. Any ideas or tipps? thx You need to know ...
by enesbcs
30 May 2018, 23:55
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 691756

Re: New ESP gadget

I've found a very nice looking 27x19x18mm sized ESP8266 module with one relay and one touch button. :) https://www.ebay.com/itm/ESP8266-WIFI-IOT-Wireless-Module-APP-Touch-Controller-Intelligent-Switch-Socket/391932199168 By the way it's a Heltec Touch Relay: https://github.com/xoseperez/espurna/wik...
by enesbcs
25 May 2018, 20:33
Forum: ESP Easy: Software
Topic: Gree HVAC
Replies: 1
Views: 4255

Gree HVAC

I've been struggling with a Gree HVAC that i wanted to control by IR for a few days until now. I think the currently used IRremoteESP8266 library is inadequate for this type of device, because it is using 64 bit long remote codes... i tried arduino-heatpumpir plugin with no success. finally i've fou...
by enesbcs
19 May 2018, 20:28
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649469

Re: Yewelink/Tuya WiFi Touch wall light switch

dxfantome wrote: 19 May 2018, 19:52inside
Nice! The four pins on the left side i think will be the VCC-RX-TX-GND, started with the sqaured one.
But i do not see any serial MCU on this device.
by enesbcs
19 May 2018, 00:23
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

but one error :"Md5 check Fail!" Maybe i have to inject somehow md5 hash into "runTimeMD5" after compiling, but honestly i I do not see its practical significance. Until appearing more detailed information in here: https://www.letscontrolit.com/wiki/index.php/Tutorial_Arduino_Fi...
by enesbcs
18 May 2018, 19:16
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649469

Re: Yewelink/Tuya WiFi Touch wall light switch

Where is your research on this type of material? I am very interested in the subject ;) : pin, protocol between the MCU and the esp etc ... possible flashing? espeasy? I've tested two Tuya compatible model [1] [2] , but there are several more, that i don't i do not have, and you only know if it is ...
by enesbcs
17 May 2018, 14:17
Forum: ESP Easy: Hardware
Topic: MPU6050 - GY-521
Replies: 3
Views: 3440

Re: MPU6050 - GY-521

Hi, in the Wiki the sensor MPU6050 resp. gy-521 is explicitly listed as suppoerted. I cannot find it in the device listing of mega-20180421. Am I blind or is the sensor no more supported? I think you have to upload the TESTING or DEVELOPMENT EspEasy binary. "Plugin 045: MPU6050 [Testing]"
by enesbcs
14 May 2018, 23:19
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649469

Re: Yewelink/Tuya WiFi Touch wall light switch

vandalon wrote: 14 May 2018, 20:21 Did you ever test this one, and if so, can you confirm if it works and tell me where the ground/3v/tx/rx pins are? :)
Sorry, since the Sonoff T1 EU version arrived, i do not buy any other type.
by enesbcs
13 May 2018, 23:27
Forum: ESP Easy: Software
Topic: Modem sleep
Replies: 18
Views: 20931

Re: Modem sleep

Main code don't you think? +1 for inclusion in main code :) It would be very practical if we could choose whether to use Deep sleep or Modem sleep, as the project needs it. Deep sleep runs for a pre-defined time, but user can return from Modemsleep anytime, for example from a rule command. And of c...
by enesbcs
13 May 2018, 08:15
Forum: ESP Easy: Software
Topic: aggressive wifi reconnect, use as beacon
Replies: 2
Views: 2192

Re: aggressive wifi reconnect, use as beacon

waspie wrote: 13 May 2018, 02:24 I need it to keep retrying endlessly to the provided wifi credentials. how can this be accomplished?
Maybe try the WifiMan plugin with killap setting.
viewtopic.php?f=6&t=2846&p=21857&hilit=killap#p21857
by enesbcs
10 May 2018, 22:29
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

if it was not a problem, I would ask for such function because Domoticz need any response otherwise shows error. Fair enough, Domoticz really shows an error, if reply did not arrive to the GET command. Now i am replying with an "OK" message, Domoticz error message disappeared. It would be...
by enesbcs
10 May 2018, 08:45
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

angelo67 wrote: 09 May 2018, 23:47 Whats the different to the file
ESPEasy_Mega_P165_1M_128kS_lwip20_PUYA.bin
and
ESPEasy_Mega_P165_1M_128kS_lwip14_PUYA.bin
The first was compiled with the newer lwIP 2.0 stack, the other compiled with the old lwIP 1.4. The older supposed to be more stable, but you can try and see. :)
by enesbcs
09 May 2018, 16:09
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

angelo67 wrote: 09 May 2018, 14:03 and wich programmer software you use??
esptool and nodemcu-pyflasher
by enesbcs
09 May 2018, 08:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

I have problems with the configuration, post programming Configure the wifi connection, I wait for 20 seconds but when I try again I do not go ahead, I always stay in the wifi configuration. What programmer should I use for flash esp-01? I used a CP2102 (not FTDI) in such connections to program it:...
by enesbcs
08 May 2018, 09:13
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

nygma wrote: 08 May 2018, 08:34 WOW, man, it works! Thank you very much! Let me add a post here with the exact settings for anyone who comes around next time.
Nincs mit. Nyugodtan posztold ide a beállításokat, jellemzően úgyse olvasnak vissza, inkább kérdeznek. :)
by enesbcs
08 May 2018, 07:46
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Is it possible that this 2 relay module is somehow different? I tried the HTTP commands. First of all there is no HTTP response (empty head and body) (I am not sure if that is intentional or not). ... I am not sure why there are relay 0, 1 and 2 when I have configured that I only have 2 relays. But...
by enesbcs
08 May 2018, 07:05
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

I have an LCTech Relay X2 (2 relay module). The stock firmware on the MCU and ESP worked, I was able to control the relays with HEX codes over TCP. I flashed your ... I also configured a OpenHAB MQTT controller. I am trying to send 0 and 1 to /LCTech/Relay/Relay0 but nothing happens. The device and...
by enesbcs
05 May 2018, 18:05
Forum: ESP Easy: General Discussion
Topic: Using a ESPEasy as WiFi extender?
Replies: 5
Views: 7150

Re: Using a ESPEasy as WiFi extender?

Hi everyone,I'm not sure if i can do the following. I have a esp8266 with espeasy. I have another one far away from the router. Generally it has difficulties to connect to the router due to the distance. Is there any way to use the first ESPeasy as a gateway? There are another project, that can wor...
by enesbcs
05 May 2018, 17:08
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 691756

Re: New ESP gadget

I found a new device, looks like a redesigned Sonoff S20..
"WAZA Wifi Smart EU Plug Power Socket"
Anyone has it? I wonder if it could be flashed?
Image
by enesbcs
05 May 2018, 16:35
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Programmed the MCU of relay with the hex code from the post. And the relay works now. Well, sort of. The LED works, it turns on and off with the on/off command, but the relay does not switch. The problem is that the R3 is too big. It is 10K instead of 4.7K from LCTech. Once I changed it to 4.7K, it...
by enesbcs
04 May 2018, 06:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

I bought 4 relays from AliExpress from this user. Is it possible the relays are faked? The MCU on the relay does not work? Or it takes a different command? There are several devices on the wild which is not programmed, you need a programmer, the STC15F104W microprograms can be found at: https://www...
by enesbcs
01 May 2018, 08:38
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

If someone would like test it. Compiled using recent sources (core 2.4.1) I compiled it with PUYA patched Esp.cpp It should by work with differ than PUYA flash IC too. To fit in 1MB II got rid of some plugins that I think it can not be used with serial controlled boards. Nice work! Did you used the...
by enesbcs
30 Apr 2018, 14:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

Now I have seen that my post was to fast: Wit the original ESP8266-01 it seems not to work. But if I change with another one it works. The only difference I saw up to now is that there is the writing "AI-Cloud inside" on that one wich works and not on that one which not works. Further it ...
by enesbcs
30 Apr 2018, 07:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1050208

Re: Serial MCU controlled relay/switch

You're welcome. In the meantime i also bought an LCTech relay, but a 12V version which is also works with the same commands. But some reason it only works reliable with 115200 baud setting.
Older models speed was 9600 baud at default.