Search found 425 matches

by enesbcs
11 Nov 2019, 18:20
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 5
Views: 421

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: 5
Views: 421

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: 335
Views: 87730

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 : SetSwitch r1:...
by enesbcs
29 Oct 2019, 10:27
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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-command is ...
by enesbcs
24 Oct 2019, 14:01
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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.html It has ...
by enesbcs
23 Oct 2019, 09:20
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 157
Views: 18392

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

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 157
Views: 18392

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 157
Views: 18392

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 157
Views: 18392

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", "state": 1 } Thanks. Ludo. Yes, the reason is that status array is not implemented yet.
by enesbcs
28 Sep 2019, 07:12
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 multisensor
Replies: 16
Views: 1966

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: 323
Views: 146089

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: 323
Views: 146089

Re: New ESP gadget

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

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

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 does not nee...
by enesbcs
07 Sep 2019, 16:55
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 65
Views: 15001

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

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=1007.13409.84631...
by enesbcs
31 Aug 2019, 20:22
Forum: ESP Easy: General Discussion
Topic: lc technology ESP8266 realy x4 Problem
Replies: 8
Views: 3046

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

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

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

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&albcp=1706100219&albag=73428776544&trgt=539263010115&cr...
by enesbcs
25 Aug 2019, 22:15
Forum: Experimental
Topic: Arduino Easy 2560
Replies: 130
Views: 36458

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

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 time related ...
by enesbcs
20 Aug 2019, 09:05
Forum: ESP Easy: Hardware
Topic: extra IO with PIR or distance snsor
Replies: 7
Views: 4771

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: 157
Views: 18392

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

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: 157
Views: 18392

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: 157
Views: 18392

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: 130
Views: 36458

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: 335
Views: 87730

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: 335
Views: 87730

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: 157
Views: 18392

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: 335
Views: 87730

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

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: 335
Views: 87730

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: 335
Views: 87730

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: 335
Views: 87730

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

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

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: 7
Views: 4771

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