Search found 21 matches

by buzzger0815
18 Aug 2020, 01:06
Forum: ESP Easy: Software
Topic: connect to host and send bytes
Replies: 4
Views: 6229

Re: connect to host and send bytes

Hi! I bought this one http://www.icstation.com/esp8266-wifi-channel-relay-module-smart-home-remote-control-switch-android-phone-control-transmission-distance-100m-p-12593.html I wanted to use it to control a projector screen with it. But i now bought a shelly 2.5, flashed espeasy on it and archived ...
by buzzger0815
15 Aug 2020, 15:48
Forum: ESP Easy: Software
Topic: connect to host and send bytes
Replies: 4
Views: 6229

Re: connect to host and send bytes

Yes, something like telnet. I bought a wifi relais with esp8266, thinking that i can flash espeasy on it and use it. BUT they assembled a whatever microcontroler, which uses the esp8266 only as "wifi card", so no espeasy :( But you can connect to the controler on the board and send command...
by buzzger0815
14 Aug 2020, 14:01
Forum: ESP Easy: Software
Topic: OLEDCMD,timeout
Replies: 2
Views: 5226

Re: OLEDCMD,timeout

Sure. I'll test it again this evening and if i can confirm this behavior again, i'll post it as an issue.
by buzzger0815
14 Aug 2020, 12:27
Forum: ESP Easy: Software
Topic: OLEDCMD,timeout
Replies: 2
Views: 5226

OLEDCMD,timeout

Hi there!

With the command OLEDCMD,1 i can switch on (wake up) the oled display, if it is switched off by timeout. BUT when it is switched on, it doesnt switch off again after the timeout.

How do i have to switch on the oled display to remain the switch of timeout?

Thank you!
by buzzger0815
14 Aug 2020, 12:23
Forum: ESP Easy: Software
Topic: connect to host and send bytes
Replies: 4
Views: 6229

connect to host and send bytes

Hi there! Is there a command or a controller with which i can connect to the socket of another host to send bytes to this host? For example connecttoHost,192.168.1.1,12345 // connect to host 192.168.1.1 port 12345 sendtoHost,192.168.1.1,I am connected // sendto (connected) Host the string "I am...
by buzzger0815
14 Aug 2020, 12:19
Forum: ESP Easy: Software
Topic: for to or loop or set all or something like this
Replies: 1
Views: 11332

for to or loop or set all or something like this

Hi there!

I would like to set all 8 outputs of a pcf8575 to 0 or 1 simultaneously. Therefore i would need a for to command or a pcfgpio,all,0 or pcfgpio,all,1.

Is there anything like this?

Thank you!
by buzzger0815
11 Aug 2020, 16:45
Forum: ESP Easy: General Discussion
Topic: "DoEvents" for mqtt publish
Replies: 7
Views: 6200

Re: "DoEvents" for mqtt publish

Ok, i did it with the timer soultion, thank you!

Works great, thank you!
by buzzger0815
11 Aug 2020, 16:11
Forum: ESP Easy: General Discussion
Topic: ESP8266 or ESPEASY crashes sometimes and deletes rules
Replies: 13
Views: 9025

Re: ESP8266 or ESPEASY crashes sometimes and deletes rules

@Ath You are right. The credentials of the mqtt config was deleted, no be me! I reentered it, but did a very strange behavior. After that, i did a factory reset and reentered every single setting. Now it is working again. I'll try to figure out the point and report it. Thank you so far! @TD-er No, y...
by buzzger0815
11 Aug 2020, 14:43
Forum: ESP Easy: General Discussion
Topic: ESP8266 or ESPEASY crashes sometimes and deletes rules
Replies: 13
Views: 9025

Re: ESP8266 or ESPEASY crashes sometimes and deletes rules

Is it possible, that the flash write is causing the problem? When i go to the ui to config, press on "send" and the unit crasheds, with the blue led going on after approx. 10 seconds.

Or maybe the flash is out of order. But as i wrote i have this behavior on 2 different units.
by buzzger0815
11 Aug 2020, 14:34
Forum: ESP Easy: General Discussion
Topic: ESP8266 or ESPEASY crashes sometimes and deletes rules
Replies: 13
Views: 9025

Re: ESP8266 or ESPEASY crashes sometimes and deletes rules

What exact release of ESPEasy (name of the .bin file please) do you have installed on your ESP? ESP_Easy_mega_20200801_normal_ESP8266_1M.bin Firmware Build:⋄ 20109 - Mega System Libraries:⋄ ESP82xx Core 5d3af165, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support Git Build:⋄ Plugin Count:⋄ 46 [...
by buzzger0815
11 Aug 2020, 14:31
Forum: ESP Easy: General Discussion
Topic: ESP8266 or ESPEASY crashes sometimes and deletes rules
Replies: 13
Views: 9025

Re: ESP8266 or ESPEASY crashes sometimes and deletes rules

Now i'm stuck into a 100% load with the rules engine turned off. In the log i see an error FS : Error while reading/writing config.dat in 1024 IMPT : Failed to connect to MQTT broker - attempt 1 IMPT : Failed to connect to MQTT broker - attempt 2 IMPT : Failed to connect to MQTT broker - attempt 3 I...
by buzzger0815
11 Aug 2020, 13:32
Forum: ESP Easy: General Discussion
Topic: ESP8266 or ESPEASY crashes sometimes and deletes rules
Replies: 13
Views: 9025

ESP8266 or ESPEASY crashes sometimes and deletes rules

Hi there! I don't know, if my problem is hardware or software related, so i posted it in the general discussion. My esp8266 or my espeasy crashes sometimes. I starts with a no longer responding web interface, after approx. 10 seconds the blue led goes on and stays on. The only way, to get it working...
by buzzger0815
10 Aug 2020, 15:10
Forum: ESP Easy: General Discussion
Topic: mqtt rule - help needed
Replies: 15
Views: 13937

Re: mqtt rule - help needed

Hi!

How about sending your ip every minute. If every minute would be enough, sending the ip would be as simple as

Code: Select all

on Clock#Time=all,**:** do
  Publish,%sysname%/%unit%/IP,%ip%
endon
by buzzger0815
10 Aug 2020, 13:07
Forum: ESP Easy: General Discussion
Topic: "DoEvents" for mqtt publish
Replies: 7
Views: 6200

Re: "DoEvents" for mqtt publish

Thank you for your help! But, none of these 2 ways does work. Either the "delay,0" after the first publish does work, nor the async thing. The async does start the async task and does execute all the things to do BUT the first publish, published before starting the async task, is send AFTE...
by buzzger0815
10 Aug 2020, 11:22
Forum: ESP Easy: General Discussion
Topic: "DoEvents" for mqtt publish
Replies: 7
Views: 6200

"DoEvents" for mqtt publish

Hi there! Is there a "doevents" (stolen from vb6 :)) like command? Because in the code below, i publish a status "going-down" as information, that work is in progress and a status "down" when work is finished. BUT the mqtt publish "going-down" is only send aft...
by buzzger0815
10 Aug 2020, 11:16
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Re: Timer adds additional 1 second delay

@TD-er

Thank you mate, i'll try the test built! Thanks!
by buzzger0815
06 Aug 2020, 10:40
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Re: Timer adds additional 1 second delay

Maybe this is, because in the interpreting code there will be the 1 second timer time added to the current time (including milliseconds) and there will be a comparision with milliseconds. For example: 1.0000 timer 1 rise 1.0020 create timer 1 adding 1 second = 2.0020 (timerSet 1,1) 2.0000 compare ac...
by buzzger0815
06 Aug 2020, 10:25
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Re: Timer adds additional 1 second delay

No, the "toogle impuls width" :) stays at 2 seconds. But is this a bug or is this wanted behavior? By the way, the "maybe this will also work" part of your code works pretty well! By the second way, this code On Rules#Timer=1 do timerSet,1,5 let 1,![VAR#1] pcfgpio,1,[VAR#1] endon...
by buzzger0815
06 Aug 2020, 08:34
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Re: Timer adds additional 1 second delay

