Search found 392 matches

by enesbcs
20 Aug 2019, 09:05
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 6
Views: 1068

Re: extra IO with PIR or distance snsor

- How do I monitor a PCF port ? What I tried below does not work? Why do not you create separeted tasks for every function? See wiki: https://www.letscontrolit.com/wiki/index.php/PCF8574 - Is it possible to use the PCF8574 for inputs (door + pir) and output (relays) If you create a task that will b...
by enesbcs
19 Aug 2019, 10:51
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 146
Views: 12091

Re: RPIEasy

I've published some basic RPIEasy usage manual at instructables:
https://www.instructables.com/id/RPIEas ... or-Device/
by enesbcs
19 Aug 2019, 07:05
Forum: ESP Easy: Hardware
Topic: SERIAL MCU
Replies: 1
Views: 65

Re: SERIAL MCU

Hi, I use an ESP01 to control two relays. The version of espeasy is 2.4.0.C.2. To control this relay i use "Serial MCU controlled switch". But for a good communication i want to use a Wemos D1 with external antenna. I use the version MEGA-20190626 but i don't find the good switch to control my rela...
by enesbcs
15 Aug 2019, 17:43
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 146
Views: 12091

Re: RPIEasy

Hi Enesbcs, looking at the plugins implemented in rpieasy I found one that looks very promising for me. It is about plugin P511 - Run OS command. My question is: with this command it is possible to run/stop any executable script even it is not a python3 script? Can be used in rules ? Please give me...
by enesbcs
07 Aug 2019, 07:04
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 146
Views: 12091

Re: RPIEasy

Hi Enesbcs, regarding infrared plugin I want to tell you that am using with success in other python application pigpio library and according with the documentation it is also capable to be an alternative to lirc for transmitting and receiving IR codes. You can check this link : https://raspberrypi....
by enesbcs
05 Aug 2019, 19:33
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 125
Views: 32774

Re: Arduino Easy 2560

Bigbrother STM32F103RCT6 in action: https://m.blog.hu/bi/bitekmindenhol/image/rct_example.jpg 182kb STM32-ArduinoEasy firmware Controllers included: Domoticz HTTP, Domoticz MQTT, OpenHAB MQTT Plugins included: Switch, ADC, Pulse, Dallas, DHT, BH1750, SI7021, OLED (experimental), Sysinfo, BMP280/BME2...
by enesbcs
03 Aug 2019, 21:10
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

Can you give me an example? Examples given at the first post https://www.letscontrolit.com/forum/viewtopic.php?p=16998#p16998 The following command switches the second relay on the panel, if it has a second relay and you set the correct number of relays on the plugin settings page: relay,1,1 The fo...
by enesbcs
03 Aug 2019, 16:45
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

fiets wrote:
03 Aug 2019, 16:37
TaskValueSet 1,1,1 //set Var#State to 1
I do not really understand what do you wan to achieve with taskvalueset? This plugin works with relay command, see the first post in this thread...
by enesbcs
30 Jul 2019, 20:23
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 146
Views: 12091

Re: RPIEasy

Hi Enesbcs, I am using RPIEasy for some time and it is a great piece of software. When do you think that will be possible for you to implement in RPIeasy ToniA infrared plugin for controlling air conditioning units(I think is HeatpumpIR plugin)? Thank you Hi, I am very sorry, but as i wrote earlier...
by enesbcs
29 Jul 2019, 22:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

I dont know, just copied the \nOK part from another ESPEasy plugin, i assumed if that works there, it will be ok here also.. I tried the last PUYA safe bin file, but it was lacking the OpenHAB MQTT Controller option, so my existing configuration didn't work. Would it be possible to include OpenHAB ...
by enesbcs
20 Jul 2019, 20:03
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 Thermostat
Replies: 17
Views: 3998

Re: ESP8266 Thermostat

hello, can someone explain to me how I can change so that after a while the display turns off and after pressing a key it wakes up for a while? I can't always leave it on and I can't find a way to turn it off, if I interrupt the current to oled then not seen read until restart If you are using P168...
by enesbcs
20 Jul 2019, 19:54
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

Which one should I try and are they PUYA safe? Oops, attached a new one. This is my first time bringing ESPEasy into my projects and to me, it just seemed out of place, to see a response in MQTT with leading \n character, while observing using MQTT Explorer. Is there a reason why the plugin must in...
by enesbcs
19 Jul 2019, 17:09
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

issue 1: I'm running into some problems with the firmware on both modules, and it seems that both are unable to recover gracefully when it is forced to reconnect to the Wireless Access Point, or when the MQTT server restarted. I can verify this after, by connecting to http. On the Main page, the IP...
by enesbcs
19 Jul 2019, 07:06
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 301
Views: 73815

Re: Serial MCU controlled relay/switch

I've tried ESPEasy_R147_1M_64kS.bin and ESPEasy_1M_128kSPIFFS_PUYA.bin, everything is configured well (I think) but when I go to http://<lctechip>/control?cmd=relay,0,1 http://<lctechip>/control?cmd=relay,1,1 Relays are not activated whereas I can see their state changing in the GUI (Device page). ...
by enesbcs
18 Jul 2019, 21:13
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 20
Views: 1547

Re: How to use Modem Sleep

spicer wrote:
18 Jul 2019, 20:51
I have testet with 2018 sources. ....not work :roll:
Try that
by enesbcs
18 Jul 2019, 20:47
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 20
Views: 1547

Re: How to use Modem Sleep

No chance. I copy the content of lib to libraries, and src renamed to ESPEasy. I make no modifications. Compile and upload works. But the board is not working. Does anyone have a hint? You are using the new core >2.5 which i do not use. This is the main difference. I am still using core 2.4.2 for c...
by enesbcs
18 Jul 2019, 20:44
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 6
Views: 1068

Re: extra IO with PIR or distance snsor

Hello to all, Is it possible to use an IO extension (Via i2c) and connect to it distance sensors or PIRs ? I would like to automate my garage door and might be short on IOs for my requirement: - 2 distance sensors (2 IO each) - 1 PIR would be great (an other IO) - 2 relays (those will be on an IO e...
by enesbcs
17 Jul 2019, 22:10
Forum: ESP Easy: General Discussion
Topic: How to use Modem Sleep
Replies: 20
Views: 1547

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: 20
Views: 1547

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: 125
Views: 32774

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: 125
Views: 32774

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: 125
Views: 32774

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: 301
Views: 73815

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: 301
Views: 73815

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: 2636

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: 125
Views: 32774

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: 125
Views: 32774

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 146
Views: 12091

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: 146
Views: 12091

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: 146
Views: 12091

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: 146
Views: 12091

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: 301
Views: 73815

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: 266

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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: 301
Views: 73815

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...