Search found 449 matches

by enesbcs
24 Jan 2020, 18:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 355
Views: 101772

Re: Serial MCU controlled relay/switch

I don't know how to declare my lctech 4ch in Hassio. I wrote this in the configuration.yaml mo but it doesn't work what am I wrong? - platform: mqtt name: "LCtech" command_topic: "cmnd/lctech/Relay0/power" state_topic: "stat/lctech/Relay0/POWER" I do not know neither HA nor Hassio. Command topic is...
by enesbcs
19 Jan 2020, 14:12
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

Hi Enesbcs, do you think that in rpieasy can be implemented an alternative plugin from Tasmota project called 'scripts' to the existing implemented plugin 'rules". It looks that scripts can handle better some of complex tasks. Thank you Sorry, i am using tasmota only for simple on/off sonoff device...
by enesbcs
05 Jan 2020, 23:27
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

problem with the PCF stays the same. (when i send the comman PCFGPIO,2,1 the 2nd output of the PCF goes high, but the 1st output goes low again) In version 2.0.005 i did everything i could to stay sync with "output" statuses. As you know, the PCF8574 is not really made for output, it is done with a...
by enesbcs
04 Jan 2020, 09:21
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

bruno iemanon wrote:
03 Jan 2020, 22:48
I don't know anything about github.
What is the simplest way to update to the newest version?
There is an Update button in RPIEasy at Tools menu.
by enesbcs
03 Jan 2020, 21:10
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

bruno iemanon wrote:
03 Jan 2020, 20:58
20:55:51 : PCFGPIO1: name 'Settings' is not defined >> (what does this means?)
It means i had a typo in the plugin source code. Fixed in RPIEasy v2.0.003
by enesbcs
02 Jan 2020, 22:32
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

So when i send all the 8 mqtt messages with value "1" (retained). All the values in rpieasy are turned into "1" but in reality only PCFGPIO 8 is high and all the rest returned to low. Interesting. Did you try the "PCFGPIO,<pin>,<state>" command also? PCF8574 is a very interesting beast, all pin sta...
by enesbcs
02 Jan 2020, 20:23
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

bruno iemanon wrote:
02 Jan 2020, 19:25
Great, it works!
Thanks a lot for your advice, and for your patiance.
No problem. I just started to modify the controller to handle non-standard templates.
by enesbcs
02 Jan 2020, 19:03
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

Thanks again for your advie. But I'm afraid i don't have sufficient knowlegde to fully understand your advice. Ok, i'll show you an example. The test RPIEasy system name is "rpieasy" (Config page) 1/ Generic MQTT controller added, with the MQTT broker IP address and with default report topic ( %sys...
by enesbcs
29 Dec 2019, 16:43
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

To simplify i use: Report topic: %valname% Command topic: %valname% It will never work, with neither devices. Report and command topic can not be the same! I will fix this bug to not let it submit. This could work for example with an Output helper plugin for standard GPIO's: %valname%/status %valna...
by enesbcs
28 Dec 2019, 21:17
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 175
Views: 24727

Re: RPIEasy

Is there a way to import MQTT - values? Both Domoticz MQTT and Generic MQTT controllers supports two way communications in RPIEasy. For example if you have added a "Generic MQTT controller" and a "Dummy device", than you can send variables to RPIEasy devices from MQTT through the topic: '%sysname%/...
by enesbcs
26 Dec 2019, 15:26
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32
Replies: 3
Views: 928

Re: ESP-WROOM-32

Well this proves I am a complete noob. Short: I can not use this for the salt level indicator ? I guess you can, slightly changing the config file to use ESP32 instead ESP8266 in ESPHome. But this is not the ESPHome forum, this is the ESPEasy forum. I've never used neither ESPHome, nor Home Assista...
by enesbcs
26 Dec 2019, 14:39
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32
Replies: 3
Views: 928

Re: ESP-WROOM-32

Santa brought me a ESP-WROOM-32 because I would like to make a salt-level-indicator. I thought I could easily follow the instructions found here https://adonno.com/salt-level-sensor/ The site you are linked are especially using ESP8266 D1 Mini. The image you posted is an ESP32 D1 Mini Pro it is not...
by enesbcs
25 Dec 2019, 22:17
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 324
Views: 152458

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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 freeze your d...
by enesbcs
20 Dec 2019, 19:43
Forum: ESP Easy: Projects / Applications
Topic: Help on rules for relay timers
Replies: 6
Views: 2631

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

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

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: 355
Views: 101772

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 problem runn...
by enesbcs
24 Nov 2019, 08:55
Forum: ESP Easy: Software
Topic: ESP32Easy BLE
Replies: 4
Views: 1913

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

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

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

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/guide me on ho...
by enesbcs
11 Nov 2019, 18:20
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 9
Views: 3235

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: 9
Views: 3235

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 355
Views: 101772

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: 175
Views: 24727

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

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: 175
Views: 24727

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: 175
Views: 24727

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: 175
Views: 24727

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

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: 324
Views: 152458

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: 324
Views: 152458

Re: New ESP gadget

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

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

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: 86
Views: 30930

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