Git Product home page Git Product logo

Comments (17)

andrei-tatar avatar andrei-tatar commented on May 26, 2024 1

I published version 1.0.3 of the package and update the FAQ. Will close this issue for now.

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

I think none of your devices support local execution:
https://developers.google.com/assistant/smarthome/concepts/local#supported-devices

from node-red-contrib-smartnora.

jvdpas avatar jvdpas commented on May 26, 2024

Think you are right. However strange google nest audio is not supported while nest mini is.
I will connect a nest mini to check this.

from node-red-contrib-smartnora.

jvdpas avatar jvdpas commented on May 26, 2024

Same with a nest mini attached. This is a supported device, so something else is the problem.
image

from node-red-contrib-smartnora.

geertvercamer avatar geertvercamer commented on May 26, 2024

I have the same problem
image

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

I'll ping the guys over at Google and try to find out what's going on.
Maybe the local execution is rolled out slower...

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

Maybe it's a security thing and not all users can see/debug the running scripts. Can any of you guys enable logging at trace level in node-red and see if you do get local-execution traces in the node-red logs?
https://nodered.org/docs/user-guide/runtime/logging

There should be messages like:

[nora][local-execution] Received discovery packet, sending reply

from node-red-contrib-smartnora.

JaspervanKol avatar JaspervanKol commented on May 26, 2024

I have the same problem as mentioned above.

image

I enabled logging at trace level and I get repeatedly the following log:

21 Apr 10:23:38 - [trace] [nora][local-execution] Received discovery packet, sending reply
21 Apr 10:24:10 - [trace] [nora][local-execution] Received discovery packet, sending reply
21 Apr 10:24:19 - [trace] [nora][local-execution] Received discovery packet, sending reply
21 Apr 10:24:38 - [trace] [nora][local-execution] Received discovery packet, sending reply
21 Apr 10:25:10 - [trace] [nora][local-execution] Received discovery packet, sending reply

I have 3 nora configs in node-red.

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

Ok, in that case I got it wrong in the FAQ. Probably not all users are able to see/debug the scripts.
That's why the local exection log is set to trace. There were way too many messages generated in the logs.

@JaspervanKol if you trigger a command (turn on a light or something) from assistant or Google Home, do you also get a log similar to [nora][local-execution] Executing {command} - device: {deviceId}?

from node-red-contrib-smartnora.

JaspervanKol avatar JaspervanKol commented on May 26, 2024

I triggered a light with my google home device and got this in the logs:

21 Apr 10:44:53 - [trace] [nora][local-execution] Executing action.devices.commands.OnOff - device: <default>|975f5836:f4d518
21 Apr 10:44:53 - [trace] [nora][local-execution][975f5836:f4d518] executed action.devices.commands.OnOff

Does this mean local execution is working @andrei-tatar?

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

Yes! :)

I will update the FAQ.

from node-red-contrib-smartnora.

geertvercamer avatar geertvercamer commented on May 26, 2024

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@geertvercamer what devices do you have? Not all devices support local execution. (secondary verification devices, garage door, lock).

from node-red-contrib-smartnora.

geertvercamer avatar geertvercamer commented on May 26, 2024

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

So I changed the code so that devices that receive commands over local execution will have the status color switched to blue.
I'll try to update the FAQ later today and release this new version.
image

from node-red-contrib-smartnora.

geertvercamer avatar geertvercamer commented on May 26, 2024

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@geertvercamer you just need to create multiple configurations (using the same credentials).
One with pin, one without pin and assign each one accordingly to each device.

In a future release, the pin configuration will be moved per device, but that's a big chunk of work.

from node-red-contrib-smartnora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.