That would be allmost impossible. I store the SSID and password in a self choosen EEPROM address
What does the serial console say on starting up ? It should give some info about the wifi
-
[ESPimatic]ESPimatic : ESP8266 modular sensor for Pimatic [v0.1.26]
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Connecting to : ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ .... Connected to ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ IP address: 10.15.23.132 HTTP server started
im still confused… and for sure… my wifi is not named
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
. but that´s what is displayed on serial monitoredit:
and bootloader says:ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1264, room 16 tail 0 chksum 0x42 csum 0x42 ~ld
-
When there is some previous ‘garbage’ on that EEPROM address , it read that. Once you enter your own credentials in the wifi,html page it will overwite in EEPROM.
I’m absolutely flabbergasted how it can connect to your wifi? Did you enter your wifi settings somewhere in the sketch yourself?Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
nope… there is no information about my wifi in the sketch…
im also flabbergasted (nice word… never heard of it )i did enter my wifi config at lines 112 and 113 yesterday… and tried to compile… but as i told on github… i never got it to compile…
before the first compile worked today, i was replacing the lines 112 and 113 with originals last night…
maybe it´s garbage from aborted compiling processes last night?
-
Lines 112 and 113 are for the softAP.
When you go to wifi.html , do you see your own wifi info overthere ?Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl I had the same situation detected as demlak.
-
@Heizelmann said:
@koffienl I had the same situation detected as demlak.
What situation ? The ESP being available in your network without wifi credentials ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
screenshot:
-
So you never entered your wifi credentials but still it was able to connect to your network?
Edit : that strange characters you see is indeed garbage read from EEPROM. You can easily overwrite from the wifi.html page.Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Concerning the usage of ESP8266-01 with 512kb. You can change the split of the 512k Flash. In standard arduino setup there are configs for no SPIFF and for 64k SPIFF. I added another config with 359k for sketch and 128k for SPIFF and then I could load all necessary files excluding ledmatrix and firmware which makes no sense for this small device with less GPIOs and memory.
In boards.txt added:
generic.menu.FlashSize.512K128=512K (128K SPIFFS) generic.menu.FlashSize.512K128.build.flash_size=512K generic.menu.FlashSize.512K128.build.flash_ld=eagle.flash.512K128.ld generic.menu.FlashSize.512K128.build.spiffs_start=0x5B000 generic.menu.FlashSize.512K128.build.spiffs_end=0x7B000 generic.menu.FlashSize.512K128.build.spiffs_blocksize=4096 generic.menu.FlashSize.512K128.upload.maximum_size=368624
And added this in new file ‘eagle.flash.512k128.ld’
/* Flash Split for 512K chips */ /* sketch 359KB */ /* spiffs 128KB */ /* eeprom 20KB */ MEMORY { dport0_0_seg : org = 0x3FF00000, len = 0x10 dram0_0_seg : org = 0x3FFE8000, len = 0x14000 iram1_0_seg : org = 0x40100000, len = 0x8000 irom0_0_seg : org = 0x40201010, len = 0x59ff0 } PROVIDE ( _SPIFFS_start = 0x4025B000 ); PROVIDE ( _SPIFFS_end = 0x4027B000 ); PROVIDE ( _SPIFFS_page = 0x100 ); PROVIDE ( _SPIFFS_block = 0x1000 ); INCLUDE "../ld/eagle.app.v6.common.ld"
-
@koffienl said:
@Heizelmann said:
@koffienl I had the same situation detected as demlak.
What situation ? The ESP being available in your network without wifi credentials ?
Yes. I loaded the filemanager and performed a reset. Then I restart and I got a minimal form for entering my SSID an password. Everthing worked fine without using the ESP as AP.
-
I also didn’t need the AP-mode.
Last week I flashed the simple example file from Arduino with the SSID and pwd.
After uploading ESPimatic, the ESP connected to my wifi! Very comfortably. -
Again I’m flabbergasted :p
How can a ESP connect to your wifi without the correct settings?
I grabbed a ESP from my collection and flashed with ESPimatic, worked like I expected and need to enter credentials.@BlueHill you even didn’t put in wifi credentials in the first simple page right after rebooting ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said:
…
@BlueHill you even didn’t put in wifi credentials in the first simple page right after rebooting ?I think that after uploading ESPimatic (+Reboot) I just start uploading the html-files (imho ESP connected with the credentials in EEPROM from the example sketch, IP was 192.168.0.x). Reboot. At the GUI I got a lot of “?” at the ssid textbox, so I typed in my ssid and pwd. Reboot. Fine.
-
Guys! need your help. I’m stuck with the flashing of my wemos D1 mini.
I’m getting this error and need some advice. Anybody an idea what to do?!
maybe i’m using the wrong lib?Arduino: 1.6.7 (Windows 7), Board: "Arduino/Genuino Uno" In file included from D:\Pimatic\Wemos\ESPimatic-master\ESPimatic-master\ESPimatic\ESPimatic.ino:1:0: D:\Pimatic\Wemos\arduino-1.6.7-windows\arduino-1.6.7\libraries\ESP8266WiFi\src/WiFiClient.h:24:18: fatal error: memory: No such file or directory #include <memory> ^ compilation terminated. exit status 1 Error compiling.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
I’m having issues with compiling on 1.6.7 also. Can you try with 1.6.5 ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
you did the same mistake like me…
the esp8266-lib git-website hints to 1.6.5.
i did not read it, too -
ok forget about it! solved it … forgot to install the d1 mini driver facepalm
on my dev pc in the basement it’s installed but not upstairs at the laptoppimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Now that a few people are testing, I’m really curious on your setups and how you have configured the ESP.
Currently I have 2 ESP’s setup.
One is in the living room with LED Matrix and a DS18B20. The temperature is measured every 1 minute and send to pimatic. The temperature is displayed on the LED MatrixThe intensity of the LED Matrix can be changed with a pimatic dimmer-slide:
IF $esp-led-dimmer.dimlevel gets updated and dimlevel of esp-led-dimmer <= 75% THEN execute "sudo curl --silent --data 'action=matrix_brightness&value={($esp-led-dimmer.dimlevel/5)}' http://192.168.2.144/api > /dev/null"
A other ESP is in my bathroom with 2 relays attached to control my bath. The relays are controlled with ShellSwitches:
{ "id": "badkamer-bad-main", "name": "Badkamer bubbelbad stroom", "class": "ShellSwitch", "onCommand": "curl --silent --data 'action=relay1&value=on' http://esp02/api", "offCommand": "curl --silent --data 'action=relay1&value=off' http://esp02/api", "getStateCommand": "curl --silent --data 'action=relay1&value=status' http://esp02/api", "interval": 60000 }, { "id": "badkamer-bad-blup", "name": "Badkamer bubbels", "class": "ShellSwitch", "onCommand": "curl --silent --data 'action=relay2&value=on' http://esp02/api", "offCommand": "curl --silent --data 'action=relay2&value=off' http://esp02/api", "getStateCommand": "curl --silent --data 'action=relay2&value=status' http://esp02/api", "interval": 60000 },
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@demlak said:
the esp8266-lib git-website hints to 1.6.5.
i did not read it, tooThanks a lot for the hint!! Savd me lots of debug trouble
now running on IDE 1.6.5 and all is fine!edit: just hooked up a ds18 sensor without any problems!
great work! thx for all your efforts! looking forward to work with ESPimatic
here’s my D1 testing board with the DS18 attached.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !