Search found 375 matches

by enesbcs
17 Jul 2019, 22:10
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 13
Views: 1162

Re: How to use Modem Sleep

spicer wrote:
17 Jul 2019, 22:02
Why the direct input modemsleep,1 is "Unknown command!" ?
Maybe you do not added the plugin to the device list.
by enesbcs
17 Jul 2019, 21:43
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 13
Views: 1162

Re: How to use Modem Sleep

This works not for me :( I compile/upload ESPEasy_mega-20190630 with sketch _P166_WiFiMan.ino. I use Arduino IDE and the tutorial from https://waschto.eu/espeasy-eigene-oder-zusaetzliche-plugins-einbinden/#top After uploading, the ESP8266 (nodeMCU V3) is death. Do you have a step by step tutorial f...
by enesbcs
15 Jul 2019, 18:18
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 124
Views: 31810

Re: Arduino Easy 2560

You are right it is expensive if you buy board.B ut he replaced the chip directly on STM32 (blue pill ) with GD32 chip.But is it worth the effort ? may be not.He shows software part in his video between 23 & 28 minutes mark.Basically he used Naze32 bootloader to make it work. Thanks Altough this GD...
by enesbcs
14 Jul 2019, 23:01
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 124
Views: 31810

Re: Arduino Easy 2560

Datasheet for GD32F103RCT6 : Lot better than STM32 at the almost same price. GD32F103RCT6 seems nice, but i've only found a Development board with it for 13USD which is almost double than the 7USD STM32F103RCT6 board.. And i did not found any detailed description about how to compile and with which...
by enesbcs
09 Jul 2019, 19:27
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 124
Views: 31810

Re: Arduino Easy 2560

I've succesfully compiled it to a Maple Mini and it is running fine:
Image
Wiring:
Image
ArduinoEasy for STM32:
Image
by enesbcs
30 Jun 2019, 19:30
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

If anybody know, how can I add this switches to home assistant? If you are adding an "OpenHAB MQTT" controller with the proper IP and port settings, and with the default Controller Subscribe /%sysname%/# ,and your unit name is for example "lctech2x": Than you can send MQTT messages to set 1st relay...
by enesbcs
29 Jun 2019, 19:50
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

kallipso.v@gmail.com wrote:
29 Jun 2019, 12:11
HI
did you find a solution for it? I have the same problem
Farrukh wrote previously that when the red led is on, than the unit is working. (there are buttons on the unit, press them until the led color changes)
by enesbcs
18 Jun 2019, 17:51
Forum: ESP Easy: General Discussion
Topic: Switch Button Long Push
Replies: 16
Views: 2424

Re: Switch Button Long Push

Just wanted to say thanks for this. I've been using the plugin for ~ 6 months now :-) I also wrote a blog post about how to use it as well :-) https://techlife.nz/blog/create-an-esp8266-push-button-amazon-dash-clone-using-espeasy/ Thanks for mentioning. :) In fact, the new P001_Switch plugin in ESP...
by enesbcs
10 Jun 2019, 15:14
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 124
Views: 31810

Re: Arduino Easy 2560

https://github.com/enesbcs/ArduinoEasy Used STM32 Arduino core is: https://github.com/rogerclarkmelbourne/Arduino_STM32 I like those type of "experiment" :) can you please share some info about your hardware (which dev board and most important which ETH module you used)? godo job!!! Thank you! The ...
by enesbcs
09 Jun 2019, 09:20
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 124
Views: 31810

Re: Arduino Easy 2560

I decided to patch ArduinoEasy to run on my STM32F103RCT6 Development Board + W5500 Ethernet network module combination ($6.5 + $3) instead of the default Arduino Mega 2560 + Arduino Ethernet Shield. I think it is done, at least it compiles and run on my hardware. :) Do not expect much support or de...
by enesbcs
31 May 2019, 21:20
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Thanks enesbcs! I tested it on the 2-channel switch relays I bought at first. As long as you get the board in the right mode (red led instead of blue) by pressing S2 at powerup the first time it works like a clock now with "IPD preamble" checked !!! Big thanks! Although I now have a lot of automati...
by enesbcs
30 May 2019, 20:57
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

If the start of the command packet is always ""0D 0A 2B 49 50 44 2C 30 2C 34 3A" i can integrate it to the plugin through a selectable checkbox like "Send IPD command always" THAT would be a big favour enesbcs!!! :) :) :) It seems like there are two communication versions out there. LC Tech origina...
by enesbcs
30 May 2019, 07:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

