Search found 587 matches

by enesbcs
25 Dec 2019, 22:17
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 656655

Re: New ESP gadget

ESP8285 based Sinilink WIFI-USB remote controller:
Image
by enesbcs
21 Dec 2019, 16:23
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

What I missed in documentation and also could not read out in code (as I could not find defines of data types): for pulse and now longpulse what is the max value? I did not documented the limits as i do not know... But as pulse is blocking it is not a very good idea to pulse more than 1 minutes. Fo...
by enesbcs
21 Dec 2019, 09:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

84392: HTTP: relaylongpulse,1,1,7200 84404: EVENT: WohnzimmerRelays#Relay0=0.00 84409: EVENT: WohnzimmerRelays#Relay1=1.00 84413: EVENT: WohnzimmerRelays#Relay2=0.00 84417: EVENT: WohnzimmerRelays#Relay3=0.00 84422: SerSW : SetSwitchPulse r1:1 Pulse for 7200 sec first try looks promising. will look...
by enesbcs
20 Dec 2019, 20:34
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Would there be a possibility to have this in a non-blocking counter? Yes, relaypulse is works exactly as the gpio pulse command, in this blocking nature. I've added a new command "relaylongpulse" which needs relay number, state and pulse time _in seconds_ as parameter. It may work. Or fre...
by enesbcs
20 Dec 2019, 19:43
Forum: ESP Easy: Projects / Applications
Topic: Help on rules for relay timers
Replies: 6
Views: 15561

Re: Help on rules for relay timers

There is an explanation for the problem by enesbcs posted here: https://www.letscontrolit.com/forum/viewtopic.php?p=19650#p19650 It's right but that post refers to the Sonoff Dual (and also Tuya) submodul. By the way the LCTech does not provide feedback about the relay statuses, it is only written ...
by enesbcs
20 Dec 2019, 19:38
Forum: ESP Easy: Projects / Applications
Topic: Help on rules for relay timers
Replies: 6
Views: 15561

Re: Help on rules for relay timers

_Cyber_ wrote: 11 Nov 2019, 22:37
Did you try to use conditional checking for example:

Code: Select all

on WohnzimmerRelays#Relay1>0 do
...
endon
Instead of this?

Code: Select all

on WohnzimmerRelays#Relay1 do
...
endon
by enesbcs
20 Dec 2019, 19:26
Forum: ESP Easy: Hardware
Topic: ESP12e & PN532 - Bus Error
Replies: 2
Views: 6443

Re: ESP12e & PN532 - Bus Error

After some minutes i got a bus error - i installaed the latest espeasy version. Any idea how to solve it? I tried to google some things but no luck so far. The PN532 is connected vie L2C. I haven´t connected the RESET pin (because i couldn´t find how to do it.) The first PN532 i have ordered also s...
by enesbcs
12 Dec 2019, 22:18
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

(therefore you would need a "PUYA" called image, I do not know if enesbcs has offered latest codebase compiled for PUYA ESPs). Latest firmware is based on core 2.5.2 which is natively supports Puya, so no patching is needed. However i do not consider 2.5.2 as a stable release. having a pr...
by enesbcs
24 Nov 2019, 08:55
Forum: ESP Easy: Software
Topic: ESP32Easy BLE
Replies: 4
Views: 9096

Re: ESP32Easy BLE

Mijia data request works with BLE notification callback, and when i tried to run it another core it did not ends well. :) Flora may work on second core as it works as simple ble connect-than-read.
by enesbcs
23 Nov 2019, 22:23
Forum: ESP Easy: Software
Topic: ESP32Easy BLE
Replies: 4
Views: 9096

ESP32Easy BLE

I am struggling to make BLE based plugins for reading Mijia temperature and Flora plant monitor devices to ESPEasy, using the integrated Bluetooth in ESP32. Test version works but occasionally Wifi is unavailable, it seems that BLE blocks the system when tries to communicate... also sometimes reboot...
by enesbcs
21 Nov 2019, 07:11
Forum: ESP Easy: Software
Topic: Modem sleep
Replies: 18
Views: 20855

Re: Modem sleep

