Search found 587 matches

by enesbcs
20 Oct 2017, 19:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

mcfarlde wrote: 20 Oct 2017, 13:09 Can you share the binary, I have the same boards.
Yes of course, the binary is always being uploaded to the first post of this thread, and the source is uploaded to the github.
download/file.php?id=1581
by enesbcs
13 Oct 2017, 18:26
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

Now im stuck :-/ on 2 points (i think) 1. How do i pass a variable over the serial port to ESP Easy. I take it i would send a command like SerialSend followed by the value? i cannot find any documentation on serialSend? 2. Once i have the value in ESP Easy then would i set up some "rule" ...
by enesbcs
12 Oct 2017, 21:42
Forum: ESP Easy: Software
Topic: serial port send data to Thingspeak
Replies: 8
Views: 6916

Re: serial port send data to Thingspeak

Hi All, Im VERY new to ESPeasy so please excuse any stupid questions. I have a current prototype unit that consists of a PIC controller that is connected to an ESP 12E via the serial port. The PIC has a few sensors connected to it and sends this data to Thingspeak. Currently I use AT commands to ac...
by enesbcs
09 Oct 2017, 19:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

@ enesbcs : watch out that your plugin cannot work properly in all conditions due to limitation design of ESPEasy PLUGIN_WRITE call. Basically while executing PLUGIN_WRITE you have 2 limits: 1) only first device of the same "plugin type" will execute the commands sent (in this case not re...
by enesbcs
07 Oct 2017, 14:16
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

I think this idea of dual relays control for blinds should be implemented in a more generic plugin. Like you can select the output (SonoffDual, or 2 GPIOs controlling to normal relays) and have all the logic applied when UP/DOWN (or left/right in case of curtains!) commands are sent to it. We can c...
by enesbcs
07 Oct 2017, 14:14
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

Hi, Your new plugin with the solution to include the blinds works fine. In fact with this solution there is not even a need to put a delay time between one switch and the other because the communications with domoticz work well and the blind engine has no problems. Congratulations still on your job...
by enesbcs
07 Oct 2017, 09:56
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

the commands I used are relay,0,1 etc. I made a copy and paste the rules you wrote in your previous post. :P Now i understand the problem. This plugin has 3 return value, and everytime when either is changing returns all three value... so if the first relay is on, and the second is also on there we...
by enesbcs
05 Oct 2017, 19:40
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

it does not switch relay0,1 and relay1,0, I even noticed that with this rule when the Button0 or the Button1 is active the dual janeff crashes and after a few seconds restarts. relay1,0 is not a command relay1,0, is not a command relay,1,0 is a command Are you sure that you are using it correctly? ...
by enesbcs
04 Oct 2017, 20:44
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

Hi enesbcs Congratulations on your job, I used your plugin successfully with domoticz. Now I have trouble with the rules for 4/5 days that I'm doing tests but not successful so I wanted to write to you. My project as I think others is to use the Sonoff Dual for the blinds, and make sure that when I...
by enesbcs
27 Sep 2017, 21:50
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

I thought about serial logging as well but I think the problem is to do with the relay not the ESP, because it didn't always turn on the first time when I sent the command from my computer using serial and also when I was using different firmware, but with firmware you sent it seems to work every t...
by enesbcs
26 Sep 2017, 19:52
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

OK I got "/control?cmd=relay,0,1" to work I had to load the page twice because the relay needs to be sent "A00101A2" twice for it to turn on sometimes Interesting, maybe serial logging is enabled in Espeasy? But can be fixed, new binary attached with command doubling. :) Anyway ...
by enesbcs
25 Sep 2017, 23:09
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

I wasn't able to get it working with the test binary but with ESPEasy I was able to make a Serial server with these settings and was able to turn the relay off and on using these commands from my linux computer :D echo -n -e '\xA0\x01\x01\xA2' | nc -q 0 192.168.1.50 8080 echo -n -e '\xA0\x01\x00\xA...
by enesbcs
19 Sep 2017, 19:34
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

enesbcs wrote: 31 Aug 2017, 17:24 If you're willing to try, i can make a test binary with the above commands, but there is no guarantee. :)
Update: attached 1M/128k SPIFFS for black ESP-01
There are 8 downloads, if anyone had time to try it, please let me know the results. :)
by enesbcs
11 Sep 2017, 17:30
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 693197

Re: New ESP gadget