It appears as if the esp module is not driving the relays on board, even though the esp module is subscribed/publishing MQTT messages properly. Maybe you are experiencing the same problem i had, see https://www.letscontrolit.com/forum/viewtopic.php?p=36707#p36707 . I checked with the original code ...
by enesbcs
29 May 2019, 17:47
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

... It appears as if the esp module is not driving the relays on board, even though the esp module is subscribed/publishing MQTT messages properly. Please make sure that: - at ESPEasy Tools-Advanced settings Serial is enabled but serial logging is disabled (level 0) - the correct LCTECH relay type ...
by enesbcs
28 May 2019, 18:33
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Farrukh wrote:
28 May 2019, 17:39
... changing the relay states on the http page, but the actual relays on the LC Tech board are not changing states.
Old firmware version, wrong type selected in plugin, weak power supply, not correctly soldered relays on panel?
viewtopic.php?p=34341#p34341
by enesbcs
28 May 2019, 17:29
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hi! I already use ESPEasy and found your project today. I must say: great work! That's a thing for a Raspberry Pi I was long looking for. Really nice idea :) But let me ask one question: do you plan to support FHEM as a controller? Or is MQTT the only way for now and near future? Best regards Thank...
by enesbcs
27 May 2019, 17:08
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

bennybubble wrote:
27 May 2019, 12:31
It would be great if this could be implemented, can't you use edge-based-interrupt for counting (https://parg.co/hbz) ?
I'm more then happy to test it if needed !
-ben
https://github.com/enesbcs/rpieasy/issues/65
by enesbcs
24 May 2019, 21:37
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

bennybubble wrote:
24 May 2019, 19:50
What is the defintion of real-time?
In my case I want to count pulses from my gas- and energymeter, puls rate would be less then 1 Hz ...
I don't think this would be an issue with Python running on RPI/Raspbian.
-ben
Yes one per second can be achieved if it is enough.
by enesbcs
24 May 2019, 19:09
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hi, I really like the RPIeasy initiative, same look and feel as the originial ESPeasy ! To get more I/O, I'm replacing an 8266 with a RPI but now I'm almost there, I see there is no Generic - Puls Counter plugin. Are there plans to make such a plugin ? -ben I am not sure if real-time pulse counting...
by enesbcs
18 May 2019, 21:34
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Is there any reason that this doesn't work with an LCTECH relay on the latest firmware ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support It works fine on an older version "Core Version: 2_4_0_RC2" As far as I can see all the settings are the same, compiled on PlatformIO Thanks....
by enesbcs
15 May 2019, 22:44
Forum: uPyEasy: Software
Topic: python script to issue GPIO command
Replies: 2
Views: 213

Re: python script to issue GPIO command

I want to implement this command in Python from my RPI. If you want to control your Raspberry with ESPEasy-like commands why don't you simply use RPIEasy? (with ESPEasy P2P networking it is able to use udp SendTo commands for remote espeasy control for example..) https://www.letscontrolit.com/forum...
by enesbcs
08 May 2019, 17:33
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