userk wrote: 20 Nov 2019, 22:42 do i need to enable the plugin or am i missing something?
Yes, without adding and enabling a plugin the commands inside of it will not work.
by enesbcs
13 Nov 2019, 18:52
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 Thermostat
Replies: 44
Views: 81415

Re: ESP8266 Thermostat

I don´t control really well how rules works and currently I set up a rule to power on and off the OLED display by time but I will like to create a rule to power on different "triggers" like when rele is on, you push the switches and leave on during x seconds for example. Can you help/guid...
by enesbcs
11 Nov 2019, 18:20
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19136

Re: New ESP Easy plugin for ESPNOW

Also please have a look at the number of active developers. You can count them on one hand. And in the last month I managed to close about 200 issues, which were either no longer an issue, or duplicates. So it may take less than 553 issues to be fixed. Also the issues are not dealt with in the orde...
by enesbcs
10 Nov 2019, 22:07
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19136

Re: New ESP Easy plugin for ESPNOW

But it currently works only for a few seconds :cry: :cry: , until the receiving ESP Easy connects to Wifi AP. ESPNOW and Wifi can't be used at the same time (AFAIK) You are correct. This is why i commented out the whole wifi part from my ESPNow hack. :) There are no collisions anymore. And the comp...
by enesbcs
10 Nov 2019, 21:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

I am trying to use the rules-part to disable a relay after a specific time. Basic commands are written in the first post in this thread. All commands are documented inside the source code header: https://github.com/enesbcs/ESPEasyPluginPlayground/blob/master/_P165_SerSwitch.ino "ACT : SetSwitc...
by enesbcs
29 Oct 2019, 10:27
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Micha_he wrote: 29 Oct 2019, 10:19 Indicates the file name 'ESPEasy_P165_191028.zip' that you use the sourcecode from this date or only the compile-date ?
Its only compile time. Sources after 20181231 will not compile with P165.
by enesbcs
28 Oct 2019, 18:27
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

_Cyber_ wrote: 28 Oct 2019, 07:05 I call e.g. control?cmd=relay,1,2 it switches relay from 1 to 0 and vice-versa?
I've added this simple code to the relay block, i guess it will be enough.

Code: Select all

            if (event->Par2 == 2) { // toggle
              rcmd = 1-UserVar[(varIndex + rnum)];
            }
by enesbcs
28 Oct 2019, 08:43
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

do you think it would be possible and a good idea to have instead of switches for the relay's also toggles? so if on and I call e.g. control?cmd=relay,1,2 it switches relay from 1 to 0 and vice-versa? I do not know if it is a good idea, but it is possible to develop, as the plugin maintaining the c...
by enesbcs
28 Oct 2019, 08:40
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

DirkB19 wrote: 27 Oct 2019, 20:38 SendToHTTP 192.168.2.134/control?cmd=relay,1,1
According the Wiki the syntax more like this:
SendToHTTP 192.168.2.134,80,/control?cmd=relay,1,1
In case it is not working, try to urlencode the last part:
SendToHTTP 192.168.2.134,80,%2Fcontrol%3Fcmd%3Drelay%2C1%2C1%20
by enesbcs
26 Oct 2019, 21:10
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

It was more a warning to enebcs to not spend too much time in looking for an error if it does apply to his build. If he didn't use the latest mega code, then it would probably not be an issue. Thanks TD-er, but i am using ESPEasy core 20181231 for P165, before the Serial library (and i think Arduin...
by enesbcs
24 Oct 2019, 23:08
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

The plugin/firmware works like it should. Top ! Now I'll have to design a rule for ON/OFF/DIM+/DIM-, to evaluate the switch-counter (S-input works with AC-frequency oft 50Hz at this dimmer). Edit: Can you update the plugin-values (relay-state and dim-value) of "Wifi Dimmer", if the ydim-c...
by enesbcs
24 Oct 2019, 14:01
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Maybe you can modify the source (in your GitHub) in a first step and explain me, how I integrate the plugin for compiling in my ATOM-IDE. As far as I know, the dimmer QS-WIFI-D01 doesn't return the actual state. So that would not be so important to the test it. Source modified: https://github.com/e...
by enesbcs
24 Oct 2019, 10:31
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Because ? I have to reinstall core 2.4.1 to make sure that serial 2way communication works as expected to not break real Tuya support, which also receives from serial. (core 2.5 is unstable, core 2.5.2 is untested) After that i have to do Puya patching and compiling to 1M/128k, 4M/1M flash format. ...
by enesbcs
24 Oct 2019, 09:28
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Maybe I can find a way, to modify the P165 plugin, to work with this dimmer too. I was just surprised, because the original TuyaSmart-App is the recommended application for it. According to templates it is a noname "Wifi-Dimmer": https://blakadder.github.io/templates/qs-wifi_D01_dimmer.ht...
by enesbcs
23 Oct 2019, 09:20
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

