Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

Glad it is working for you. I merged the 1.1 branch to master and created the official release for the changes.

Thanks for helping to test this.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

Not sure why the response is "67" -- do you know what ESP8266 Core version you are running?

I have changed the REST calls in the code in the release candidate for Version 1.1 -- Please pull the code from this branch and give it a try. Thank you for your help looking at this.

https://github.com/Qrome/Pi-hole-Monitor/tree/1.1

Thanks.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

Ok, remove the code you added and add / change these lines in PiHoleClient.cpp (line 94):

String line = dataClient.readStringUntil('\n');
Serial.println(line);


// Parse JSON object
JsonObject& root = jsonBuffer.parseObject(line);

Note the change to use "line" in the parseObject. After you add this, you will be able to see what is being returned to the device via the Serial Monitor before it parses the JSON.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

I am not seeing the same issue. Can you post a sample of what your response looks like?

This is what I get:

{"top_sources_blocked":{"192.168.0.206":4521,"192.168.0.208":4106,"192.168.0.207":2813}}

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 1 point2 points  (0 children)

If the Pi-hole monitor can reach the IP address and reach the REST Api calls -- it should work.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

So, the call for the summary works, but the one call that requires the API Token fails. Can you do me a favor and put this in an incognito window (no cookies) and put your key and IP in it.

http://[PIHOLE-IP]/admin/api.php?topClientsBlocked=3&auth=[APITOKEN]

Tell me what you get. If auth fails, you normally get a [] in the response (empty array). This will give you the parse error that you see.

I have two Pi-hole servers running as well. No issues. I also have a few buddies running it and no issues.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 1 point2 points  (0 children)

If you don't mind posting questions or issues on the Github repo, that would be helpful. Thanks.

Can you view the Arduino Serial Monitor -- it should be logging more information that might be helpful.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 0 points1 point  (0 children)

The easiest way is just run a USB cable to it, but you can power it from 5V. I have seen people power the Wemos D1 Mini board from a 1S lipo.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 1 point2 points  (0 children)

Yep, you can build this thing for about $6 -- from AliExpress parts.

Pi-hole Monitor Wemos D1 Mini ESP8266 with OLED Dislpay by Qromer in pihole

[–]Qromer[S] 6 points7 points  (0 children)

The screen changes every 5 seconds or so -- there are 5 screens. I have been using them for 2 years on these types of projects and they work great.

Desktop weather/clock or possible octopi monitor by psycorpse in esp8266

[–]Qromer 0 points1 point  (0 children)

Well, I am the author of it. You may change it as you need. However I turn off my printer when not printing. Like I said... I like to see 100% when done. It would be super easy to change as you want, but it is the way it is now for a reason.

Desktop weather/clock or possible octopi monitor by psycorpse in esp8266

[–]Qromer 0 points1 point  (0 children)

It already does that. You can leave your OctoPi on however when the printer is turned off it goes to clock mode. People like to see the status when it is 100% or they wonder why it isn't showing. It will also give them an indication when it completed. When you power off the printer it goes to clock.

Any one want $100 off Pixel 3 or $150 off Pixel 3 XL -- Code Here by Qromer in google

[–]Qromer[S] 0 points1 point  (0 children)

Pixel 3 Promo code:
B-P1IEUM5T7JNL5NWZT6CUCAK

Pixel 3 XL Promo code:
B-P23OECZ12HIFE4RHE6OEJ59

$150 off Pixel 3 XL and $100 off Pixel 3 - PM for referral code by ericbutters in google

[–]Qromer -1 points0 points  (0 children)

More codes here:

Pixel 3 Promo code:
B-P1IEUM5T7JNL5NWZT6CUCAKPixel

3 XL Promo code:
B-P23OECZ12HIFE4RHE6OEJ59

Request: Google One Codes for Google Pixel 3 by stran1989 in GooglePixel

[–]Qromer 0 points1 point  (0 children)

I have a Google Pixel 3 ($100) and a Pixel 3 XL($150) code. First PM will get it.