Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display stuck on "web interface on" #10

Open
sorriso93 opened this issue Sep 28, 2020 · 4 comments
Open

Display stuck on "web interface on" #10

sorriso93 opened this issue Sep 28, 2020 · 4 comments

Comments

@sorriso93
Copy link

sorriso93 commented Sep 28, 2020

Hello
I have a strange problem, tried with many version of esp2866 core (from 2.41 to 2.74).
All is good, the setup is ok, the display run fine till last message "web interface" then I don't get any graphic by pi-hole section (see image), remains stuck on this.
I'm using an SSH1106 and pins D3&D4 (the same wemos+ssh1106 I used for your weather station)

Below the log that seem everything is good:

`UtcOffset=-1.00
PiHoleServer=192.168.0.7
PiHolePort=80
PiHoleApiKey=fbe8631820d75f44c4ca1520fdb69a638f80739367f3484f1c0f1900bcd9d4b0
SHOW_CLIENTS=1
minutesBetweenDataRefresh=15
themeColor=light-blue
IS_BASIC_AUTH=1
www_username=admin
www_password=***
IS_24HOUR=1
INVERT_DISPLAY=1
USE_FLASH=1
Sending: http://192.168.0.7:80/admin/api.php?summary
Failed to connect and get data: http://192.168.0.7:80/admin/api.php?summary
Sending: http://192.168.0.7:80/admin/api.php?overTimeData10mins
Failed to get data: http://192.168.0.7:80/admin/api.php?overTimeData10mins
Sending: http://192.168.0.7:80/admin/api.php?topClientsBlocked=3&auth=fbe8631820d75f44c4ca1520fdb69a638f80739367f3484f1c0f1900bcd9d4b0
Failed to get data: http://192.168.0.7:80/admin/api.php?topClientsBlocked=3&auth=fbe8631820d75f44c4ca1520fdb69a638f80739367f3484f1c0f1900bcd9d4b0
*WM: [1] AutoConnect
*WM: [2] Connecting as wifi client...
*WM: [3] STA static IP:
*WM: [2] setSTAConfig static ip not set, skipping
*WM: [1] Connecting to SAVED AP: MAXNETHOME
*WM: [3] Using Password: ********
*WM: [3] WiFi station enable
*WM: [3] enableSTA PERSISTENT ON
*WM: [1] connectTimeout not set, ESP waitForConnectResult...
*WM: [2] Connection result: WL_CONNECTED
*WM: [3] lastconxresult: WL_CONNECTED
*WM: [1] AutoConnect: SUCCESS
*WM: [1] STA IP Address: 192.168.0.108
Signal Strength (RSSI): 56%
Server started
Use this URL : http://192.168.0.108:80/
*** Leaving setup()
*WM: [3] unloading

Updating Time...
.
09:18:35
9:18:35
33515
Local time: 8:18 AM
Sending: http://192.168.0.7:80/admin/api.php?summary
Response Code: 200
Response: {"domains_being_blocked":"84,352","dns_queries_today":"81,833","ads_blocked_today":"7,085","ads_percentage_today":"8.7","unique_domains":"4,191","queries_forwarded":"31,564","queries_cached":"43,184","clients_ever_seen":"61","unique_clients":"55","dns_queries_all_types":"81,833","reply_NODATA":"7,250","reply_NXDOMAIN":"806","reply_CNAME":"11,550","reply_IP":"52,129","privacy_level":"0","status":"enabled","gravity_last_updated":{"file_exists":true,"absolute":1601169554,"relative":{"days":1,"hours":7,"minutes":59}}}
Pi-Hole Status: enabled
Todays Percentage Blocked: 8.7

Sending: http://192.168.0.7:80/admin/api.php?overTimeData10mins
Response Code: 200
Modified Response: {"ads_over_time":{"1601201100":20,"1601201700":27,"1601202300":73,"1601202900":41,"1601203500":15,"1601204100":55,"1601204700":82,"1601205300":38,"1601205900":74,"1601206500":37,"1601207100":20,"1601207700":58,"1601208300":30,"1601208900":48,"1601209500":77,"1601210100":54,"1601210700":62,"1601211300":71,"1601211900":41,"1601212500":15,"1601213100":52,"1601213700":34,"1601214300":38,"1601214900":38,"1601215500":16,"1601216100":64,"1601216700":74,"1601217300":52,"1601217900":16,"1601218500":38,"1601219100":39,"1601219700":32,"1601220300":65,"1601220900":35,"1601221500":20,"1601222100":35,"1601222700":29,"1601223300":38,"1601223900":63,"1601224500":33,"1601225100":91,"1601225700":137,"1601226300":58,"1601226900":20,"1601227500":47,"1601228100":36,"1601228700":30,"1601229300":49,"1601229900":53,"1601230500":68,"1601231100":72,"1601231700":49,"1601232300":53,"1601232900":145,"1601233500":53,"1601234100":25,"1601234700":58,"1601235300":42,"1601235900":22,"1601236500":66,"1601237100":48,"1601237700":43,"1601238300":53,"1601238900":49,"1601239500":46,"1601240100":159,"1601240700":89,"1601241300":93,"1601241900":62,"1601242500":50,"1601243100":66,"1601243700":147,"1601244300":66,"1601244900":50,"1601245500":79,"1601246100":100,"1601246700":78,"1601247300":54,"1601247900":27,"1601248500":24,"1601249100":65,"1601249700":23,"1601250300":21,"1601250900":42,"1601251500":24,"1601252100":17,"1601252700":47,"1601253300":36,"1601253900":50,"1601254500":44,"1601255100":27,"1601255700":16,"1601256300":47,"1601256900":35,"1601257500":35,"1601258100":47,"1601258700":20,"1601259300":16,"1601259900":45,"1601260500":37,"1601261100":47,"1601261700":44,"1601262300":23,"1601262900":17,"1601263500":50,"1601264100":34,"1601264700":37,"1601265300":33,"1601265900":32,"1601266500":18,"1601267100":46,"1601267700":32,"1601268300":50,"1601268900":48,"1601269500":55,"1601270100":22,"1601270700":80,"1601271300":29,"1601271900":32,"1601272500":48,"1601273100":56,"1601273700":87,"1601274300":65,"1601274900":46,"1601275500":115,"1601276100":81,"1601276700":62,"1601277300":52,"1601277900":116,"1601278500":107,"1601279100":54,"1601279700":60,"1601280300":46,"1601280900":53,"1601281500":69,"1601282100":72,"1601282700":33,"1601283300":53,"1601283900":46,"1601284500":35}}
High Value: 159
Count: 140

Sending: http://192.168.0.7:80/admin/api.php?topClientsBlocked=3&auth=fbe8631820d75f44c4ca1520fdb69a638f80739367f3484f1c0f1900bcd9d4b0
Response Code: 200
Response: {"top_sources_blocked":{"192.168.0.80":2873,"192.168.0.66":1784,"192.168.0.10":814}}
Blocked Client 1: 192.168.0.80 (2873)
Blocked Client 2: 192.168.0.66 (1784)
Blocked Client 3: 192.168.0.10 (814)

`

IMG_0543

@sorriso93
Copy link
Author

Tried with the default GPIO configuration and same hardware and all is ok. At this point the problem is on different GPIO setup but from the code I don't understand where it can be the problem.

@czebulski
Copy link

I've exact the same problem.
Looking at the serial ouput, evrything is working as expected.

Display connected via D3/D4 (soldered from another project), but remains stuck with message "Web Interface On...."

@Qrome
Copy link
Owner

Qrome commented Apr 3, 2022

Don't run the display on D4 -- that is the pin for the LED and the code uses it. USE D1, D2 or D2 and D5. This has been noted before.

@czebulski
Copy link

Ok. I switched to another GPIO and everthing is fine now.
Thanks for the hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants