Search found 39 matches

by pw444
17 Jun 2020, 17:24
Forum: ESP Easy: Projects / Applications
Topic: Coffee Machine with ESPEasy
Replies: 9
Views: 4323

Re: Coffee Machine with ESPEasy

Hi Pete, sorry for the late reply. I got very ill last year (got the H1N1 flu) and spent 70 days at the hospital and some months in physiotherapy to be able to stand and wlak again. Did not complete yet, but will. The coffee machine i intend to automate is a Siemens TC91100 Kaffeemaschine 8T Porsche...
by pw444
14 May 2019, 19:40
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

thx!!!
by pw444
14 May 2019, 19:12
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

Yes, i did read it, but could not find how, that's why i asked for an example based on the rules, so i can figure out. MQTT <MQTT subscribe template>/cmd with payload: <command> i was able so far to figure out: mosquitto_pub -h 192.168.1.6 -t "/Lamp-0101/gpio/2" -m "1" what i'm asking is how to use ...
by pw444
14 May 2019, 16:47
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

thx!

just one stupid question.

using my browser, i can control it with i.e. http://192.168.1.5/control?cmd=event,pb01sw

how could you do the same using the mqtt broker (mosquito)?

TIA
by pw444
11 May 2019, 18:31
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

Ok, [VAR#1] also ouputs 1.00 or 0.00, so accepted your suggesttion ;-) Thx a lot. BTW, by Controller, i have: openhab mqtt ip: 192.168.1.6 Controller Subscribe: /%sysname%/# Controller Publish: /%sysname%/%tskname%/%valname% enabled: yes Why does my mqtt server does not sows the %sysname% by subscri...
by pw444
10 May 2019, 23:45
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

Thx! i did the following: // pb01 - gpio 0 - D5 // output - gpio 2 - D3 // boots off On System#Boot do let,1,0 // gpio 2 -> relay state high = relay off GPIO,2,1 endon on MQTT#Connected do event,publishstatus endon on pb01#onoff do gpiotoggle,2 if [VAR#1]=0 let,1,1 // state on event,publishstatus el...
by pw444
10 May 2019, 15:45
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

Re: MQTT Publishing by boot

Thank you. By MQTT#Connected will it perforn once after boot or every time when connecting, i.e, a netorwork disconnection, but no reboot and change of state? And regarding controllers: By Controller, i have: openhab mqtt ip: 192.168.1.6 Controller Subscribe: /%sysname%/# Controller Publish: /%sysna...
by pw444
10 May 2019, 14:55
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 1911

MQTT Publishing by boot

Hia, I'm trying to publish the state of the device, as On System#Boot do let,1,0 // gpio 2 -> relay state high = relay off GPIO,2,1 Publish,%sysname%/status,Light Off endon on pb01#value do gpiotoggle,2 if [VAR#1]=0 let,1,1 // state on Publish,%sysname%/status,Light On else let,1,0 // state off Publ...
by pw444
08 May 2019, 23:36
Forum: ESP Easy: Software
Topic: Monitor GPIO#
Replies: 2
Views: 808

Re: Monitor GPIO#

grovkillen wrote:
08 May 2019, 22:13
Tried this?:

Code: Select all

on System#Boot do
 let,2,0
 GPIO,2,0
 Monitor GPIO,2
endon

 on GPIO#2 do
  let,2,[GPIO#2]
 endon

yes, and did not work either with release: GIT version: mega-20181204
by pw444
08 May 2019, 21:10
Forum: ESP Easy: Software
Topic: Monitor GPIO#
Replies: 2
Views: 808

Monitor GPIO#

Hia, i'm trying to use the command Monitor GPIO#, but no luck. on System#Boot do let,2,0 Monitor GPIO,2 endon on GPIO#2=0 do let,2,0 endon on GPIO#2=1 do let,2,1 endon monitoring by system variables, the result is the same, does not change. %v2% 0.00 0.00 but the state of gpio 2 changes (led gets on...
by pw444
08 May 2019, 16:46
Forum: ESP Easy: Software
Topic: [SOLVED] Switch cotrol + openhab
Replies: 2
Views: 664

Re: Switch cotrol + openhab

ESP8266 works with 3.3V and the if the relay works with 5V, you need a resistor divider. ESP8266 ESP01 - light switch Define device one as Switch Input, Push Button Active Low, pullup on, GPIO 0. Name it pb01. Name the value #1 as value. by hardware - gpio-2 - output high - for relay - gpio-2 low tr...
by pw444
07 May 2019, 16:07
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

Ok, thank you. My doubt was regarding the use of let on states. Last sunday, i had the follwoing code: // pb01 - gpio 0 - D5 // output - gpio 2 - D3 // boots off On System#Boot do let,1,0 // GPIO,2,0 endon on pb01#value do gpiotoggle,2 if [VAR#1]=0 let,1,1 // state on // publish light on else let,1,...
by pw444
06 May 2019, 13:02
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

grovkillen wrote:
05 May 2019, 17:05
Ok good. I will get back to you on that one. I'm watching a movie with the family :)
ok, thank you. look forward for the reply ;-)
by pw444
05 May 2019, 17:02
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

Did you read the discussions I linked to? yes, i did. and using the old way, i got it. i was asking the new way, with let, as you mentioned, and also asked. viewtopic.php?f=4&t=6030&p=32910&hilit= ... tch#p32910 viewtopic.php?f=4&t=5771&p=31040&hilit= ... tch#p31040 viewtopic.php?f=6&t=2039&p=25350...
by pw444
05 May 2019, 14:04
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

Yes, sir, it's virtual toggle. The physical button (which exists), it's a push button. All i want to is get rid of the need of pushing physically twice after it has been virtually toggled, when the state / value does not change. If you can be so nice and educate me with the suggested "let" i'll real...
by pw444
05 May 2019, 13:38
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

Thx for the answer.

By the examples, old way, a toggle switch (on off) is used. I'm using a push button.

" For LET commands let me get back to you on that if you still want it?", sure!

BR
by pw444
04 May 2019, 19:21
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

Re: push button and http cmd value/state of button

Thx for answering.

Just let, alone?

example, please?
by pw444
04 May 2019, 19:18
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 1662

push button and http cmd value/state of button

Hya, i would like to know if and if yes, how to change teh value of a state using rules. I have one push button define device switch input, push button active low, pullup pn, gpio0, named pb01. With the followin code, // pb01 - gpio 0 - D5 // output - gpio 2 - D3 On System#Boot do let,1,0 // future ...
by pw444
03 May 2019, 19:31
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Yes, it seams it's broken. I also will give a try on Monitor GPIO, which , if it works, will retrun the state of the gpio. Regarding opinion i share yours. A switch shall close two leads and have it's state possible to be read. Anyway, let's see what the solution will be. Thank you very much for the...
by pw444
03 May 2019, 16:28
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Hi, With 20181207 it did not work. i only got it working with: Build:⋄ 20103 - Mega Libraries:⋄ ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support GIT version:⋄ mega-20181204 Plugins:⋄ 46 [Normal] Build Md5: 8fcbabb62a7e828e37824fd0e484298a Md5 check: passed. Build time:⋄ Dec 4 2...
by pw444
03 May 2019, 12:36
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Thank you.

i will try with 20181207 and let you know the results.

TIA
by pw444
03 May 2019, 01:48
Forum: ESP Easy: Software
Topic: What is going on with our beloved Switch Input Plugin?
Replies: 6
Views: 1065

Re: What is going on with our beloved Switch Input Plugin?

something is not good on this plugin... a simple toggle switch and i'm not being able to get the state of the gpio.
by pw444
03 May 2019, 01:38
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Thx for the answer. regarding "1) Replace your rule code that reads output GPIO (via the Switch Input) and instead use local variables, per my earlier suggestion." any example in how using local variables, as i need to get the gpio state, and have it updated when gpio state changes from high to low ...
by pw444
02 May 2019, 21:55
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

THx for the answer. Firmware Build:⋄ 20103 - Mega System Libraries:⋄ ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support Git Build:⋄ mega-20190425 Plugins:⋄ 47 [Normal] Build Md5: 8364f546fd8f5fcd0843c49262b0e8 Md5 check: passed. Build Time:⋄ Apr 25 2019 02:14:50 Binary Filename:⋄...
by pw444
01 May 2019, 21:55
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Thanks for answering. all 4 gpios (12,13, 14 and 15) are connected as: gpio pin -> 220 ohm resistor -> led -> gnd for the testing, i'm using the Wemos D1, on 5V, which is ok for it. All have the same configuration, under devices, but 3 starts with state 1 (on device list page) and have state 0 (all ...
by pw444
01 May 2019, 17:28
Forum: ESP Easy: Software
Topic: ESP Easy build for Ventus weather station
Replies: 6
Views: 1089

Re: ESP Easy build for Ventus weather station

you can use arduino ide.

someday i will migrate to plataformio, but for now, it‘s simply to complicated.
by pw444
01 May 2019, 16:54
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

By inverted you mean Inversed Logic? if yes, not ticked. by virtual buttons, i mean the following: the esp8266 device have no physical button, and it's gpios (input or output) will be connectd to other devices in paralell to those devices physical buttons, either direct, in case of an arduino (volta...
by pw444
01 May 2019, 15:58
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

Hi All, the rules: On System#Boot do gpio,12,0 gpio,13,0 gpio,14,0 gpio,15,0 let,1,0 let,2,0 timerSet,1,5 endon // loop On On24_On do gpio,12,1 endon On On58_On do gpio,13,1 endon On OffAll_Off do gpio,14,0 gpio,13,0 gpio,12,0 endon //On LedFinish_On as i understand, all the pins should have state l...
by pw444
30 Apr 2019, 21:19
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

done. markus kuntz is patroning you with $ 10.00 / month. keep the good job.
by pw444
30 Apr 2019, 17:30
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - error

After rebooting, it worked :D What i'm trying to do (concept and learning - later, more sofisticated jobs ;) ) 1) have 3 virtual push buttons ("pushed" either by http command or by openhab / home assistant), which will trigger 3 gpio to high (as output), physically conencted to a circuit in parallel...
by pw444
30 Apr 2019, 01:22
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working - solved

Hi All, trying to find out how it works, i did the following: On System#Boot do gpio,12,0 gpio,13,0 gpio,14,0 let,1,0 let,2,0 timerSet,1,5 timerSet,2,1 endon On Rules#Timer=1 do timerSet,1,5 if [VAR#1]=1 let,1,0 gpio,12,0 gpio,14,1 else let,1,1 gpio,12,1 gpio,14,0 endif endon On Rules#Timer=2 do tim...
by pw444
29 Apr 2019, 20:14
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working -

Hi ThomasB,

thank you for pointing the new docs.

BR,

PauloW
by pw444
29 Apr 2019, 12:52
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working -

Hi Grovkillen, i've found espeasy lesss than 10 days ago... i'm trying to find out how rules works and things can be done, having no success yet, due not performing as shown by docs / wikis. Sure i consider sponsoring, as i do with two other open source initiatives, and for that, having some results...
by pw444
29 Apr 2019, 12:38
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working -

Thank you ThomasB, regarding the following code: On System#Boot do gpio,12,0 let,1,0 timerSet,1,5 endon On Rules#Timer=1 do timerSet,1,5 if [VAR#1]=1 let,1,0 gpio,12,0 else let,1,1 gpio,12,1 endif endon where do i find the description for "let,1,0"? Where do the VAR#1 came from? It there a revised t...
by pw444
28 Apr 2019, 22:51
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

Re: rules - example not working -

Hi, thank you for the answer.

Where do i get the 2.0?

I've found R120 or mega.

Thx!
by pw444
28 Apr 2019, 16:12
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 3673

rules - example not working - error

Hi All, trying to learn from example. used the example at: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules Rule: On System#Boot do gpio,12,0 timerSet,1,5 endon On Rules#Timer=1 do if [E1SW1#Switch]=1 gpio,12,0 else gpio,12,1 endif timerSet,1,5 endon Yes, the virtual switch was created as...
by pw444
24 Apr 2019, 12:39
Forum: ESP Easy: Projects / Applications
Topic: Coffee Machine with ESPEasy
Replies: 9
Views: 4323

Re: Coffee Machine with ESPEasy

Thank you, i took a look and those are more sofisticated machines than mine :lol: So, i defined gpio 12 and gpio 13 output low and defined gpio 14 as input. When to make coffee, gpio 12 or 13 depending on selection will get high, triggering the physical push button and led on coffee machine will lig...
by pw444
23 Apr 2019, 15:50
Forum: ESP Easy: Projects / Applications
Topic: Coffee Machine with ESPEasy
Replies: 9
Views: 4323

Coffee Machine with ESPEasy

Hi all, after digging and reading a lot, and having the choices of Tasmota, Espurna and ESPEasy, i decided for ESPEasy. As an absolute beginner, i will begin with making my coffee machine manageable. So, the device have three push buttons (1 for 1 to 6 cups, 1 for 7 to 12 cups and 1 for off), When i...