The same byte-data you can see in the log, I'd read on the com-port ! Any idea, why the byte sequence is completely different from ESPeasy here: 55 AA 00 06 00 08 03 02 00 04 00 00 00 C8 DE Byte-Sequence for ydim,200 Because this is the standard Tuya package with header 55 AA... https://www.letscon...
by enesbcs
21 Oct 2019, 11:04
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

Currently there is Tasmota on the dimmer. Can I use it to help to troubleshoot ? If not, I will flash it new with your #295-firmware. Is the baudrate-settings (default 115200) important ? I've never used Tasmota for Tuya so i do not know how to troubleshoot that. The baudrate setting for Tuya is 96...
by enesbcs
21 Oct 2019, 09:52
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 962538

Re: Serial MCU controlled relay/switch

@enesbcs: Do you think this dimmer should work with the P165-plugin too? https://forum.creationx.de/forum/index.php?thread/2102-230v-wlan-tast-dimmer-150w-f%C3%BCr-led-halogen-etc/ I've flashed the attached Tasmota-Firmware which works. When I flash your firmware 'ESPEasy_P165.1M_128kS_PUYA3' from ...
by enesbcs
17 Oct 2019, 11:18
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

Re: RPIEasy

Hi all, I'm new on RPIEasy, I've installed the package on my PI3 then after starting : Start.JPG Now, how to start ESPEasy on web browser ( Chromium) ? Thanks for help ! As something grabbed port 80 on your RPI, it writes clearly that RPIEasy started on port 8080, so you can reach it from any webbr...
by enesbcs
08 Oct 2019, 22:38
Forum: ESP Easy: Projects / Applications
Topic: TinyExtender project
Replies: 2
Views: 10937

Re: TinyExtender project

... doorsensor has build-in power control using a step-up converter that provides a clean 3.3 Volts to the ESP even with a battery voltage that is much lower. Wonder what battery life will be when booting it up every hour. Yes i am wondering also, as i am afraid that the step-up converter may drain...
by enesbcs
05 Oct 2019, 21:15
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

Re: RPIEasy

llevet wrote: 05 Oct 2019, 20:56 Ok, i will test it, i think to have one in stock.
As i said it is currently hardwired to 23017 at the init stage, and it wont work with 23008 as they need different init modes. If it is really needed please open a github issue and i will modify the plugin init part and will adding a select option.
by enesbcs
05 Oct 2019, 20:11
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

Re: RPIEasy

Question: is your _P009_MCP pluging is olso compatible with MCP23008 ? (i think yes but i prefer to ask you) Originally the MCP23017 asked for implementation, so i done it: https://github.com/enesbcs/rpieasy/issues/14 In theory the underlaying library supports MCP23008, but i do not have it to test...
by enesbcs
04 Oct 2019, 08:23
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

Re: RPIEasy

Hi enesbcs, Is there a special reason that the http return value of "/control?cmd=GPIO,15,1" return a "OK" instead of Json status like this ? { "log": "GPIO 15 Set to 1", "plugin": 1, "pin": 15, "mode": "output", "...
by enesbcs
28 Sep 2019, 07:12
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 multisensor
Replies: 16
Views: 15560

Re: ESP8266 multisensor

happytm wrote: 27 Sep 2019, 23:11 Here are images:

20190927_165938.jpg20190927_170029.jpg20190927_165951.jpg

Thanks.
Wow! Internal circuits are not so complicated.. but as i see there are enough space for an 5v power supply and an esp8266. :)
by enesbcs
15 Sep 2019, 15:35
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 656655

Re: New ESP gadget

tim wrote: 15 Sep 2019, 15:25 Does ESP Easy support the display?
The display is an SPI connected ST7789V so i guess not.
by enesbcs
13 Sep 2019, 17:39
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 656655