And with internal power supply? (50x33x22mm) http://www.ebay.com/itm/AC-220V-Wifi-Relay-Switch-Module-Low-Power-Jog-Mode-Remote-Control-Smart-Home-MO/152549195700?ssPageName=STRK%3AMEBIDX%3AIT Have you look the distance between relay pins (NO/COM/NC) and the ESP pins? Would you consider have main l...
by enesbcs
10 Sep 2017, 18:52
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 693197

Re: New ESP gadget

Anyone tried DiFi ESP8266? Seems nice, altough it's price is higher than a Raspberry Pi Zero W. :)
https://www.aliexpress.com/item/DiFi-ES ... 45026.html
by enesbcs
10 Sep 2017, 18:47
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 693197

Re: New ESP gadget

https://pl.aliexpress.com/item/New-Arrival-1Pcs-Green-ESP8266-10A-220V-Network-Relay-WIFI-Module-Input-DC-7V-30V-Modules/32733819759.html what's the point? more expensive than a sonoff and it requires an external power supply... :? And with internal power supply? (50x33x22mm) http://www.ebay.com/it...
by enesbcs
04 Sep 2017, 20:37
Forum: ESP Easy: Software
Topic: config not accessible after firmware upload
Replies: 3
Views: 2933

Re: config not accessible after firmware upload

I have a wemos D1 and after the firmware upload (flash) I can connect to the ESP_0 wifi network. but I don't get the config page. If I try directly 192.168.4.1 in the browser there is no response. I would try espeasy 2.0 dev11 as i know it handles flash a little different than 1.20. (config pages o...
by enesbcs
31 Aug 2017, 17:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

Bought this ESP8266 5 V WiFi relaismodul in china https://de.aliexpress.com/item/ESP8266-5V-WiFi-relay-module-Things-smart-home-remote-control-switch-phone-APP/32738099717.html?spm=a2g0s.9042311.0.0.5Thz2C it also works with a serial controled MCU... May you have a idea to get it work with easyesp?...
by enesbcs
20 Aug 2017, 18:34
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Re: Yewelink/Tuya WiFi Touch wall light switch

I've found another WiFi light switch , i hope it also will be a Tuya clone with ESP8266.. I've ordered today and waiting. It's EU version with rounded back according the pictures. Update: It's definitely a Tuya clone! With ESPEasy P165 plugin this touch wall light switch works! http://m.blog.hu/bi/...
by enesbcs
20 Aug 2017, 18:14
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

But may you can compile a new version without the "dev" digtis in the webinterface for me? I've get rid of the 'dev' digits, it's in fact in the webserver.ino for some reason, the numbers were the length of the written chunks.. i do not know what was the purpose, commented out the lines d...
by enesbcs
04 Aug 2017, 07:21
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

But may you can compile a new version without the "dev" digtis in the webinterface for me? many thanks. RR Thank you, for testing it. In the meantime i also win a Sonoff Dual for 8$ i hope it will arrive from China soon. :) I removed the development bit from the plugin and from espeasy.in...
by enesbcs
19 Jul 2017, 00:31
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

And tried to test the send2http in the rules on sonoff#Relay0 do if [sonoff#Relay0]=0 SendToHTTP 192.168.253.11,80,/json.htm?type=command&param=switchlight&idx=50&switchcmd=Off else SendToHTTP 192.168.253.11,80,/json.htm?type=command&param=switchlight&idx=50&switchcmd=On end...
by enesbcs
08 Jul 2017, 21:24
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 693197

Re: New ESP gadget

Anyone seen Xenon WiFi Touch Switch? It's more expensive than Sonoff Touch...
by enesbcs
08 Jul 2017, 21:18
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Re: Yewelink/Tuya WiFi Touch wall light switch

I've found another WiFi light switch , i hope it also will be a Tuya clone with ESP8266.. I've ordered today and waiting. It's EU version with rounded back according the pictures. update: it's arrived, i've disassembled it to see what's inside. Real EU version, with rounded back, neutral line needed...
by enesbcs
08 Jul 2017, 08:21
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 693197

Re: New ESP gadget

... Would love to flash them with ESPEasy, as it is a real delight to work with, and easier to keep all devices around the house on one system. The most important code regarding the Dual from Espurna seems to be this snippet: ... I hope I can find some time somewhere in the next weeks to fiddle a b...
by enesbcs
05 Jul 2017, 12:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

