Maker At Play Coding
Maker At Play Coding
  • Видео 11
  • Просмотров 154 496
Coding Alexa Support for ESP32 (Arduino)
How to program an ESP32 (Arduino) to emulate a Philips Hue Bridge that you can control via Alexa Amazon Echo.
Source Code: github.com/makeratplay/AlexaVoiceControl
Maker's Toolbelt video: ruclips.net/video/7T4hS5EFB_I/видео.html
My On Air Sign: ruclips.net/video/_AaS32MWL8E/видео.html
Want to support my projects and Diet Dr Pepper addiction?
patreon.com/makeratplay
buymeacoffee.com/makeratplay
MakerAtPlay.com/supportme
You can get $500 off a Glowforge pro: glowforge.us/r/HEHIHWLU
RUclips Channels:
Maker: ruclips.net/user/makeratplay
Coding: ruclips.net/channel/UCUCydzw0QXIrNXi9NYUXgQA
Woodworking: ruclips.net/channel/UC-z1ccBjpKT2UmrpNh6Ulew
Follow MakerAtPlay:
makeratplay
MakerAtPlay.com...
Просмотров: 8 423

Видео

Maker At Play Coding Channel Trailer
Просмотров 4553 года назад
I am Michael and like to build things and share them on this channel hoping to inspire others to make something. This channel is where I post the programming videos for my projects. Make sure and check out my other two channels as well. Want to support my projects and Diet Dr Pepper addiction? patreon.com/makeratplay buymeacoffee.com/makeratplay MakerAtPlay.com/supportme You can get $500 off a ...
How to Write an Application to Detect a Zoom Meeting to Automatically turn on Sign
Просмотров 1,6 тыс.3 года назад
I show you how to created an application that detects when you are in a Zoom, WebEx, or Microsoft Teams meeting by monitoring the UDP network traffic and automatically turn on and off an On Air. And here is a video showing how to build the On Air sign. ruclips.net/video/yfulbrC-Noc/видео.html GitHub repo: github.com/makeratplay/VirtualMeetingMonitor This is my programming focused Channel. Check...
How to code Arduino using Events | Actions | States
Просмотров 4 тыс.3 года назад
For Christmas, I signed myself up for the "Creative Engineering with Mark Rober". As part of the class we have to build something with an Arduino. Below is a link to my project. I created this video to help one of my peers in the class with their project. I have post four videos for the project: The Idea: ruclips.net/video/7CPkmOHev_A/видео.html​ Progress: ruclips.net/video/dpDbMA8f0VY/видео.ht...
How to code a timer for an Ardino
Просмотров 4183 года назад
For Christmas, I signed myself up for the "Creative Engineering with Mark Rober". As part of the class we have to build something with an Arduino. Below is a link to my project. I created this video to help one of my peers in the class with their project. I have post four videos for the project: The Idea: ruclips.net/video/7CPkmOHev_A/видео.html​ Progress: ruclips.net/video/dpDbMA8f0VY/видео.ht...
How to use Spotify API on ESP32 with NFC Reader to control Echo Dot
Просмотров 14 тыс.3 года назад
Learn how to program an ESP32 microcontroller to read a Spotify Playlist link form an NFC tag and make Spotify play that playlist on an Amazon Echo Dot. Source Code on GitHub: github.com/makeratplay/esp32SpotifyEchoDot Other Videos: ruclips.net/video/H_9H8qFnDr8/видео.html ruclips.net/video/H2HJ-LY7-lQ/видео.html ruclips.net/video/1vR3m0HupGI/видео.html Parts: esp32: amzn.to/37c61mM NFC reader:...
Troubleshooting the Arduino Blink Sketch (Program)
Просмотров 3743 года назад
For Christmas, I signed myself up for the "Creative Engineering with Mark Rober". As part of the class we have to build something with an Arduino. Below is a link to my project. I created this video to help one of my peers in the class with their project. I have post four videos for the project: The Idea: ruclips.net/video/7CPkmOHev_A/видео.html​ Progress: ruclips.net/video/dpDbMA8f0VY/видео.ht...
How to Authenticate and use Spotify Web API
Просмотров 97 тыс.3 года назад
I needed to learn how to use the Spotify API in order to use it in one of my Maker At Play projects. Check out that project here: ruclips.net/video/isom4NREq14/видео.html Link to the Sample App: makeratplay.github.io/SpotifyWebAPI/ Source Code on GitHub: github.com/makeratplay/SpotifyWebAPI And here is the video where I put this code on esp32 microcontroller. How to use Spotify API on ESP32 wit...
Watch me code | showing my process for writing a simple web App
Просмотров 6364 года назад
In the video I show the full process, google searches and all to write a simple web app. I create a HTML, JavaScript, and jQuery app that calls an API to fetch the DOW average today and compute the percent difference to the DOW on Feb 12 (current 52 week high). I then show how to host it as a github page from a git repo. This is my second RUclips Channel where I focus on software development. M...
Debugging AngularJS Scope | Quick Tip
Просмотров 3,3 тыс.5 лет назад
Quick tip on how to view the AngularJS Scope object from the console in Google Chrome. This is my second RUclips Channel where I focus on software development. My other channel 'Maker At Play' is where i share my maker projects related to woodworking and electronics. ruclips.net/user/makeratplay Want to support my Diet Dr Pepper addiction? patreon.com/makeratplay buymeacoffee.com/makeratplay Fo...
JavaScript Date Object and Time Zones | Fixing an "off by 1 day" bug
Просмотров 24 тыс.5 лет назад
How to handle UTC and local time zone when turning a date string into a JavaScript Date object. And fixing a bug where date is off by one day. Reference Links: github.com/hawkinsml/javaScriptDates www.ecma-international.org/ecma-262/9.0/index.html#sec-time-values-and-time-range www.ecma-international.org/ecma-262/9.0/index.html#sec-date-value www.ecma-international.org/ecma-262/9.0/index.html#s...

Комментарии

  • @dfriskb
    @dfriskb 21 день назад

    How i can create user with email or (and) password? In Spotify app when i authorised, i just write my email and password.

  • @christophhelms4905
    @christophhelms4905 2 месяца назад

    Great, thanks for the thorough walkthrough. I'm just working on the same idea but for Raspberry Pi and I have a ESP32 on the way to try out your project. To get the "Next song" feature working might be tricky... I guess you need code that checks if the RFID tag is continuously read (which means ignore these calls). If it stops being read for a certain interval, we can read it as a new tag. Just in general, is everything else still working for you or did the API change?

  • @hadi_2122
    @hadi_2122 3 месяца назад

    Thanks your for this video

  • @TorbenRudgaard
    @TorbenRudgaard 3 месяца назад

    So january is month "0" in JS - who ever idiot came up with that idea should be sent to North Korea and work as Kims foot stool for the rest of his life!

  • @AJayTheStageArtist
    @AJayTheStageArtist 4 месяца назад

    Thank you so much for sharing ❤

  • @Duhardoalvesworld
    @Duhardoalvesworld 5 месяцев назад

    Awesome video, very helpful

  • @hago7568
    @hago7568 6 месяцев назад

    the background music should have been a clown jingle... this is ridiculous. Thanks for explaining it so clearly

  • @lastchance045
    @lastchance045 6 месяцев назад

    ps to my above comment: nothing wrong with my screen. Here is another arduino sketch that is very clear on my screen ruclips.net/video/0FHWO9d_d-A/видео.html

  • @lastchance045
    @lastchance045 6 месяцев назад

    This a very interesting sketch. The screen picture is unfortunately extremely blurred. I can only barely read bits of the code. Could you possibly post the code in the comments section or in some other location? Best regards

    • @makeratplaycoding2666
      @makeratplaycoding2666 4 месяца назад

      Here is the code const int REED_PIN = 2; // Pin connected to reed switch const int BUZZER_PIN = 13; // LED pin - active-high int timeLimitInSeconds = 1 * 60; // minutes X 60 seconds bool switchOpen = true; bool switchLastState = switchOpen; bool buzzerOn = false; unsigned long timer = 0; // must be unsigned long as millis() returns large numbers int secondsTimer = 0; void setup() { Serial.begin(9600); Serial.println("Program Start"); // Since the other end of the reed switch is connected to ground, we need // to pull-up the reed switch pin internally. pinMode(REED_PIN, INPUT_PULLUP); pinMode(BUZZER_PIN, OUTPUT); digitalWrite(BUZZER_PIN, LOW); // Turn the BUZZER off } void loop() { testSwitchState(); // While the switch is open and the buzzer is off, check the timer to see if // we need to turn on the buzzer if ( switchOpen == true && buzzerOn == false) { checkTimer(); } } void testSwitchState() { switchOpen = digitalRead(REED_PIN); // Read the state of the switch if ( switchOpen != switchLastState ) { switchLastState = switchOpen; if (switchOpen == true) { Serial.println("switchOpen true"); onSwitchOpened(); } else { Serial.println("switchOpen false"); onSwitchedClosed(); } } } // When the swtich opens, start the timer void onSwitchOpened() { Serial.println("Switch just opened"); startTimer(); // turn LED } void startTimer() { Serial.println("Start Timer"); // Arduinos do not have real clocks, they only keep track of milliseconds (ms) by counting CPU cycles. // We need to capture the current count of ms in order to test later exactly how many ms have passed. timer = millis(); // just to make the serial output more friendly, we will count down the seconds secondsTimer = 0; } void checkTimer() { int currentSeconds = (millis() - timer) / 1000; // # of seconds that have past since startTimer() was called if ( currentSeconds != secondsTimer ) { secondsTimer = currentSeconds; Serial.print("Timer (seconds): "); Serial.println(secondsTimer); if ( secondsTimer > timeLimitInSeconds ) { Serial.println("Buzzer On"); buzzerOn = true; digitalWrite(BUZZER_PIN, HIGH); // Turn the BUZZER off } } } // When the switch is closed, make sure the buzzer is turned off void onSwitchedClosed() { Serial.println("Switch just closed"); Serial.println("Buzzer Off"); buzzerOn = false; digitalWrite(BUZZER_PIN, LOW); // Turn the BUZZER off }

  • @1000ylovers
    @1000ylovers 7 месяцев назад

    Hi could it be possible to detect web app based virtual meetings like Google meet?

    • @makeratplaycoding2666
      @makeratplaycoding2666 4 месяца назад

      I assume that Google Meet utilizes WebRTC for browser-based communications, rather than relying on UDP traffic, which differs from the techniques I used to detect Zoom, MS Teams, and WebEx connections. I'm uncertain whether it's possible to identify WebRTC connections through any Windows Network API. Maybe it is worth exploring whether such detection could be achieved by developing a Chrome plugin.

  • @lezbriddon
    @lezbriddon 7 месяцев назад

    my alexa never discovers my projects, doesnt even find wled. I think its my alexa as its not a standalone one but its built into my tv, but it works my house lights etc which is sees through ewelink and smarthome/tuya. should i be adding some special skill to my alexa somehow? I have the alexa app on my phone too and also that doesnt discover anything just the same as alexa in the tv.

  • @nietzsche2363
    @nietzsche2363 8 месяцев назад

    Hey sir, love the way you present things, have a good day !

  • @maguiresciberras1247
    @maguiresciberras1247 8 месяцев назад

    Hey mate, love your work. I'm building a similar device for which I've written the code. The only part I haven't written is the Spotify API library. I'm encountering an issue: on the first boot, I need to have Alexa already playing, otherwise the device ID becomes outdated. I'm also using the device name; I get the player details and then grab the device ID based on the specified device name. However, this doesn't seem to work unless Alexa is playing first. After that initial step, I have no more issues. I can play on my phone and then hit play on my little device, and it will transfer and work fully as intended. It's just that initial boot that's problematic.

  • @spandankumar6497
    @spandankumar6497 8 месяцев назад

    I like this man

  • @DrMohammadArifulHoque
    @DrMohammadArifulHoque 9 месяцев назад

    I have two questions. 1. How to write the links on rfid cards. 2. My serial monitor only shows nfc card present. Nothing else is happening. What am I doing wrong?

  • @hazyhayden2798
    @hazyhayden2798 9 месяцев назад

    how would you go about hiding your client secret from users?

  • @ALEXMUSIMBAKYALO
    @ALEXMUSIMBAKYALO 10 месяцев назад

    Great

  • @basmong
    @basmong 10 месяцев назад

    Man, you're the only one who helped. There is no such authorization guide anywhere. This is a whole quest! The API guide on the Spotify website sucks. They really don't explain well how to make requests.

  • @cormacgarvey3566
    @cormacgarvey3566 10 месяцев назад

    Excellent video Thank you!

  • @talbertherndon1925
    @talbertherndon1925 11 месяцев назад

    bru 16 minutes to explain this is crazy..

  • @iceunicorn3707
    @iceunicorn3707 Год назад

    I used your tutorial for my project. dude. you saved me sooooooooo much headache! i struggle always with web requests! your tutorial helped me A TON!

  • @roboticflamingo234
    @roboticflamingo234 Год назад

    Freakin awesome.😀

  • @shino1780
    @shino1780 Год назад

    This was a nightmare for me and I fixed it by installing the DayJS library and these methods. I set everyone to ET. const dayjs = require('dayjs'); dayjs.utc('2022-10-29T00:00:00').tz('America/New_York');

    • @makeratplaycoding2666
      @makeratplaycoding2666 4 месяца назад

      It is always good to use a library. Always better to understand how that library is solving the problem.

  • @ameeryarbrough8137
    @ameeryarbrough8137 Год назад

    what does line 8 indicate in the index.html? Is it needed?

    • @makeratplaycoding2666
      @makeratplaycoding2666 4 месяца назад

      You mean this line? <link href="cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous"> This just includes the bootstrap (getbootstrap.com/) css for styling the webpage.

  • @cagrkarakaya1110
    @cagrkarakaya1110 Год назад

    Really i am so appreciated u. Thank u its really beneficial for me.

  • @DenisWilsonSouzaRosa
    @DenisWilsonSouzaRosa Год назад

    Hi! Any idea on how to emulate a non-rgb light (white)?

  • @Hakucho64
    @Hakucho64 Год назад

    Thanks for the video. I worked out that the LED_BUILTIN macro wasn't resolving to the correct pin number (which for my board is 13). Turns out I had the wrong board type selected in the IDE, and once I fixed that, the macro resolved to 13 as expected and the LED started flashing properly.

  • @Hakucho64
    @Hakucho64 Год назад

    At 4:43, you have the LED wire in socket 12, not socket 13. So why is the LED still blinking? A few frames later I see that the wire is back in socket 13.

    • @makeratplaycoding2666
      @makeratplaycoding2666 Год назад

      Good eye. At one point I was using pin 12 in my code, but changed to pin 13 to match the LED_BUILTIN define, but still used old video footage. 😁

  • @abhinavanroy
    @abhinavanroy Год назад

    Hi Sir, i have been trying this with my angular app but i am facing CORS error when i am trying to hit the /authorize api endpoint

  • @AllKindzzzz
    @AllKindzzzz Год назад

    God tier instructional

  • @FredDeckerNC
    @FredDeckerNC Год назад

    I'm a little confused about what this does, it makes Alexa think this is a Philips device? Can you perhaps point me to the opposite direction of traffic? I want an ESP32 to control an Alexa, not an Alexa to control things that have to be attached to and controlled by my ESP32. In other words, I want an ESP32 to send commands to anything the Alexa can already do. For example, I can say "Alexa, set cooling to 70" and it will control the AC. I would like a program on the ESP32 to send the equivalent command to Alexa. Another example are smart switches, like one connected to my Christmas Tree. I want to scan an RFID tag and have the Tree come on. There are several competing systems in my house, all with their own app (Smart Life, Samsung Smart Things, Trane Home, etc.), but they all have Alexa integrations so they can all be controlled via the Alexa app or voice control.

  • @tjnangosha
    @tjnangosha Год назад

    You just saved my life. Thanks.

  • @brandenspurlock8101
    @brandenspurlock8101 Год назад

    I really enjoyed this video. I'm learning to code and have watched many videos about seeing some final results using multiple coding languages, but your video by far has been the most helpful in walking through and thoroughly explaining each step in a way I can understand. Thank you

  • @gabrielahaas3043
    @gabrielahaas3043 Год назад

    I've watched a bunch of tutorials on how to call the Spotify API and this is the best tutorial I've seen so far! I've been looking for a tutorial that doesn't make use of any external libraries and whatnot. Thank you!

  • @tess8557
    @tess8557 Год назад

    Just wanted to say thank you! OAuth was a very imposing beast but you made tackling it easy! Proud to now have a "What I am currently listening to" tab on my homepage (though I think I may be the only one who cares ha).

  • @anthonycortese6855
    @anthonycortese6855 Год назад

    Great video. I am able to get oauth to work with my Spotify account for a simple playlist creator script, but when I add authorized users, I am unable to run the script without an error. Is there something else I need to add for multiple users?

  • @shadowstack
    @shadowstack Год назад

    Great video, I was struggling understanding the auth code process but got it working now!

  • @BenCooper-en2xe
    @BenCooper-en2xe Год назад

    have a production error in my app where dates are off by one day. thx for making this!

  • @robertschumacher9640
    @robertschumacher9640 Год назад

    Did someone get it up and running? I tried it with an ESP8266 i had lying around. I have no experience with programming an ESP. However, my approach seems to be correct. First I downloaded Arduino IDE, adjusted the Seetings.h file with my values and loaded the board software of an ESP2866 into IDE. Then I added the .ino file and in the Library Management I added the WiFi.h and the rest of the .h files from the folder. Unfortunately, I get a error message in IDE afterwards

    • @robertschumacher9640
      @robertschumacher9640 Год назад

      EDIT: I did not connect the RFID Reader. Could this be a part of the problem

    • @robertschumacher9640
      @robertschumacher9640 Год назад

      C:\Users\Rob\Desktop\esp32SpotifyEchoDot-main\esp32SpotifyEchoDot\esp32SpotifyEchoDot.ino: In function 'bool readNFCTagData(byte*)': C:\Users\Rob\Desktop\esp32SpotifyEchoDot-main\esp32SpotifyEchoDot\esp32SpotifyEchoDot.ino:143:1: error: no return statement in function returning non-void [-Werror=return-type] 143 | } | ^ cc1plus.exe: some warnings being treated as errors exit status 1 Compilation error: no return statement in function returning non-void [-Werror=return-type] Is the ESP2866 perhaps to small and out of memory?

  • @maishadisha5287
    @maishadisha5287 Год назад

    can you help me please? I don't know what is jwt expire which my spotify web is showing on opera gx

  • @undefined088
    @undefined088 Год назад

    Thank you! Subscribed :)

  • @RWC-Ichigo
    @RWC-Ichigo Год назад

    how do I find an uri ?

  • @Hyp3rX360
    @Hyp3rX360 Год назад

    I've been struggling for 2 days with this issue, thanks for explaining it so clearly!

  • @oscarho1505
    @oscarho1505 Год назад

    amazing work!!! but i keep getting "abort() was called at PC 0x40154642 on core 1" after getting the deviceID. can you offer some advice thank you

  • @MPElectronique
    @MPElectronique Год назад

    You are not implementing Auth 2.0 in your code?

  • @poornakabandara8087
    @poornakabandara8087 Год назад

    Absolute legend 👍👍

  • @RajaRam-qr6we
    @RajaRam-qr6we Год назад

    Thank you very much. It helped me in resolving a real-time scenario

  • @kieronb4459
    @kieronb4459 Год назад

    28 seconds in and I had to pause the video to praise you for such a cool project idea!

  • @jimedwards8565
    @jimedwards8565 Год назад

    this is a cool projeck but iam trying to do something similar but i want to use a eps2866 i'm having problem with using the right Library or it might just be my lack of knowledge can you help to what i need to change or where i need to look thanks

  • @Zananok
    @Zananok Год назад

    I often have unusual projects that require me to have a flexible mind and to think outside the box, but I must say that your idea/solution was genius. I don't often post on YT, but I had to log in and post that this was an excellent solution for the task!

    • @makeratplaycoding2666
      @makeratplaycoding2666 4 месяца назад

      Thanks for taking the time to provide the feedback. I like hearing what people think about my videos.