Re: New ESP gadget

by enesbcs
12 Sep 2019, 17:52
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 130
Views: 177828

Re: Arduino Easy 2560

Reefie wrote: 12 Sep 2019, 12:16 What software did you use to flash it, I cannot find the board in the Arduino IDE?
You have to install "Arduino SAM boards (Cortex-M3)" and this core also:
https://github.com/rogerclarkmelbourne/arduino_stm32
by enesbcs
11 Sep 2019, 18:08
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 24250

Re: Sleeptime

ESP-now is a protocol specific for ESP nodes. It is something I plan to add later, since it does allow for really short WiFi on times. In short, you can send data from one node to another one (only a limited set of MAC addresses can be "paired" for this) It is using the WiFi radio, but do...
by enesbcs
07 Sep 2019, 16:55
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241774

Re: New hackable ESP gadgets in local budget store "action" !!!

AFAIK, the door sensor has no GPIO attached to any hardware. Only RX/TX is connected to the other MCU. I'm working on a serial plugin for ESPCoreRules to read the status from the other MCU and instruct it to power off again. I have seen an existing plugin for ESP Easy to controll Tuya MCU that migh...
by enesbcs
05 Sep 2019, 17:42
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 multisensor
Replies: 16
Views: 15560

Re: ESP8266 multisensor

I have ordered another smaller night light too. Challange will be to fit everything in the case but it has mains power. https://www.aliexpress.com/item/33045547622.html?spm=a2g0s.13010208.0.0.576fcscscscsqw&gps-id=pay_success&scm=1007.13409.84631.0&scm_id=1007.13409.84631.0&scm-url=...
by enesbcs
31 Aug 2019, 20:22
Forum: ESP Easy: General Discussion
Topic: lc technology ESP8266 realy x4 Problem
Replies: 11
Views: 20142

Re: lc technology ESP8266 realy x4 Problem

epost wrote: 31 Aug 2019, 11:46 I think it's a NUVOTON 8 bit 8051 compatible microcontroller
It is a standard 4 channel Serial MCU controlled relay/switch, can be used with ESPEasy and P165 plugin. (If the NUVOTON has its standard program)
viewtopic.php?f=6&t=3245
by enesbcs
31 Aug 2019, 17:37
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 multisensor
Replies: 16
Views: 15560

Re: ESP8266 multisensor

Did you shield the radar module? Otherwise it is also detecting people at the other side of the wall you mount this to. Nope, however i planned to use some tin foil beneath it, but eventually it is not needed. (at least for me) Motion sensor is combined, so if the radar sensor is seeing from the ot...
by enesbcs
31 Aug 2019, 09:48
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 multisensor
Replies: 16
Views: 15560

Re: ESP8266 multisensor

I've made an Instructable about it: :)
https://www.instructables.com/id/ESP826 ... ltisensor/
by enesbcs
25 Aug 2019, 22:25
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 14718

Re: Standalone mode

So the Ali link https://www.aliexpress.com/item/1876368739.html?src=google&albslr=220833420&src=google&albch=shopping&acnt=494-037-6276&isdl=y&slnk=&plac=&mtctp=&albbt=Google_7_shopping&aff_platform=google&aff_short_key=UneMJZVf&&albagn=888888&...
by enesbcs
25 Aug 2019, 22:15
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 130
Views: 177828

Re: Arduino Easy 2560

I am interested to follow this as I would like to have Ethernet connection. Could you let me know the pins to connect a w5500 to the stm32f103rct6 board please Yes of course, the wiring is the following: RCT6 W5500 --------------------- 3.3V 3.3V GND GND RST RST A4 SCS A5 SCLK A6 MISO A7 MOSI https...
by enesbcs
25 Aug 2019, 08:49
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 14718

Re: Standalone mode

To answer the last question first, nope not yet. And about the clock issue. One thing that will work for sure, is using a GPS module. I don't know if there is a RTC module supported. (so assume it isn't) If somebody implements plugin callable "settime()" function into ESPEasy core and tim...
by enesbcs
20 Aug 2019, 09:05
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 13482

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: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

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

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 contr...
by enesbcs
15 Aug 2019, 17:43
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

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: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457734

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