HI the new image(for the sonoff dual) is working, relays are set on/off! ... but i get no status in domoticz, if i set the relay manally ( Thank you for your feedback. Did you create the rules? Please be careful with the relay names, first relay is "Relay0" If you named your SerSwitch mod...
by enesbcs
28 Jun 2017, 20:15
Forum: ESP Easy: General Discussion
Topic: sonoff dual flashing the ESP
Replies: 68
Views: 87367

Re: sonoff dual flashing the ESP

Hi, Here is the plugin code I used for the Sonoff dual. Had no time to learn/use github. Plugin number is also probably already used. Hi, If you own a Sonoff Dual could you try my serial plugin someday? In theory it has to be working, but i only have the other switch to test ( Yewelink ) which is w...
by enesbcs
28 Jun 2017, 20:01
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

I don't know if the code is compared : https://www.letscontrolit.com/forum/viewtopic.php?f=4&t=2869&p=16969#p17196 But here is oneother sonoff dual user with a self made plugin . (maybe some copy paste work ? It seems a similar and simpler approach, which differs from mine, because my prior...
by enesbcs
27 Jun 2017, 17:23
Forum: ESP Easy: Hardware
Topic: New Itead based Wall Switch
Replies: 28
Views: 33632

Re: New Itead based Wall Switch

Itead does not give much info about the PSB circuit but i think it's the same as with the Sonoff Dual. They use a serial driven port chip to read keys and switch the relays. As far as i know this is not supported by ESPEasy at this time. It may be done with a plugin. Are there any information about...
by enesbcs
26 Jun 2017, 23:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

Thank you for your feedback, i find extremely hard to debug any ESP code... especially without a Sonoff Dual. :) Relays are numbered from zero, so Relay0 is the first and Relay1 is the second, Relay2 is the third - which is not applicable for Sonoff Dual, only for Tuya switch. I renamed them in the ...
by enesbcs
21 Jun 2017, 17:04
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Re: Yewelink/Tuya WiFi Touch wall light switch

papperone wrote: 21 Jun 2017, 10:13 thanks, looking closely at the pictures, the only components that I cannot identify is IC1 (the small 8 pin chip in the bottom); will you be able to read his data on top?
The 8 pin chip close to C1 is a PN8024R
by enesbcs
21 Jun 2017, 07:50
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Re: Yewelink/Tuya WiFi Touch wall light switch

Thanks, I knew both of those boards, but they both use the "chucky" and big PLM-HK01 transformer while in the one you showed it seems the power wupply is not a switching-trafo but a transformerless circuit I'd like to understand abe able to reproduce... Guess the only option is to order o...
by enesbcs
20 Jun 2017, 21:42
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Re: Yewelink/Tuya WiFi Touch wall light switch

Great Job! As I'd like to learn on this devices, do you know if by chance schematic and/or PCB are available?? Thank you! I have asked API-s (or any documentation) from the ebay seller and also the manufacturer Yewelink, with no success. There are some PCB and general information on https://docs.tu...
by enesbcs
20 Jun 2017, 21:14
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Re: Serial MCU controlled relay/switch

can you maybe upload the compiled *.bin ? So i can easy test this on the Sonoff dual ? I compiled it for Generic ESP8266, 4M/1M SPIFFS, attached. Update: I provided 1M version also, Sonoff Dual ESP is 1M/128k SPIFFS according to xoseperez, Tuya is 4M/1M according to me select wisely before flash. :)
by enesbcs
20 Jun 2017, 01:40
Forum: ESP Easy: General Discussion
Topic: sonoff dual flashing the ESP
Replies: 68
Views: 87367

Re: sonoff dual flashing the ESP

I have created a plugin for a serial MCU controlled switch, which in theory could work with Sonoff Dual.. if anyone interested in testing. :) Serial MCU controlled switch plugin (beta dev)
by enesbcs
20 Jun 2017, 01:36
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 1053651

Serial MCU controlled relay/switch

Originally I have developed and tested a plugin for Yewelink/Tuya WiFi Touch wall light switch , but after some time i made it compatible with other serial controlled devices. Serial controlled devices works with the ESP RX/TX pins connected to a secondary MCU, and this MCU does the real work, ESP o...
by enesbcs
20 Jun 2017, 01:21
Forum: ESP Easy: Hardware
Topic: Yewelink/Tuya WiFi Touch wall light switch
Replies: 43
Views: 649537

Yewelink/Tuya WiFi Touch wall light switch

It can be found on ebay as "WiFi Touch Wall Switch Compatible Work with Alexa", and look likes as the following pictures shows. 1-2-3 button and black/white version also available. https://kephost.com/images/2017/06/20/ws_00.th.png With the 64x57mm size of its back, it will not fit in neit...