Тёмный
No video :(

Rules in ESP Easy 

Csongor Varga
Подписаться 36 тыс.
Просмотров 37 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@philippe5394
@philippe5394 Год назад
This is a great tutorial for me taking my first steps on ESPEasy. Through your examples, I am now much more comfortable. Many thanks and congratulations for your attention to detail. You have understood what a beginner expects from such a video.
@anthonycalia1317
@anthonycalia1317 7 лет назад
Excellent level of detail. For me, you cleared up a lot of questions about ESPEasy. You have a good understanding of what someone new to a concept needs to know. Keep up the good work.
@StaxxxInMyJeans
@StaxxxInMyJeans 5 лет назад
Thank you so much for very clear and clearance introduction to Rules in ESP Easy!
@davidbarradine7902
@davidbarradine7902 4 года назад
Great video, thanks for the info I have been struggling for ages now things are so much clearer.
@thehi3471
@thehi3471 4 года назад
Many thanks for the good tutorial. It was very informative.
@Strider9655
@Strider9655 6 лет назад
Because of hours of head scratching and reflashing different firmware versions, what folks need to know is that rules menu is only available AFTER activation in the tools/advanced menus.
@gerardschepers3744
@gerardschepers3744 6 лет назад
Indeed, clears up a lot questions. Thank you.
@eriklaken1025
@eriklaken1025 6 лет назад
Thank you very much, iT is hard to find video's About learning ESP Easy so i am happy i found yours. :)
@user-pz8ss5yp3o
@user-pz8ss5yp3o 6 лет назад
Great video! Thank you very much. Thanks to this video, I realized a lot!
@stromcontainer
@stromcontainer 7 лет назад
Thanks for explaing the Rules etc. it helped me to some things I wasn't able to do before :-)
@andrewjackson5459
@andrewjackson5459 6 лет назад
Very good video, nice and clear. Thanks!
@squalazzo
@squalazzo 7 лет назад
excellent guide, thank you! :)
@roystervi
@roystervi 5 лет назад
Great video I learn a lot in one video ...
@kahon82
@kahon82 7 лет назад
Köszönöm! Remek videó lett. Csak így tovább!
@diodadioda
@diodadioda 7 лет назад
Thanks. Very good stuff
@user-wc4cr1ie8o
@user-wc4cr1ie8o 5 лет назад
Good video!!Thx!
@cassiosimoes784
@cassiosimoes784 3 года назад
Hi!, thanks for the enlightening video; but I can't figure out 2 things: 1st I want to make an action if the following criteria is met: 1. Current time must be between 10am and 2pm 2. No input from my PIR has been detected for the last 60 mins 2nd What are the best practice to achieve this with espeasy please?
@AHAMAY
@AHAMAY 3 года назад
hello. i hve a 2 buttons. button1 and button 2. i want to make if button1 and button 2 = 0 , make gpio 12,0. if button 1 =0 and button 2 =1 dont make gpio12,1. how to make that ? thankss
@missiontrans927
@missiontrans927 6 лет назад
Szia, Thingspeak-re küldés szabályokból nem csinálsz hasonló videót? :)
@h4z4rd42
@h4z4rd42 7 лет назад
Awesome tutorial again, thank you. At such case do you have to send buttonstate-changes via MQTT to OpenHab via commands set in the rules or doaes the device send it the regular way? Can you override a running rule by a command sent from OpenHab? Thx in advance.
@csongorvarga
@csongorvarga 7 лет назад
h4z4rd42 There is a send checkbox in the settings screen which turns on the MQTT publish of the values. No rules are required for that.
@fromchinaparcel
@fromchinaparcel 7 лет назад
Awesome!
@sickvic3909
@sickvic3909 6 лет назад
At a lower level than noob when I see that endon actually means off where is the easy part. Why not say off. Code always seems the opposite of logical to me.
@csongorvarga
@csongorvarga 6 лет назад
I see what you mean. The code block starts with "on" which is like saying if this happens. "endon" just means that with this command you end the "on" block that you started earlier. As you said you need the mindset to understand this :)
@sickvic3909
@sickvic3909 6 лет назад
Feel the pain :)
@MegaAndrzejus
@MegaAndrzejus 7 лет назад
Hi! I write the same code to my esp 12f to turn on light by clicking button (that without timer) and it works but led start to light after a few seconds (not as fast as in your video) and after release it also take few seconds. Do you know what a problem may be?
@csongorvarga
@csongorvarga 7 лет назад
I don't know. The rules run on the ESP, there is no network communication involved, so it should be instant. Very strange, I have no idea what could be the reason behind that.
@roystervi
@roystervi 5 лет назад
Hi am not too clear on the rules ... can you help me out? task 1, I have a wifi task 2, is name "relay" on gpio-12 task 3, is name "button" on gpio-13 I am trying to have it do when button (gpio-13) is press to toggle or switch the relay on gpio-12 to on or off can you help me out? I tried every example and it did not work .. I thought I come to you tube to ask someone...
@csongorvarga
@csongorvarga 5 лет назад
What is wrong with me example in the video? I did the same with the push button on the Sonoff Basic. The rule was like this: on button#state do if [button#state]=0 gpio,12,0 else gpio,12,1 endif endon Just make sure you name the device "button" and the value (bottom of the screen) "state". Than it should work. (I think these names are case sensitive).
@roystervi
@roystervi 5 лет назад
Thank you so much for the pointers.... looking at the logs I see I needed to change it like this...and its turning on and off.. its working great in my home automatons on button#Switch do if [button#Switch]=0.00 gpio,12,0 else gpio,12,1 endif endon just learning to do this ..., is it possible to add a timer for 60 sec base on if [button#Switch]=0.00 whereby every time [motion#Switch]=0.00 is post it will restart the timer and start a new time? and base on a set time like 1900 to 0630.. the reasoning behind this is to have the light turn on via motion sensor I can do this by automation however, I notice adding rules is better than doing an automation because if my mqtt is down, the light switch does not function but now with this rule, the light switch not functions if I stop the mqtt broker.
@csongorvarga
@csongorvarga 5 лет назад
@@roystervi Check the Off-on-off cycle in my example. Basically, in the above flow you change the gpio,12,1 (or 0 depending on your type of relay) to timerSet,1,5 (where 5 is for 5 seconds). And the time code is like this: on Rules#Timer=1 do gpio,12,10 endon And check my "Time check at startup" example how to check the time.
@roystervi
@roystervi 5 лет назад
off topic Question.. is there a new way to upgrade espeasy? I was running ESPEasy_v2.0.0-dev7_normal_4096.bin and ESPEasy_v2.0.0-dev10_normal_4096.bin on all of my esp's. I tried to ESP_Easy_mega-20181106_normal_ESP8266_4096.bin after uploading the D1 mini's and the nodemuc's will not reboot I have to re flash them with a blank.bin then re flash them with the latest firmware for it to work.. any idea
@csongorvarga
@csongorvarga 5 лет назад
Strange, I also had issues flashing the 4096 version even though my ESP has 4MB of flash. But when I flashed the 1024 version, it was OK. But otherwise no idea, sorry.
@roystervi
@roystervi 5 лет назад
Again thanks, I will try that because my esp are hard to get too and when I flash iy will go off line until I connect a usb cable and reflash that way.. also, I tried the same thing with firmware 2018-11-06 and tried to upgrade with 2018-12-04 but it will not upgrade it will restart ok however, the build will not change to the newest upgrade instead will stay at the old version.. maybe I will try using the 1024
@MrHellouthr
@MrHellouthr 6 лет назад
Sir I have done everything according your video but its not working the way it should... on every click in the esp page my relay is blinking once and the value in the "Values" column is getting changed on sonoff button press... just no effect on the relay
@csongorvarga
@csongorvarga 6 лет назад
Sorry, I have gone through many different scenarios in this video, which one you are trying to replicate? What do you mean the relay is blinking when you click the ESP page? The configuration page? What are you doing there? The relay turns on, or the LED is blinking?
@MrHellouthr
@MrHellouthr 6 лет назад
Let me explain.... So i have a bulb connected on the output of sonoff just like you have connected.... Now whenever i click on one of the tabs or the submit button or the cancel button my lamp goes off for a second (rest of the time it is in the switched on mode).... And i have tried every scenario from the video.. None of them is working.... Only the first one worked for a few minutes.... But then nothing is working again
@MrHellouthr
@MrHellouthr 6 лет назад
If possible can i have a whatsapp call or messenger call with you?
@csongorvarga
@csongorvarga 6 лет назад
I am sorry but I have no idea. I am not aware that any other setting on the Sonoff would make the rule to hang up. I advise to open an account on the ESP Easy forum and try getting some help there.
@MrHellouthr
@MrHellouthr 6 лет назад
Csongor Varga sure will do that... Thanks for instant help
@fromchinaparcel
@fromchinaparcel 7 лет назад
BTW, do you know the way of smooth led on (normally, I use PWM in cycle in Arduino IDE). Is it possible to do with Esp Easy? Is there milliseconds timer ?
@csongorvarga
@csongorvarga 7 лет назад
+Посылка из Китая Yes, instead of gpio you can use the pwm command. Parameters are the pin and the duty cycle. In the newest version there is also a third fade parameter. Please google it, I don't remember the settings from the top of my head.
@fromchinaparcel
@fromchinaparcel 7 лет назад
Seems, fade parameter is deprecated www.letscontrolit.com/wiki/index.php/PWM_GPIO
@roystervi
@roystervi 5 лет назад
New questions..... I have a light switch I flashed with esp-easy and I will like to use the tx and the rx pin as gpio's they are gpio 1 and gpio 3... I notice in esp-easy when we go to Hardware, and Devices to select which gpio's to use, Gpio1 (D10) and gpio3 (D9) is grayed out and not selectable.. is there a way to connect something to gpio 1&3 the rx&tx pin to use them as an input the purpose is to use the RX and the TX pin to add a DHT22 temp sensor and a PIR (motion) sensor I have another light switch I flashed with tasmota and I can use the rx&tx as extra gpio's I like Tasmota for this option and tasmota has another great function whereby in the UI you can toggle and see each device status where esp-easy does not but only as a log and no interaction... Why Tasmota is not good for me is because the MQTT is not reliant whereby its always flickers and flash my light randomly its seem tasmota has a wifi-mqtt problem with is not stable for my need and reliability. however, esp-easy have been stable for me and this video has gave me some good understanding on rules because in my automation, I was using automation code to do what the rule are doing. If esp-easy can turn on those 2 gpio's I will be great full also have you made a new video on dummy devices, at the end of this video you said you might do a video on adding a sensor and show its value in a dummy device. the little you show about I can reproduce it but if their a video out there that already showed how to do it I like to see what else I might be missing.
@csongorvarga
@csongorvarga 5 лет назад
RX, TX: this is a good question. I think it is possible to turn off the serial output somewhere in Advanced. Maybe after that gpio 1 and 3 will be available for other purposes. You can use dummy device to store values. One of my recent video is an ESP Easy based thermostat. There I used the dummy device to hold the set temperature which is than use to control the relay output.
@roystervi
@roystervi 5 лет назад
Yeah I have been on google for a while now trying to see if I can turn on the tx and rx in espeasy but have not fine anything as yet under hard where on GPIO boot states gpio 1md 3 not lested
@malysh86
@malysh86 2 года назад
bla bla bla(
Далее
How to build a thermostat with ESP Easy
37:12
Просмотров 38 тыс.
How to flash ESPurna firmware to Sonoff Basic
23:34
Просмотров 36 тыс.
Sonoff wifi switch control with ESP Easy and Node Red
31:10
How to flash Sonoff to ESP Easy firmware
17:46
Просмотров 187 тыс.
MQTT Broker/Bridge on the ESP8266
17:28
Просмотров 81 тыс.
DS18B20 temperature sensor with ESP8266 and ESPeasy
24:53
Using  ESP Easy with ESP32
14:23
Просмотров 11 тыс.
Offline Voice Recognition Sensor
8:40
Просмотров 18 тыс.
ESPEASY RULES jak łatwiej pisać skrypty rules
8:29
Просмотров 1,3 тыс.