Coder Social home page Coder Social logo

Comments (3)

verjus avatar verjus commented on August 14, 2024

You have to send a json payload describing the state you want to update to the input node "Amazon Echo Hub" (make sure you enabled input in the configuration of the node). The payload needs to also contain the nodeid of the device you want to update. To test this, use an "Inject Note" connected to the input node of the hub and select the JSON format for the payload to be injected. Type something like this: {"on":true, "bri":11, "nodeid": ""} for the payload, where is the ID of the node you want to update. To find the of your device look, use a Debug Node and search for nodeid value.

Note that the way the author has implemented it may not suit your needs. In its current implementation, the system compares the current state it holds in memory with the state you send in the input node. If the state differs (e.g. brightness is different), the state is updated with the state in the payload (which is what you are asking) but a message is also triggered to the output node with the new state (which may not be always desired). I and others have modified this behavior (as well as other things in a fork) to make it optional.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

@verjus already mentioned that to update the status you could send an input payload to Amazon Echo Hub node

from node-red-contrib-amazon-echo.

david883 avatar david883 commented on August 14, 2024

I also have a device where I want to share the status with the hub.
But it does not work.

  • I got the node is via the debug node.

  • I connected the Incect to the Hub Input and entered the values.
    Where do I make a mistake?

IMG_20200710_125152

IMG_20200710_125241

IMG_20200710_125227

IMG_20200710_125145

from node-red-contrib-amazon-echo.

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.