Page 2 of 12

Re: Supla Button 4 direct links

Posted: Sun Jan 13, 2019 11:31 pm
by bulek68
elmaya wrote: Tue Jan 08, 2019 11:31 pm Supla Button 8 Direct Links
Thanks for a great job! You are the best. 😄

Re: Supla Button 4 direct links

Posted: Wed Jan 23, 2019 5:21 pm
by procekms89
is there any possibility for a slightly "lighter" version? I mean the version that could be run on the standard esp8266 eg esp-12f? Does it have to be 32Mb version? I admit that I have thought about such a program for a long time, but I do not understand why to send a small information to the server you need such an extensive program.

Re: Supla Button 4 direct links

Posted: Wed Jan 23, 2019 6:33 pm
by elmaya
the code is there
you can compile in Arduino IDE for the modulo you prefer
Esp12f =4MB (32Mb)

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 6:30 am
by procekms89
OK. Thank you for your help when I program My ESP-12f through your * .bin file everything works fine.
Now I have to find out why when programming via My arduino IDE after programming I get an error "ets 8 January 2013, the first reason: 4, the launch mode: (1,6)" in the console.

Thanks again for your program. Now just wait for the official edition of Cloud 2.3.0 to my raspberry. A whole lot of fun :D

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 8:56 am
by wsosniak
Hi Elmaya

i have an idea to use your software (Supla Button 6 Direct Links) for my own notifications (bulit in IFTTT). To do that, i would need to save IFTTT links in your software (instead of direct links from SUPLA):
Example for my IFTTT link:
https://maker.ifttt.com/trigger/EVENT1/ ... xxxxxxxxxx

where xxxxxxxxxxxxxxxxxxxxxx is my key in IFTTT (22 chars).
I tried to set in your software:
- SERVER NAME : maker.ifttt.com
- LINK1 : /trigger/EVENT1/with/key/xxxxxxxxxxxxxxxxxxxxx

but , there is a problem when i copy/paste string "/trigger/EVENT1/with/key/xxxxxxxxxxxxxxxxxxxxx" to your software becasue length of this string is 45 and it is truncated to 40 chars.

And i have a question : Is it possible to extend fields : LINK1..6 to 60 chars (instead of 40) ? Will it be working with url from IFTTT ? or with public links delivered by fracz for scenes from supla.fracz.com ? If yes , could you prepare (compiled version) of it ?

thx a lot !! :)

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 9:51 am
by elmaya
@ procekms89 check your Gpio connections.

@ wsosniak
char D_Link_1[60];
WiFiManagerParameter custom_D_Link_1("Link 1", "D_Link_1", D_Link_1, 60);

remember to erase your Esp8266 before flashing new firmware

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 10:38 am
by wsosniak
elmaya wrote: Thu Jan 24, 2019 9:51 am @ wsosniak
char D_Link_1[60];
WiFiManagerParameter custom_D_Link_1("Link 1", "D_Link_1", D_Link_1, 60);

remember to erase your Esp8266 before flashing new firmware
Thx a lot for quick support !!! i will test it in the evening and give you info back

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 4:55 pm
by procekms89
elmaya wrote: Thu Jan 24, 2019 9:51 am @ procekms89 check your Gpio connections.

I check GPIO and program is running but I have next problem.

"failed to mount FS
.....
Connected
Adres IP:
192.168.8.32 / 255.255.255.0 / 192.168.8.1
(RSSI): -71 dBm
"

I try clearing flash memory and programing ESP again. And nothing changes.

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 6:12 pm
by elmaya
@ procekms89
which board manager? 2.4.2?
which board?
which board config?
maybe 1M(no SPIFFS)?

Re: Supla Button 4 direct links

Posted: Thu Jan 24, 2019 10:18 pm
by procekms89
elmaya wrote: Thu Jan 24, 2019 6:12 pm @ procekms89
which board manager? 2.4.2?
which board?
which board config?
maybe 1M(no SPIFFS)?
I check everything and I found problem with board manager. In directory C:\Users"Your Username"\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266 I have two version this boards. I remove that second board and now is working correct.