Closed HeathenHacks closed 5 years ago
What version of esp8266 core are you using?
If it's 2.5 , you probably need to add client.setInsecure(); to your setup method
On Thu, 24 Jan 2019, 07:59 HeathenHacks <notifications@github.com wrote:
I'm not sure if I am the only one having this.
I'm using the ESP8266 -> ChannelStatistics code example. Followed all the instructions.
Connecting Wifi: 15:49:46.362 -> .......... 15:49:52.115 -> WiFi connected 15:49:52.115 -> IP address: 15:49:52.115 ->
Shows up fine, but my channel's stats does not show up, no matter how long I wait.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwo_AT2-8EmGn7d6FVk6QiukohL3xks5vGWfmgaJpZM4aQU1l .
Oh, thanks for the fast response.
I'm using version 2.4.2
HeathenHacks here.
I think 2.4.2 should be fine.
Are you sure the API key is correct?
On Thu, 24 Jan 2019, 09:17 Jus Tin <notifications@github.com wrote:
Oh, thanks for the fast response.
I'm using version 2.4.2
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/10#issuecomment-457123920, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwgRxyofBZzCsavsC1WnG9ZNpMVlfks5vGXo2gaJpZM4aQU1l .
Yes. It's working fine on the googleapis URL checker on my browser.
Here's a screenshot.
Do you get a valid IP address in the serial monitor?
On Thu, 24 Jan 2019, 09:31 HeathenHacks <notifications@github.com wrote:
Here's a screenshot.
[image: desktop screenshot 2019 01 24 - 17 28 13 32] https://user-images.githubusercontent.com/5551915/51668766-e2934500-1ffd-11e9-9d84-20f988bc2bd5.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/10#issuecomment-457128456, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwnZ4MnqBJv6UsCtGpYIUaBu4RgR5ks5vGX2CgaJpZM4aQU1l .
Yes. I'm also using a generic D1 Mini as an MCU, I used the WEMOS D1 Mini board and ArduinoJson version 5.13.4 library, if that could help.
Fixed it. Sorry for the hassle, sir.
My bad.
Fixed it. Sorry for the hassle, sir.
My bad.
How did you fix it? I'm having the same issue.
How did you fix this? I have the same problem. Only wifi connection and ip adress show up in serial monitor. Please help :)
I ended up creating a new project on Google API and creating a new YouTube API key. After a couple minutes, the key was activated and it showed the stats. (just creating a new API key in the existing project didn’t work, I really needed to create a new project)
Thanks for you answer. I tried to create a new project in Google API and inserted the new API key (with no restrictions). I have waited for 30 minutes now and no difference from the serial monitor. See screenshot. Do you know if there is any way of monitoring if the ESP8266 sends a request to google? It looks like there is no activety?
You can add a couple messages like this in between the code to print to the monitor:
Serial.println("start stat request");
Ok, I will try to do that. I'l let you know how it goes :) Thanks
Are you using ESP8266 2.5 beta? if so you will need to add this line to your setup method:
client.setInsecure();
On Sun, 3 Feb 2019 at 18:16, Maximuskembo notifications@github.com wrote:
Ok, I will try to do that. I'l let you know how it goes :) Thanks
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/10#issuecomment-460074839, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwgmdSip7_wEDTXyWZjUYIePhwdqsks5vJyd6gaJpZM4aQU1l .
Hi
Thank you so much, adding that line to the setup right here: Fixed the problem. I am using the Wemos D1 mini pro board. I am making a youtube video about making this live counter so I was wondering if its ok to include this thread in the video? Thanks again for helping out!!
regards Willys Garage Norway
Are you using ESP8266 2.5 beta? if so you will need to add this line to your setup method: client.setInsecure(); … On Sun, 3 Feb 2019 at 18:16, Maximuskembo @.***> wrote: Ok, I will try to do that. I'l let you know how it goes :) Thanks — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#10 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwgmdSip7_wEDTXyWZjUYIePhwdqsks5vJyd6gaJpZM4aQU1l .
I'm not sure if I am the only one having this.
I'm using the ESP8266 -> ChannelStatistics code example. Followed all the instructions.
Connecting Wifi: 15:49:46.362 -> .......... 15:49:52.115 -> WiFi connected 15:49:52.115 -> IP address: 15:49:52.115 ->
Shows up fine, but my channel's stats does not show up, no matter how long I wait.