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-awesome-alexa

    Scheduled Pinned Locked Moved Utilities
    241 Posts 43 Posters 392.6k Views 47 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.
    • S Offline
      sdetweil @uok825
      last edited by sdetweil

      @uok825 show results of ps -ef

      without MM running

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      U 1 Reply Last reply Reply Quote 0
      • U Offline
        uok825 @sdetweil
        last edited by

        @sdetweil said in MMM-awesome-alexa:

        @uok825 show results of ps -ef

        without MM running

        root        19     2  0 Haz26 ?        00:00:00 [kworker/u3:0-hci0]
        root        20     2  0 Haz26 ?        00:00:00 [xprtiod]
        root        23     2  0 Haz26 ?        00:01:40 [kswapd0]
        root        24     2  0 Haz26 ?        00:00:00 [nfsiod]
        root        35     2  0 Haz26 ?        00:00:00 [kthrotld]
        root        36     2  0 Haz26 ?        00:00:00 [iscsi_eh]
        root        37     2  0 Haz26 ?        00:00:00 [dwc_otg]
        root        38     2  0 Haz26 ?        00:00:00 [DWC Notificatio]
        root        39     2  0 Haz26 ?        00:00:00 [vchiq-slot/0]
        root        40     2  0 Haz26 ?        00:00:00 [vchiq-recy/0]
        root        41     2  0 Haz26 ?        00:00:00 [vchiq-sync/0]
        root        42     2  0 Haz26 ?        00:00:00 [vchiq-keep/0]
        root        43     2  0 Haz26 ?        00:00:00 [SMIO]
        root        44     2  0 Haz26 ?        00:00:48 [irq/86-mmc1]
        root        47     2  0 Haz26 ?        00:00:00 [mmc_complete]
        root        50     2  0 Haz26 ?        00:00:02 [jbd2/mmcblk0p2-]
        root        51     2  0 Haz26 ?        00:00:00 [ext4-rsv-conver]
        root        52     2  0 Haz26 ?        00:00:00 [ipv6_addrconf]
        root        86     1  0 Haz26 ?        00:00:02 /lib/systemd/systemd-journald
        root       108     1  0 Haz26 ?        00:00:01 /lib/systemd/systemd-udevd
        root       122     2  0 Haz26 ?        00:00:00 [SMIO]
        root       128     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
        root       129     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
        root       132     2  0 Haz26 ?        00:00:00 [mmal-vchiq]
        root       159     2  0 Haz26 ?        00:00:00 [cfg80211]
        root       162     2  0 Haz26 ?        00:00:00 [brcmf_wq/mmc1:0]
        root       163     2  0 Haz26 ?        00:00:11 [brcmf_wdog/mmc1]
        systemd+   217     1  0 Haz26 ?        00:00:01 /lib/systemd/systemd-timesyncd
        root       246     1  0 Haz26 ?        00:00:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon
        root       247     1  0 Haz26 ?        00:00:00 /usr/sbin/cron -f
        nobody     248     1  0 Haz26 ?        00:00:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
        root       250     1  0 Haz26 ?        00:00:01 /usr/lib/udisks2/udisksd
        avahi      252     1  0 Haz26 ?        00:00:01 avahi-daemon: running [raspberrypi.local]
        root       253     1  0 Haz26 ?        00:00:20 /usr/sbin/rngd -r /dev/hwrng
        root       261     1  0 Haz26 ?        00:00:00 /lib/systemd/systemd-logind
        avahi      266   252  0 Haz26 ?        00:00:00 avahi-daemon: chroot helper
        root       271     1  0 Haz26 ?        00:00:00 /usr/sbin/rsyslogd -n -iNONE
        message+   277     1  0 Haz26 ?        00:00:02 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
        root       310     1  0 Haz26 ?        00:00:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
        root       330     1  0 Haz26 ?        00:00:00 /sbin/dhcpcd -q -b
        root       343     1  0 Haz26 ?        00:00:01 /usr/lib/policykit-1/polkitd --no-debug
        root       353     1  0 Haz26 ?        00:00:00 /usr/bin/vncserver-x11-serviced -fg
        root       354   353  5 Haz26 ?        00:13:58 /usr/bin/vncserver-x11-core -service
        root       368     1  0 Haz26 ?        00:00:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - b8:27:eb:68:21:40
        root       369     2  0 Haz26 ?        00:00:00 [kworker/u3:2-hci0]
        root       372     1  0 Haz26 ?        00:00:04 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
        root       374     1  0 Haz26 ?        00:00:00 /usr/sbin/sshd -D
        root       378     1  0 Haz26 ?        00:00:00 /usr/sbin/lightdm
        root       398     1  0 Haz26 ?        00:00:00 /usr/lib/bluetooth/bluetoothd
        root       404     1  0 Haz26 ?        00:00:00 /usr/bin/bluealsa
        root       414     2  0 Haz26 ?        00:00:00 [krfcommd]
        root       421   378  2 Haz26 tty7     00:06:23 /usr/lib/xorg/Xorg -s 0 -dpms :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
        root       422     1  0 Haz26 tty1     00:00:00 /bin/login -f
        root       424     1  0 Haz26 ?        00:02:01 /usr/bin/vncagent service 14
        root       480   378  0 Haz26 ?        00:00:00 lightdm --session-child 14 17
        pi         492     1  0 Haz26 ?        00:00:00 /lib/systemd/systemd --user
        pi         495   492  0 Haz26 ?        00:00:00 (sd-pam)
        pi         506   480  0 Haz26 ?        00:00:03 /usr/bin/lxsession -s LXDE-pi -e LXDE
        pi         518   422  0 Haz26 tty1     00:00:00 -bash
        pi         519   492  0 Haz26 ?        00:00:01 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
        pi         557   506  0 Haz26 ?        00:00:00 /usr/bin/ssh-agent x-session-manager
        pi         568   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd
        pi         573   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
        pi         575     1  0 Haz26 ?        00:00:33 PM2 v4.4.0: God Daemon (/home/pi/.pm2)
        pi         580     1  0 Haz26 ?        00:00:02 /usr/bin/vncserverui service 15
        pi         606   506  0 Haz26 ?        00:00:06 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
        pi         607   506  0 Haz26 ?        00:00:00 lxpolkit
        pi         608   506  0 Haz26 ?        00:01:03 lxpanel --profile LXDE-pi
        pi         610   506  0 Haz26 ?        00:00:13 pcmanfm --desktop --profile LXDE-pi
        pi         619   580  0 Haz26 ?        00:00:00 /usr/bin/vncserverui -statusicon 5
        pi         621     1  0 Haz26 ?        00:00:00 /usr/bin/ssh-agent -s
        pi         692     1  0 Haz26 ?        00:00:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
        pi         696   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
        pi         703   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
        pi         707   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
        pi         712   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
        pi         716   492  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
        pi         817   568  0 Haz26 ?        00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
        root      1191   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
        pi        1201  1191  0 Haz26 ?        00:00:01 sshd: pi@notty
        pi        1203  1201  0 Haz26 ?        00:00:00 /usr/lib/openssh/sftp-server
        root      1205   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
        pi        1215  1205  0 Haz26 ?        00:00:00 sshd: pi@notty
        pi        1217  1215  0 Haz26 ?        00:00:00 -bash
        pi        1307     1  0 Haz26 ?        00:00:00 /bin/bash ./run-start.sh
        pi        1308  1307  1 Haz26 ?        00:04:24 node serveronly
        pi        1319     1  0 Haz26 ?        00:00:00 tee
        pi        2011   608  0 Haz26 ?        00:02:05 lxterminal
        pi        2028  2011  0 Haz26 pts/0    00:00:01 bash
        root      2317   374  0 Haz26 ?        00:00:00 sshd: pi [priv]
        pi        2560  2317  0 Haz26 ?        00:00:00 sshd: pi@notty
        pi        2562  2560  0 Haz26 ?        00:00:00 /usr/lib/openssh/sftp-server
        root     18999     2  0 01:17 ?        00:00:07 [kworker/u2:0-cfg80211]
        root     19458     2  0 01:35 ?        00:00:07 [kworker/u2:1-events_unbound]
        root     20569     2  0 01:49 ?        00:00:14 [kworker/0:2H-mmc_complete]
        root     21338     2  0 01:57 ?        00:00:00 [kworker/0:2-memcg_kmem_cache]
        root     21633     2  0 02:02 ?        00:00:00 [kworker/0:1-events]
        root     21649     2  0 02:05 ?        00:00:05 [kworker/0:1H-events_highpri]
        root     22089     2  0 02:08 ?        00:00:00 [kworker/0:0-events]
        root     22217     2  2 02:10 ?        00:00:06 [kworker/0:0H-mmc_complete]
        root     22495     2  0 02:12 ?        00:00:00 [kworker/0:3-events]
        root     22526     2  0 02:14 ?        00:00:00 [kworker/u2:2-events_unbound]
        pi       22533  2028  0 02:15 pts/0    00:00:00 ps -ef
        
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @uok825
          last edited by

          @uok825 said in MMM-awesome-alexa:

          pi 1217 1215 0 Haz26 ? 00:00:00 -bash
          pi 1307 1 0 Haz26 ? 00:00:00 /bin/bash ./run-start.sh
          pi 1308 1307 1 Haz26 ? 00:04:24 node serveronly

          somebody has the server running

          if u are using my install script, it starts serveronly and then connects chromium over that
          as there is no electron browser for pi0. (but only on pi 0/armv6l devices)

          show package.json
          “start” line

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          U 1 Reply Last reply Reply Quote 0
          • U Offline
            uok825 @sdetweil
            last edited by

            @sdetweil I used yourse
            268c0391-fce7-4e90-b570-0872489778e8-image.png

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

              @uok825 yep, so server is running on port 8080…

              sudo kill -9 1308

              but pm2 stop
              should have stopped that, does on my pi0

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              U 1 Reply Last reply Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by

                @sdetweil 4483d3b5-de87-4cef-9893-c08267933deb-image.png
                What is that error?

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

                  @uok825 no idea… not my module… his code is impossible to understand, typescript compiled to js, then minified…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 1 Reply Last reply Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by

                    @sdetweil I killed -9 1308, what is next? changing port to 8080 again?

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

                      @uok825 yeh i guess… then npm start to verify runs, then ctrl-c and make sure it stops (ps -ef | grep node
                      the pm2 start and pm2 stop

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        uok825 @sdetweil
                        last edited by

                        @sdetweil sure, i doing. I need to fix this alexa problem

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          nkchokshi
                          last edited by

                          Anyone can help me please how do i get an authentication number for Alexa? I have tried to add
                          https://192.168.0.10:1234
                          https://192.168.0.10:3000/authresponse
                          https://magic-mirror-avs.github.io/Alexa-Web-Helper/authresponse

                          none of these pages are giving me code after when i click agree, to consent screen. i just end up with

                          Amazon Error page with no number on address bar. Screenshot 2020-07-28 at 12.20.46 PM.png

                          We’re sorry!
                          An error occurred when we tried to process your request. Rest assured, we’re already working on the problem and expect to resolve it shortly.

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

                            @nkchokshi which return url did I specify in Amazon, and u MUST use that one

                            u want one that will be on the local. machine. so, localhost:7777 might be good

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Ghost2000
                              last edited by

                              I have the same problem with the token can someone help me.

                              Will the module be updated again? or is there a new module?

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

                                @Ghost2000 hasn’t been updated in 17 months, 3 years before that. so, not likely to get update.

                                they are very picky about what they allow for auth callback urls. http://localhost:someportnumber >1000

                                they will pop up a screen to request logon and authorize this app to access your account, u click approve, and then the page appears with the error at the top using your auth URL and the code.

                                I know this works, cause I do it in another application

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                G 2 Replies Last reply Reply Quote 0
                                • G Offline
                                  Ghost2000
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Ghost2000 @sdetweil
                                    last edited by

                                    @sdetweil said in MMM-awesome-alexa:

                                    http://localhost:someportnumber >1000

                                    http://localhost:3000/ or http://localhost:3000/authresponse

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Ghost2000 @sdetweil
                                      last edited by Ghost2000

                                      @sdetweil

                                      http://localhost:3000/authresponse = It does not work
                                      http://localhost:3000/ = It does not work

                                      Invalid. Please enter your Redirect URI.

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

                                        @Ghost2000 yes, looking at the code now…

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Ghost2000
                                          last edited by

                                          InkedScreenshot 2020-10-09 23.19.20_LI.jpg

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

                                            @Ghost2000 yeh, some bug in their helper code… suddenly

                                            edit the config_helper.js

                                            change this line to return true;

                                                            return true; // "Invalid. Please enter your Redirect URI.";
                                            
                                            

                                            using your return url in my avs config and on the helper
                                            must copy ALL of the url from helper (2 lines) to the browser address field
                                            hit enter
                                            Screenshot at 2020-10-09 16-28-24.png
                                            then sign in
                                            Screenshot at 2020-10-09 16-30-33.png

                                            then click allow,
                                            apparently I have something running at port 3000
                                            Screenshot at 2020-10-09 16-32-21.png
                                            but

                                            code is there

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            S 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 12
                                            • 13
                                            • 5 / 13
                                            • 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