@TD-er Thanks mate, that was a good advice. I picked my firmware from the "how to flash" page, which leads me to build 120 or 147. But now i'm on build 20109 - Mega. Thanx! Now this code On System#Boot do pcfgpio,1,0 let 1,0 timerSet,1,1 endon On Rules#Timer=1 do if [VAR#1]=1 pcfgpio,1,0 l...
by buzzger0815
05 Aug 2020, 23:52
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Re: Timer adds additional 1 second delay

@Ath Thank you, but its not about connecting an led, but about getting use to the rules and the syntax. The led blink thing is just a test. I updated to build 147, nothing changed, same behavior. @grovkilen I updated to build 147, nothing changed, same behavior. I played a bit and i found out, that ...
by buzzger0815
05 Aug 2020, 18:03
Forum: ESP Easy: General Discussion
Topic: Timer adds additional 1 second delay
Replies: 13
Views: 12607

Timer adds additional 1 second delay

Hi there! I'm really new to the espeasy thing, but i directly got trapped into an unlogical aspect i think. Why does this rule toogle a (on a pcf8574 i2c ic attached) led NOT in 1 second pulse but in a 2 seconds pulse? On System#Boot do timerSet,2,1 pcfgpio,1,1 endon On Rules#Timer=1 do timerSet,2,1...