Search found 155 matches

by pw444
03 Nov 2020, 23:38
Forum: ESP Easy: Software
Topic: reset network settings.
Replies: 5
Views: 7313

reset network settings.

Hya,

is there a way to reset the network settings of ESPEasy without erasing the other settings, rules, etc? Just the network settings, turning back to AP for enabling in anoher network.

Thank you!
by pw444
01 Oct 2020, 00:59
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

At the time of developing support for MQTT it became clear that there was no such thing as a standard syntax for MQTT messages. So soon after the first MQTT controller plugin, additional ones were build to support specific HOME Automation controllers in a limited way. But from there on, it also bec...
by pw444
01 Oct 2020, 00:57
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

long story short, mqtt import does not works for HA. in fact, OpenHAB/HA subscribes to the command topic pretty well, you can pass any string payload and then execute it as event in rules e.g. payload is relay0 on relay0 do gpio,0,0 endon Thank you! Can you post an example in how to achieve this? I...
by pw444
29 Sep 2020, 16:18
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

any hint?
by pw444
14 Sep 2020, 20:00
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

long story short, mqtt import does not works for HA.


there is a topic: https://community.home-assistant.io/t/e ... a/157415/7

any hint of what is going on and help?

TIA
by pw444
14 Sep 2020, 15:15
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

thank you.

if i publich the topic rl1c_0/relay/onoff=1 , how would the mqtt import syntax be to change the state and make the relay (gpio0) trigger on/off?

relay is the device name (gpio0) and onoff the state.

Thx in advance
by pw444
09 Sep 2020, 13:18
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

pw444 wrote: 08 Sep 2020, 22:25
Is the above understanding correct?
i just wish to be sure my understanding is correct, that subscribe actions are plugin dependent, and that it does not work for mqtt ha / openhab.
by pw444
08 Sep 2020, 22:25
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

ESPEasy has a very simple structure: - Plugin: Interact with something (usually hardware) and may result in 0 .. 4 values (e.g. temp/hum/etc.) - Task: An instance of a plugin, may send data to 0 .. 3 controllers. - Controller: Receive data from a plugin (or rules) and send it to some service. (e.g....
by pw444
07 Sep 2020, 23:01
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

question is: how to read from mqtt broker and perform the action. publishing is being done. The obvious answer would be: Just set the command topic on the broker to rl1c_0.fqdn/gpio/0 and use payload 0 or 1. Sorry if I did not get the point though... Regards, Fab Thank you! right to the point. Work...
by pw444
07 Sep 2020, 18:16
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

How does it work? from my understanding, once you subscribe the topic, the same you publish, action should be performed by change, or am i wrong? espeasy pubish the state, by mqtt broker you see the change, mosquitto_pub from command line makes the change at the broker, no problems. but espeasy does...
by pw444
07 Sep 2020, 13:41
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

any comments? thx in advance.
by pw444
05 Sep 2020, 18:05
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

An implicit question, that maybe wasn't quite so obvious, hasn't been answered clearly: Does the relay switch on when you send the gpio,0,1 command from the tools page? Yes, relay is triggered by sending gpio,0,1 and release by sending gpio,0,0. The question is how to make espeasy read the status c...
by pw444
04 Sep 2020, 19:17
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

Re: mqtt - how to?

What type of ESP are you using? (ESP8266, ESP8285 or ESP32, any specific hardware like a Sonoff or Shelly?) How is the hardware on the ESP device configured? I.e., what GPIO's are the relay and button(s), if any, connected to? What other hardware is connected to the ESP, like temperature sensors? E...
by pw444
04 Sep 2020, 00:15
Forum: ESP Easy: Software
Topic: mqtt - how to?
Replies: 25
Views: 21879

mqtt - how to?

Hya! Espeasy - controller protocol - home assistante (openhab) mqtt - controller client id: %sysname%_%unit% - Controller Subscribe: %sysname%_%unit%/# - Controller Publish: %sysname%_%unit%/%tskname%/%valname% - Controller LWT Topic: home-assistant/window/availability - LWT Connect Message: payload...
by pw444
02 Sep 2020, 14:02
Forum: ESP Easy: Software
Topic: ESP_Easy_mega_20200829_normal_ESP8266_1M - Append Unit Number to hostname does not work
Replies: 3
Views: 5361

Re: ESP_Easy_mega_20200829_normal_ESP8266_1M - Append Unit Number to hostname does not work

So can you give some examples of where it isn't working? device name: rl1C arp -a shows rlc1C.fqdn instead of rl1C_0.fqdn rl1C stands from relay 1 contact (mono relay), so i can via mqtt address it per fqdn But now a doubt raised. Is this unit number once appended retained or does it changes on boo...
by pw444
01 Sep 2020, 21:51
Forum: ESP Easy: Software
Topic: ESP_Easy_mega_20200829_normal_ESP8266_1M - Append Unit Number to hostname does not work
Replies: 3
Views: 5361

ESP_Easy_mega_20200829_normal_ESP8266_1M - Append Unit Number to hostname does not work

Hya,

restarted all over, after a very bad illness.

Installed the ESP_Easy_mega_20200829_normal_ESP8266_1M on a esp8266-01 and discovered that Append Unit Number to hostname does not work when selected.

Any hint?

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

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

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

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 a...
by pw444
14 May 2019, 16:47
Forum: ESP Easy: Software
Topic: MQTT Publishing by boot
Replies: 14
Views: 8577

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

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

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

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

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

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

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

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

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

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

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 viewtopi...
by pw444
05 May 2019, 14:04
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 6213

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"...
by pw444
05 May 2019, 13:38
Forum: ESP Easy: Software
Topic: push button and http cmd value/state of button
Replies: 13
Views: 6213

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

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

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

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

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

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

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

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 hi...
by pw444
02 May 2019, 21:55
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 14696

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

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

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

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

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

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

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 i...
by pw444
30 Apr 2019, 01:22
Forum: ESP Easy: Software
Topic: rules - example not working - error
Replies: 29
Views: 14696

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

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

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