[Release] Assistant Relay V3.3 Beta

Hi, I just installed v3.2. When I tell it to “turn off office lights”, which works fine via a real google mini, it doesn’t work. Checking my google history, it says “Sorry, I’m not sure which all office lights you’d like to turn off.”
Is there something I’m missing? I appreciate your help in advance!

I believe this is what I’m experiencing commands are identical to voice but don't work with API · Issue #56 · greghesp/assistant-relay · GitHub
Has this been fixed at all?

Looking for assistance on this error when running npm run start

assistant-relay@3.3.2 start
pm2 start ./bin/www && pm2 log www

[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
[PM2] PM2 Successfully daemonized
[PM2] Starting /home/pi/assistant-relay/bin/www in fork_mode (1 instance)
[PM2] Done.
┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name │ mode │ ↺ │ status │ cpu │ memory │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0 │ www │ fork │ 0 │ online │ 0% │ 23.0mb │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
[TAILING] Tailing last 15 lines for [www] process (change the value with --lines option)
/home/pi/.pm2/logs/www-out.log last 15 lines:
/home/pi/.pm2/logs/www-error.log last 15 lines:
0|www | at Function.Module._load (node:internal/modules/cjs/loader:813:14)
0|www | at Module.require (node:internal/modules/cjs/loader:996:19)
0|www | at Module.Hook._require.Module.require (/home/pi/assistant-relay/node_modules/require-in-the-middle/index.js:80:39) {
0|www | code: ‘MODULE_NOT_FOUND’,
0|www | requireStack: [
0|www | ‘/home/pi/assistant-relay/node_modules/grpc/src/grpc_extension.js’,
0|www | ‘/home/pi/assistant-relay/node_modules/grpc/src/client_interceptors.js’,
0|www | ‘/home/pi/assistant-relay/node_modules/grpc/src/client.js’,
0|www | ‘/home/pi/assistant-relay/node_modules/grpc/index.js’,
0|www | ‘/home/pi/assistant-relay/node_modules/google-assistant/components/assistant.js’,
0|www | ‘/home/pi/assistant-relay/helpers/server.js’,
0|www | ‘/home/pi/assistant-relay/app.js’,
0|www | ‘/home/pi/assistant-relay/bin/www’
0|www | ]
0|www | }

0|www | Error: Cannot find module ‘node-pre-gyp/lib/pre-binding’
0|www | Require stack:
0|www | - /home/pi/assistant-relay/node_modules/grpc/src/grpc_extension.js
0|www | - /home/pi/assistant-relay/node_modules/grpc/src/client_interceptors.js
0|www | - /home/pi/assistant-relay/node_modules/grpc/src/client.js
0|www | - /home/pi/assistant-relay/node_modules/grpc/index.js
0|www | - /home/pi/assistant-relay/node_modules/google-assistant/components/assistant.js
0|www | - /home/pi/assistant-relay/helpers/server.js
0|www | - /home/pi/assistant-relay/app.js
0|www | - /home/pi/assistant-relay/bin/www
0|www | at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
0|www | at Module.Hook._require.Module.require (/home/pi/assistant-relay/node_modules/require-in-the-middle/index.js:61:29)
0|www | at require (node:internal/modules/cjs/helpers:92:18)
0|www | at Object. (/home/pi/assistant-relay/node_modules/grpc/src/grpc_extension.js:26:14)
0|www | at Module._compile (node:internal/modules/cjs/loader:1092:14)
0|www | at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
0|www | at Module.load (node:internal/modules/cjs/loader:972:32)
0|www | at Function.Module._load (node:internal/modules/cjs/loader:813:14)
0|www | at Module.require (node:internal/modules/cjs/loader:996:19)
0|www | at Module.Hook._require.Module.require (/home/pi/assistant-relay/node_modules/require-in-the-middle/index.js:80:39) {

OK, so somehow i progressed to this error running sudo npm run start

sudo npm run start

assistant-relay@3.2.0 start
pm2 start ./bin/www && pm2 log www

Error: EACCES: permission denied, mkdir ‘/root/.pm2/logs’
at Object.mkdirSync (node:fs:1023:3)
at mkdirpNativeSync (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/lib/mkdirp-native.js:29:10)
at Function.mkdirpSync [as sync] (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/index.js:21:7)
at module.exports.Client.initFileStructure (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:133:25)
at new module.exports (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:38:8)
at new API (/home/pi/assistant-relay/node_modules/pm2/lib/API.js:108:19)
at Object. (/home/pi/assistant-relay/node_modules/pm2/lib/binaries/CLI.js:22:11)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
Error: EACCES: permission denied, mkdir ‘/root/.pm2/pids’
at Object.mkdirSync (node:fs:1023:3)
at mkdirpNativeSync (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/lib/mkdirp-native.js:29:10)
at Function.mkdirpSync [as sync] (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/index.js:21:7)
at module.exports.Client.initFileStructure (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:141:25)
at new module.exports (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:38:8)
at new API (/home/pi/assistant-relay/node_modules/pm2/lib/API.js:108:19)
at Object. (/home/pi/assistant-relay/node_modules/pm2/lib/binaries/CLI.js:22:11)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
Error: EACCES: permission denied, open ‘/root/.pm2/module_conf.json’
at Object.openSync (node:fs:505:3)
at Object.writeFileSync (node:fs:1535:35)
at module.exports.Client.initFileStructure (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:149:10)
at new module.exports (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:38:8)
at new API (/home/pi/assistant-relay/node_modules/pm2/lib/API.js:108:19)
at Object. (/home/pi/assistant-relay/node_modules/pm2/lib/binaries/CLI.js:22:11)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
Error: EACCES: permission denied, mkdir ‘/root/.pm2/modules’
at Object.mkdirSync (node:fs:1023:3)
at mkdirpNativeSync (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/lib/mkdirp-native.js:29:10)
at Function.mkdirpSync [as sync] (/home/pi/assistant-relay/node_modules/pm2/node_modules/mkdirp/index.js:21:7)
at module.exports.Client.initFileStructure (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:157:25)
at new module.exports (/home/pi/assistant-relay/node_modules/pm2/lib/Client.js:38:8)
at new API (/home/pi/assistant-relay/node_modules/pm2/lib/API.js:108:19)
at Object. (/home/pi/assistant-relay/node_modules/pm2/lib/binaries/CLI.js:22:11)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)

                    -------------

/\\\\\\_/\\/\\/\\\\_
_/\/////////\_/\\\
/\\\/\///////\_
/\_
/\_/\//\_/\//\_/////\_
_/\\\\\\/
/\\///\/\/
/\_
/\/
/\/////////
/\_
///\/
/\_/\//_____
/\_
/\_////\_/\//_____
/\_
/\_/\_/\/________
/\_/\_/\_/\\\\\\\_
_////////////////////////

                      Runtime Edition

    PM2 is a Production Process Manager for Node.js applications
                 with a built-in Load Balancer.

            Start and Daemonize any application:
            $ pm2 start app.js

            Load Balance 4 instances of api.js:
            $ pm2 start api.js -i 4

            Monitor in production:
            $ pm2 monitor

            Make pm2 auto-boot at server restart:
            $ pm2 startup

            To go further checkout:
            http://pm2.io/


                    -------------

Error: EACCES: permission denied, open ‘/root/.pm2/module_conf.json’
at Object.openSync (node:fs:505:3)
at Object.readFileSync (node:fs:401:35)
at Object.Configuration.getAllSync (/home/pi/assistant-relay/node_modules/pm2/lib/Configuration.js:299:26)
at Object.Configuration.getSync (/home/pi/assistant-relay/node_modules/pm2/lib/Configuration.js:270:30)
at new API (/home/pi/assistant-relay/node_modules/pm2/lib/API.js:117:44)
at Object. (/home/pi/assistant-relay/node_modules/pm2/lib/binaries/CLI.js:22:11)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
/home/pi/assistant-relay/node_modules/@pm2/agent/src/InteractorClient.js:58
if (stats.uid === 0) {
^

TypeError: Cannot read property ‘uid’ of undefined
at /home/pi/assistant-relay/node_modules/@pm2/agent/src/InteractorClient.js:58:21
at FSReqCallback.oncomplete (node:fs:193:21)

@ghesp hoping you can help! many thanks!