@raywo I did that but it stops after the authorization.
Read the statement by Michael Teeuw here.
Posts
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
-
RE: broken css in forum
@yawns sure.
Uncaught TypeError: Cannot set property ‘serializer’ of undefined
at undefined.module.module.exports (serializer.js:159)
at serializer.js:159 -
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
Hi @raywo
It stuck on step two… after I register the app to my account. Just saying: Wait for step 2 to complete. And doing nothing more.
Hmm, any idea? Did I made a mistake?SOLUTION:
Okay for anyone running into the same problem:
You can get everything out of the link from your browser. Just copy and paste it in a text editor.Link looks like that:
http::8888/#access_token=your access token&refresh_tokenyour refresh token&client_idyour client ID from spotify developer site&client_secretyour client secret from the develover siteCopy the 4 elements in the module configuration:
{ module: "MMM-NowPlayingOnSpotify", position: "bottom_left", config: { showCoverArt : "true", clientID: "your client ID", clientSecret: "your client secret", accessToken: "your access token", refreshToken: "your refresh token", } },That’s it 😊
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
@E3V3A description is on github ;)
Step 2 – Create and authorise a Spotify app
In order to be able to connect to the Spotify API you need to create an app in the Spotify developer area. Then you need to authorise the app to access your personal data. Et voilà!The module provides you with a special app which describes all the necessary steps and which guides you through the whole process. To use this app change into the authorization folder and start the app by typing node app.
cd authorization
node app
When the app is running you can access it by opening localhost:8888 in your browser. Provided you are doing this directly on your Raspberry Pi. If you want to access the app remotely just type the ip address or the name of your Raspberry like so for instance: http://raspi:8888. Then you should see the authorisation app like below.…
-
RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song
@raywo wooooow! That thing looks aaaaaaaaawesome! Can’t wait to test it:D
-
RE: Project overview - 09.02.2018 - revisited
@strawberry-3.141
Haha I know me too. I am in a debugging mode :D okay okay I don’t have any 2x20 header left that is long enough to stack every thing together^^ and before I start with soldering I want to test if everything workes well. In the end it was a good idea, cause the flick stop working after some time. Have to figure it out why…But with all that cables it looks like an super crazy syfy quantum computer :D
-
RE: Project overview - 09.02.2018 - revisited
Updated the main post, added some media :)
-
RE: Project overview - 09.02.2018 - revisited
@strawberry-3.141
Yep you are right. Same PCB layout and Chip. So there are the same. -
RE: Project overview - 09.02.2018 - revisited
The Flick HAT arrived today, freshly from the UK 😁
Two pics added:
https://drive.google.com/file/d/1m5q29musCxpbcteoCT_oVEkI1ybnOefM/view?usp=drivesdkI thought it would be a bit bigger. Can’t wait to test it after work 🤗
-
RE: Slim, Frameless Bathroom Mirror with a 27" Display
@reaper81
Don’t be sad. Every time when you see an other project you will think damn that’s an great idea ^^ -
RE: Project overview - 09.02.2018 - revisited
@barnosch
Max2play is the shop that sells it on Amazon too. Postage is 13,99€ to Austria via DHL Express. There aren’t many shops selling amps for the pi.Yeah the flick will be great, I want an easy contactless way to change volume when I’m in the bathroom (for the first). So any button or rotary switch with wet hands could be problematic, so I searched for an contactless way. I’ll try the flick and will inform you about the performance.
Streaming:
I use spotify (https://github.com/dtcooper/raspotify). Raspotify is great cause it is easy to use and runs stable. The advantage of raspotify is everyone can stream on it (not only one account). Like Amazon Alexa when you say: “Alexa spotify connect”, everybody can connect to the echo. -
RE: Project overview - 09.02.2018 - revisited
@barnosch
I do. I didn’t tried them, but I did a comparison.Hifiberry Amp2 (65,64€ Amazon):
https://www.hifiberry.com/shop/boards/hifiberry-amp2/Justboom Amp HAT (69,6€ Amazon):
https://www.justboom.co/product/justboom-amp-hat/Basically they are the same. Both using the same Texas Instruments Chip (TAS5756M) . So the specs are identically (2x30W) so I think electronics around the chip are probably also the same.
And cost almost the same 🙈 the Justboom has more features. Like Softmute, Hardware mute, IR control, etc. etc. etc. eeeetc.The JB HAT has spaces for the camera cable and display cable. None of the hifiberry have them. So big minus for the hifiberrys. And pins for the Rpidisplay (what ever).
The speakers aren’t so small (https://www.neuhold-elektronik.at/catshop/product_info.php?cPath=242_253&products_id=6537) but they are quite flat.
And flat speakers are what I’m looking for. They are designed for TVs so they are quite good for higher Hz (voice and music) but due the small cones, the don’t have much Bass (Deep Hz lower than 110Hz are missing) and so you will hear that (I play with the idea to add an crossover with a pair of exciters for the bass, said in an other thread here).
One speaker 10W RMS/20W peak @4Ohm. I’m using two per side, so ~20W RMS @8Ohm left and right. It’s not perfect but with the exciters I think it will be almost perfect for me.Next step, add the Flick HAT to control the volume :
https://www.pi-supply.com/make/justboom-volume-control-with-flick/
I don’t know if the flick works with the hifiberry amp2 also (I do not really care cause I have the JB)
Pictures, yeah sure! I will post more till the end of the project :) next steps will be the flick and the frame, … the LEDs (indirect RGBs around the mirror) direct above (1m CW/WW Led strip like this: https://www.lampenwelt.at/100-cm-breite-led-spiegellampe-esther.html? ) and so on… and on and on ^^
-
RE: Mirror turning black after a while
@cruunnerr
I’m working 🙄 didn’t test anything yet 😅 -
RE: Mirror turning black after a while
@retroflex probably we need some code to clear the ram periodically. I think my problem module is the MMM-Globe. But I will have to test it. (about 10 modules… So one module per day… Uff that’s a looooong way.
-
RE: Project overview - 09.02.2018 - revisited
@mochman
It’s an amplifier for the Pi, it’s a bit stronger than the hifiberry amplifier Hat. :)
https://www.justboom.co/product/justboom-amp-hat/ -
RE: Mirror turning black after a while
I got the same problem with an TV, around 6 to 9h it went black and I had to restart MM
-
Project overview - 09.02.2018 - revisited
Hi guys,
So that’s my project the final version should be some 120x80cm big frameless, thin, magicmirror, with a lot of sound power, indirect/direct led lightning and so on.
Here are some pictures:
https://drive.google.com/open?id=1FxZUUDLOG0EQ2ePATbnJ9Txvs-SK_gclUpdate 09.02.2018:
Added the Flick HAT. Easy installation and fast response volume changes. Distance trough wood or plexy will be tested soon.Added new media:
Pic:
https://drive.google.com/file/d/1m90dvSXnTaQXv4LxZ0fIGkBCyW06sQa1/view?usp=drivesdkvideos:
https://drive.google.com/file/d/1_aVs33elB9s5eYbP8f8kqReLKNmERrIQ/view?usp=drivesdkhttps://drive.google.com/file/d/1h3vhEKdlLtcFISSG3KCUkWupienEKP9o/view?usp=drivesdk