Search found 5 matches

by Psi
31 Mar 2020, 21:31
Forum: ESP Easy: General Discussion
Topic: Neopixele as status-indicator
Replies: 4
Views: 5105

Neopixele as status-indicator

Hi there, I had the idea to use a neopixel to visualize the state of the ESP. Something like * green: connected to wifi * blinking: try to connect to wifi * cyan: AP-Mode active I've done it with a rule: // Enable AP Mode on Flash-Button press on FlashBtn#State=1 do WifiAPMode endon // Blink blue wh...
by Psi
07 Jan 2020, 23:15
Forum: ESP Easy: Software
Topic: P2P react on SendTo Errors?
Replies: 6
Views: 2917

Re: P2P react on SendTo Errors?

Yes I see it's nothing one can implement in a hurry. But for now I'm searching for a way to extend the business logic myself. Seems a custom command could be used for that so instead of doing a SendTo I could call MySendToFn. I've found some other requests on how to "precompile" rules / write own on...
by Psi
07 Jan 2020, 17:19
Forum: ESP Easy: Software
Topic: P2P react on SendTo Errors?
Replies: 6
Views: 2917

Re: P2P react on SendTo Errors?

Yay, I see this is not very trivial.

Is there a little how-to for implementation of a "rule" in C so I could use the cool espeasy features and have the freedom of using native code?
by Psi
07 Jan 2020, 16:42
Forum: ESP Easy: Software
Topic: P2P react on SendTo Errors?
Replies: 6
Views: 2917

Re: P2P react on SendTo Errors?

Of course I can but it would make sense to implement general error handling dosnt it?
So if I `SendToHTTP` and get an network error or a falsy response code like 404 it should also be a way to handle this.
by Psi
07 Jan 2020, 16:26
Forum: ESP Easy: Software
Topic: P2P react on SendTo Errors?
Replies: 6
Views: 2917

P2P react on SendTo Errors?

Hi, I've flashed INIT : Booting version: mega-20191208 (ESP82xx Core bc204a9b, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) and set-up a p2p network with two devices. One has ha simple button and the other one a LED. I made a Rule on Device 1 with SendTo,2,"LongPulse,14,1,10" to Device 2....