The only changes to the example code are the
three define statements
And it can go offline 30 -100 times a day, usually for mere seconds.
At home test router is about 15 feet from the development boards.
I’ve tried a few different chipsets and different development boards.
I have even tried different networks and different SSIDs.
Only using 1 datastream for testing, simple led on/off button.
@LockMan You’ve edited your post, but despite me giving you examples of what triple backticks look like, and encouraging you to copy/paste my examples, you’ve chosen to use some other random keyboard characters - which doesn’t succeed in your code displaying correctly.
Data Type Integer
when using app or web page Button the led does turn On and Off.
At first I had my device working as I wanted on an Esp8266 12E.
than changed to a Wemos D1.
worked fine , but with 5 to 10 off line notices in a week, could live with that. than had printed up some boards. Ordered some new D1’s when the boards came in.
than would get 5- to 100 off line notices a day.
switched to the remote antenna chip on Perf board with same issue. than tries just the simple example code to see if the problem was in the code.
but seems i still got the notices, than moved to an entire new environment ( new building, new network and SSID) .
Okay, my advice would be not to use digital datastreams, they aren’t implemented well in Blynk IoT.
I’d recommend sticking with Virtual only.
Also, it seems from the (rather disjointed) information you’ve provided that your problems were much less when using pre-built dev boards than with your own design of board. Is this correct, and have you tried going back to the pre-built boards.
Also, you haven’t un-commented one of the board types, so the custom board type pins in Settings.h are being used - which may not be appropriate for your hardware.
Ok ,Thanks for your replies.
When I said I had boards printed, boards were made so the development boards would plug into sockets , I am not making my own ESPs. I’ll double check the default setting statements later today.