MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Cocktails

    Scheduled Pinned Locked Moved Entertainment
    24 Posts 8 Posters 16.0k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hartattackH Offline
      hartattack
      last edited by hartattack

      One of my favorite Modules!!! So Excited that this is officially released! Just installed this one on my mirror again (since my old one crashed lol). Still looks fantastic. Great job!

      Mykle1M 1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @hartattack
        last edited by

        @hartattack said in MMM-Cocktails:

        One of my favorite Modules!!! So Excited that this is officially released! Just installed this one on my mirror again (since my old one crashed lol). Still looks fantastic. Great job!

        Wow, you just made my day. I’m glad you enjoy it and thank you for your kind words. :thumbsup_tone1:

        I updated and annotated the css file so you can shape and color the module just about any way you want to with a simple copy and paste into your custom.css file.

        Create a working config
        How to add modules

        hartattackH 1 Reply Last reply Reply Quote 1
        • hartattackH Offline
          hartattack @Mykle1
          last edited by

          @Mykle1 said in MMM-Cocktails:

          @hartattack said in MMM-Cocktails:

          One of my favorite Modules!!! So Excited that this is officially released! Just installed this one on my mirror again (since my old one crashed lol). Still looks fantastic. Great job!

          Wow, you just made my day. I’m glad you enjoy it and thank you for your kind words. :thumbsup_tone1:

          I updated and annotated the css file so you can shape and color the module just about any way you want to with a simple copy and paste into your custom.css file.

          Honestly, I was going to mess with the css this time around, but the default module setup, looks fantastic and works perfectly for my purpose. Seriously, this is such a fun module.

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @hartattack
            last edited by

            @hartattack said in MMM-Cocktails:

            Honestly, I was going to mess with the css this time around, but the default module setup, looks fantastic and works perfectly for my purpose.

            Well, it’s there if you want to experiment with it. Each entry comes with an explanation so you’ll know exactly what it does. All you need do is change the values to your liking. :-)

            Seriously, this is such a fun module.

            Again, I thank you, and I couldn’t be more pleased that you are enjoying it. Have a great day!

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              This IS a VERY useable and cool module!!! Great job!!! :boy_tone2:

              Mykle1M 1 Reply Last reply Reply Quote 2
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @cowboysdude
                last edited by

                @cowboysdude said in MMM-Cocktails:

                This IS a VERY useable and cool module!!! Great job!!!

                Well, I have a great teacher that answers all my questions and gives great hints ;-)

                Thanks bropane!

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • A Offline
                  Advokaten
                  last edited by

                  @Mykle1 so when will the code and instructables for the BartenderBot be released? We need automation in the making of the drinks, too! Choose your drink on your mirror and bam, BartenderBot makes it for you!

                  1 Reply Last reply Reply Quote 0
                  • johnnyboyJ Offline
                    johnnyboy
                    last edited by johnnyboy

                    This post is deleted!
                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @johnnyboy
                      last edited by Mykle1

                      @johnnyboy said in MMM-Cocktails:

                      Hey up Amigo… Nice Module…

                      Hi johnny. How are you? And thank you.

                      Can you clarify for me?

                      The source data I am using for this module is randomized by the API site itself and it only changes the drink once a day, based on the date. So, even though the default updateInterval is one hour, the source wont update until it sees the date has changed.

                      Is there any way to have the cocktails like Compliments rotation, but obviously slower… to say, about 10mins each cocktail?

                      There is, however, if I were to do that (I don’t have any plans to) then the drinks would no longer be random (I like that) and the drinks would display in the order of the archive. (Example: All drinks in alphabetical order. A’s, then B’s, then C’s and so on).

                      And is it possible to add to the list? I have a good few that I doubt will be on your list, but wouldn’t mind adding them into my mirror list

                      I don’t think so. Not as things are. If the data for all the drinks was a local file that was included with the module then it would be possible but the data comes from the API site. I might revisit this module at some point to see what I can do to improve it. It is my very first module and I would be remiss if I didn’t thank @cowboysdude for his help, patience and guidance.

                      Create a working config
                      How to add modules

                      johnnyboyJ 1 Reply Last reply Reply Quote 2
                      • johnnyboyJ Offline
                        johnnyboy @Mykle1
                        last edited by

                        This post is deleted!
                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @johnnyboy
                          last edited by

                          @johnnyboy said in MMM-Cocktails:

                          but I would have liked one that randomises every so often > to see whats on offer.

                          I actually went and checked the API source again (just for you Amigo) and the database is NOT a single source which would be simple enough to implement what you are asking for. There are at least 26 sources (A-Z) for alcohol and 26 more for non-alcohol and a slew of others (name, ID #, vodka, gin, whiskey, and on and on etc etc). I’ve looked for another API but this one seems to be it.

                          Create a working config
                          How to add modules

                          johnnyboyJ 1 Reply Last reply Reply Quote 0
                          • johnnyboyJ Offline
                            johnnyboy @Mykle1
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer
                              last edited by

                              Description:

                              How to make all kinds of mixed drinks - Instructions, ingredients and images.
                              See ReadMe for installation and config options. Includes css file.

                              Update

                              New drink every 10 minutes

                              Download:

                              [card:mykle1/MMM-Cocktails]

                              Version 1.0.1

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 1
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer
                                last edited by Mykle1

                                The new look! Courtesy of our friend @Cowboysdude.

                                Thanks bro!

                                0_1516408884324_Capture.PNG

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 1
                                • D Offline
                                  doubleT Module Developer
                                  last edited by

                                  I didn’t look at the code, yet, but I think I see a possible issue (just from the image):
                                  Either they forgot the grenadine juice in the ingredient list – or you’re cutting off the ingredient list too short (after 5 elements).

                                  From a Web Design standpoint I’d also suggest using “left-aligned”, or maybe “justified” for the receipt.

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @doubleT
                                    last edited by

                                    @doubleT

                                    Well, I imagine there are more than a few mistakes in this module. It was my very first, 9 months ago. Three months before that I didn’t know what a Raspberry Pi was. I have absolutely no background in code. I’m a retired police officer that finds this stuff very interesting, fun and fascinating. I’ve learned quite a bit in 1 year. Not bad for an old guy and grandfather of 2, if I do say so myself. I’m still amazed that I can make any of this work. :-)

                                    Feel free to make any corrections you think are necessary. Then, load the module, mix a drink, throw it back, and chill. :-)

                                    Peace!

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer
                                      last edited by

                                      Corrected an error that was being thrown after the last modification. It didn’t stop the module from running but who wants to see those ugly red errors in the console? Not me. Hell no! :-)

                                      Peace

                                      Create a working config
                                      How to add modules

                                      1 Reply Last reply Reply Quote 1
                                      • Alex2020A Offline
                                        Alex2020
                                        last edited by

                                        Salve una domanda quale comando bisogna scrivere per far si che quando passa da un ‘coktail’ ad un altro la tabella mi rimanga sempre della stessa larghezza e altezza?Grazie.

                                        cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @Alex2020
                                          last edited by

                                          @Alex2020 Perhaps someone can translate for you… I have no idea what you’re saying. I really wish I could help here…

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @cowboysdude
                                            last edited by

                                            @cowboysdude come on man, google italian to english (google is your friend)

                                            Hi a question which command do you have to write to ensure that when I switch from one ‘cocktail’ to another the table always remains of the same width and height? Thanks

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            cowboysdudeC 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy