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.

    GActions CLI Login Issue

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    google apigoogle assistantgactionsactionsgoogleassistantlogging
    4 Posts 2 Posters 1.2k Views 2 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.
    • Lorenzo_ZappaL Offline
      Lorenzo_Zappa
      last edited by

      I had recently tried the Google Assistant SDK (https://developers.google.com/assistant … ice/python) on my raspberry pi, but when I tried to add my custom actions It prompted my to download the gaction packet (https://developers.google.com/assistant … ctions-cli) and, in order to make it work, I now have to login:

      ./gactions login
      
      Visit the URL to authorize access:
      https://accounts.google.com/o/oauth2/v2/auth?(more and more...)
      

      If I try to visit this address and I try to login with the account I created the project with:
      https://i.stack.imgur.com/hw0bY.png

      I get this error massage:
      https://i.stack.imgur.com/QjjAz.png

      Any idea how to fix this problem?

      In addition to this whenever I try the default command “Turn On” the assistant answers:
      “sorry, power control is not yet supported”
      How can I fix this?

      Thank you

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Lorenzo_Zappa
        last edited by

        @Lorenzo_Zappa
        for last question, unless overriding custom device traits, SDK (for device) itself don’t know how to treat it.

        Lorenzo_ZappaL 1 Reply Last reply Reply Quote 0
        • Lorenzo_ZappaL Offline
          Lorenzo_Zappa @Guest
          last edited by

          @Sean if I override it, do I have to push it as a custom trail and therefore use gaction CLI?

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Lorenzo_Zappa
            last edited by A Former User

            @Lorenzo_Zappa

            @Sean if I override it, do I have to push it as a custom trail and therefore use gaction CLI?
            I think that is another issue with your prior login issue.

            For login issue;
            I’m using gactions cli also to provide custom action to my MMM-AssistantMk2

            https://developers.google.com/assistant/tools/gactions-cli

            my steps are here; https://github.com/eouia/MMM-AssistantMk2/wiki/gAction
            Those are all I have to do.

            For traits issue;
            You have to add trait to your project. (It is called as custom trait but I think pre-defined trait makes a sense better)
            https://developers.google.com/assistant/sdk/guides/service/python/extend/register-device-traits
            Then response of Assistant will have some additional action field like “action.devices.commands.OnOff” when you say something like “turn on”. Before the registration, Assistant will response like “I can’t do” but after, response will be something defined in your action package.
            Then, you can do your job when that action is comming as a response.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • 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
              OSZAR »