third check if (bytes_read == 25) { // packet start --> check if byte 0 is "0x55" if (bytes_read == 26) { // check if packet is valid --> check if byte 1 is "0xAA" You are on a bad track, "bytes_read" will never above 20. As i mentioned before only one package held at a time in the plugin buffer wh...
by enesbcs
04 May 2019, 16:38
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

And the Nuvoton N76E003 I got is programmed to interpret just that. When reprogram the ESP with ESP Easy it just sends the "correct" command with the 4 bytes, which is not seen as a "correct" command by theN76E003. Is there a simpler way to test this theory with the "Command" tool in the web interf...
by enesbcs
04 May 2019, 00:53
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

1. looking into the following code: line 681: I'm interested in the byte "btnnum". What's confusing is this line "Serial.write( (btnnum + 1) ); // relay number 1,2,3" Are we adding "+ 1" because btnnum = 01 for the first relay? Yes the Tuya addresses buttons from 1, the plugin addresses EVERYTHING ...
by enesbcs
04 May 2019, 00:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

This is my first post in this forum, so bare with me. I went to Aliexpress and got some LCTech 2ch relays. I have a really hard time to get it to work with ESP Easy. I realized that the 2-channel version I got had a Nuvoton N76E003 MCU instedad of the STM. Url? At the description page the seller us...
by enesbcs
02 May 2019, 18:30
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

If I select 0, it doesn't parse anything from the MCU. I may get 1 set of four log entries, every 1-2 minutes It is very sad. My old Tuya unit reports its state on its own when any status is changed on it without any periodic check. If it is true, than i will never buy Tuya switches again. Sonoff a...
by enesbcs
01 May 2019, 17:33
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

I've loaded this version up and after introducing a 5 sec interval I got a somewhat cleaner output: And what if you set 0 sec intervals? I'm wondering..., when reading the States of the input, is there a way to discard everything before the 100ms delay? As the MCU sends the whole lot, at ~5 second ...
by enesbcs
01 May 2019, 17:22
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

So let me get this straight: Does the code constantly look for 55AA in the stream and every time it gets it, it parses the info? so when it receives a load like this: 55AA 0107000501010001000F 55AA 01070005020100010010 55AA 01070005030100010011 55AA 01070005040100010012 55AA 01070008070200040000000...
by enesbcs
01 May 2019, 14:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Another problem I have now is I'm unable to do an OTA upload on a 1M chip as the code exceeded 600ish kb. I have to cut the RX track, solder the wires, upload the firmware via USB, un-solder the wires, place the RX track back and so on. :( I am sorry. My Tuya switch has 4MB flash. :) ESPEasy core i...
by enesbcs
01 May 2019, 14:47
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

1. Start of message - Wait for a gap longer than say 100ms and then start grabbing the data. 2. End of message - Payload is complete when there is no more data for 100ms. I see no reason for waiting anything, neither checking the message end. To know where is the package end, you have to check and ...
by enesbcs
01 May 2019, 10:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

3. When I switch them all off, the first two switches report off but switch 3 and 4 report staying on (Not so good) Screen Shot 2019-05-01 at 1.32.32 pm.png My thoughts: I'm wondering if it has anything to do with the way the device sends an update (~ every 10 seconds)? and the way that plugin deal...
by enesbcs
30 Apr 2019, 18:13
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

One step further and here is what I have: 55AA 01 07 05 01 01 00 01 00 0F /Switch OFF 55AA 01 07 05 02 01 00 01 00 10 /Switch OFF 55AA 01 07 05 03 01 00 01 00 11 /Switch OFF 55AA 01 07 05 04 01 00 01 00 12 /Switch OFF 55AA 01 07 05 01 01 00 01 01 10 /Switch ON* 55AA 01 07 05 02 01 00 01 00 10 /Swit...
by enesbcs
29 Apr 2019, 18:12
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Have you developed this in PlatformIO or Arduino IDE? If PlatformIO, provide the source in a zip, if you like. I''ll give it a go myself and post the results. Mravko... Arduino. https://github.com/letscontrolit/ESPEasy/releases/tag/mega-20181231 https://github.com/enesbcs/ESPEasyPluginPlayground/bl...
by enesbcs
29 Apr 2019, 18:10
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

However: The log shows the same thing. With all four switches are "on" the output is: SerSW : Dimmer 364670: EVENT: MCU#Relay0=1.00 364674: EVENT: MCU#Relay1=1.00 364676: EVENT: MCU#Relay2=1.00 364679: EVENT: MCU#Relay3=0.00 error: So he fourth relay is not reporting that it is on and with all swit...
by enesbcs
28 Apr 2019, 21:03
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Added 4th button for TUYA.

I've compiled for core240 (this core proved itself working earlier), core241 (may work), core242 (may not work) with the last ESPEasy sources with untouched serial code. (20181231)
4M and 1M builds and 1M/PUYA builds also included.
by enesbcs
28 Apr 2019, 16:01
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

So here is the 4 gang wall switch 4ch - back.jpg the switches have a controller board and a relay board, as well as the current sensors. I guess the current sensors are not that important (it's more of a nice-to-have), especially for the GPOs. But if it isnt too much trouble, may I ask for a versio...
by enesbcs
28 Apr 2019, 08:47
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

Oh and one more thing... The Tuya only has 1 relay and 3 (or 1 + 2 dimmer) My tuya switches hav 1, 2, 3 and 4 relays. I am unable to select 4 relays in the Yewelink/TUYA type How hard is it to add the 4 relays to the TUYA switch type drop-down? I've never seen a Tuya device with more than 3 buttons...
by enesbcs
28 Apr 2019, 08:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

I have noticed, however, that both the switches (1, 2, 3 and 4 Gang) as well as the Power outlets have current sensors. ... I'm wondering how we could add these readings to the plug-in and take full advantage of the protocol rather than just switch on, off and dim? I only have a 1 gang simple Tuya ...
by enesbcs
28 Apr 2019, 08:34
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

... then Arduino says done! Low and behold, the board does not boot up. When i reflash using the ESPEasy_1M_128kSPIFFS_PUYA.zip and the flash tool, it works just fine. So, reflash with Arduino and nothing... I guess you did not applied the PUYA patch to the ESP core before compiling: https://github...
by enesbcs
13 Apr 2019, 19:18
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

henkdejonge wrote:
13 Apr 2019, 14:01
After a reboot the red crosses are gone... ;-)
Thank you for your feedback I've added extra dependencies in todays commit to RPIEasy.
by enesbcs
12 Apr 2019, 20:23
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hi, Tried the command... same result... :-( I think I'll try to reinstall the whole stuff from the beginning. Nice job for the weekend.. ;-) Thanks anyway for your support.. or perhaps somethings else pops up in your head.. Henk. Hi! It is very odd, looks like you have more dependencies missing, th...
by enesbcs
11 Apr 2019, 17:32
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

henkdejonge wrote:
11 Apr 2019, 09:18
I've run the commands as requested. Everything went well. Only the last command for installing pygame exited with a error code 1.
Attached the output.
I see. Please try:

Code: Select all

sudo apt-get install libsdl1.2-dev
Then:

Code: Select all

sudo pip3 install pygame
by enesbcs
10 Apr 2019, 20:18
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hi, I still got a small issue. I can't get pygame installed. Tried all kind of things but NOGO. Henk Hi, Please send me the output of the following linux commands: cat /etc/os-release dpkg -s python3-pip cat /etc/apt/sources.list Then try to run installation manually: sudo apt-get update sudo apt-g...
by enesbcs
01 Apr 2019, 20:56
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

ok. I have a few of these relays and esp8266 laying around. After following the instructions here : https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3245&start=100#p28044 i was able to get them working by using the bin file here: https://www.letscontrolit.com/forum/viewtopic.php?f=6&t=3245&s...
by enesbcs
30 Mar 2019, 18:33
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hello enesbcs, Is it possible to add Display button: as esp firmware has? It really fits my project, please see isn't it? After add 10 piece 18b20, my central heating automation will be OK. Nice project! I've never used the "Display button" setting before... is it simply switching on and off the di...
by enesbcs
29 Mar 2019, 22:44
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Hello enesbcs, Is it possible to add Display button: as esp firmware has? It really fits my project, please see isn't it? After add 10 piece 18b20, my central heating automation will be OK. Nice project! I've never used the "Display button" setting before... is it simply switching on and off the di...
by enesbcs
27 Mar 2019, 18:15
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 284
Views: 69445

Re: Serial MCU controlled relay/switch

riker1 wrote:
27 Mar 2019, 12:53
I checked with ESP01 and had a problem writing config data.

so setting a device destroyed the config.
Did you use PUYA-safe builds from the previous stable release on that chip?
by enesbcs
25 Mar 2019, 22:31
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 139
Views: 10609

Re: RPIEasy

Sorry i do not use Windows. I am using Ubuntu Linux with real ssh client, and it's screen remains readable after disconnect. You can try to install a syslog server to your windows and enable syslog logging in rpieasy, this way the logs can be saved. Hello enesbcs, I install fresh raspian and also R...
by enesbcs
25 Mar 2019, 10:17
Forum: ESP Easy: Software
Topic: Ping Plugin
Replies: 25
Views: 3828

Re: Ping Plugin

Wiki wrote:
24 Mar 2019, 21:06
You're my hero, works. Thank you.

If you stay one time in DE just come along, I'll buy you a beer (or two).
Thanks! :)
Finally i've succesfully compiled the same on the newest Core 2.6.0-dev which seems a lot more stable than previous "stable" 2.5.0.
by enesbcs
24 Mar 2019, 19:10
Forum: ESP Easy: Software
Topic: Ping Plugin
Replies: 25
Views: 3828

Re: Ping Plugin

@enesbcs: "Temperature Thermocouple " doesn't work, there is no chip available to be chosen. Thermo1.JPG The plugin I was using before is named "Environment Thermocouple", there you get a dropdown to choose the chip. Thermo2.JPG But don't put too much efforts in it, I personally am fine with the fo...