Coder Social home page Coder Social logo

Comments (26)

datech avatar datech commented on August 14, 2024

Hello,

Is there any debug messages on the Node-Red console?

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

@frankyboy1973 Are you talking about Color Capabilities in Alexa? Including Color Temperature?
What kind of you Echo device? Echo, Echo Dot 1, Echo Dot 2, Echo Dot 3, Echo Plus.. this is important.
@datech If you have free time should create a template for every one want to report issue to select or answer and provide enough information at one time so that we can easy to imaging the issue and no need to ask one by one again.

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

@datech No, there is no Debug Message in Node Red or in Ioroker Log.
@wongnam Sorry, i am from Germany and my Engish is not very good.
In the Alexa App under Version 0.1.4 it was possible to choose Color Temperature like Warm, Warmwhite, Cold, Coldwhite, now, in the new Version i can only chosse Colors. But when i give a speak Command to Alexa, to turn Light Warm or White or Cold it works, the CT Out changes.
When i choose a Color in the App or per Speak Command nothing happens, the Hue Output is alsways 0. In the App the Color goes always back to Pefferminz Creme. In Version 0.1.4 it was working, but not in the 0.1.6.
It was not possible to update from 0.1.4 to 0.1.6. Error, not installed. I deinstalled it and then I installed it new.
I have Echo Dot 2, Echo 2, Echo Plus, Echo Spot, Echo Show 2.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

@frankyboy1973 Versions 0.1.5 and 0.1.6 just enabled the support for older Echo devices.

May I ask you to set the Node-Red logging to debug and check the console again.
https://nodered.org/docs/user-guide/logging

Also, can you test the following:

  1. Delete all devices using the Alexa app
  2. Turn off all Echo devices except Echo 2
  3. Start the discovery procedure again
  4. Test the color capabilities

@wongnam Thanks. It is in my plan to create an issue template

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

I've just deleted my comment. Sorry to ignore my words.

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Sorry, but i dont know how i can edit/open the settings.js, i am not a pro on linux. I have found it in the Node Red Folder, but dont know how to open it.
Yes i can delete the diveses and try it with only Echo 2 online.

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Ok, when i discover the diveces only with Echo 2 online, the color Temperature is avalible in the App and the Colors capabilities is ok, the Hue Output changes, and the choosen Color is shown in the App. so i can say, the Funktion of the Node is OK. When i search with only Dot 2 online, the Color Temperature is not avalible in the App and the Color does not change.
Perhaps you can help me by another Problem, i am using Ikea Trafri and i want to convert the Hue Output to Rgb or Hex, any Idear how i can do this. The Bri and Ct output is no Problem, i have already done that.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

@frankyboy1973 Are you using the latest software version for Echo Dot 2nd gen?
https://www.amazon.com/gp/help/customer/display.html?nodeId=201602210

Would it be possible to update to latest version if you haven't already done so?

About hue & saturation conversion:
You can check the hslToRgb function in this example: https://gist.github.com/mjackson/5311256

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

Tip: You can ask Alexa to install the latest software update by saying, "Check for software updates."

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Yes, i am using the latest Software Version for Echo Dot Gen.2 (628568520)

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Now the Hue Output is always 43690, i tought the Hue must be between 0 and 360.
And after one day the Color Temperature is no longer avalible and the chosen Color goes always back to Peppermint Creme. The discovery with only Echo 2 online works not for long when the other Echos online. I dont start the dicovery with the other Echos online.

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

Yep, I also ecounter this situation dueto multiple Echo with differrent generation in a same network.

I don't know which Echo will discover which Node :( , so i am in passive for this case.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

Just released v0.1.7 with updated model of simulated light. It wasn't tested on Dot 2nd gen and I'm not sure that it will fix the support of color settings.

@frankyboy1973
Saturation of the light (min 0, max 254)
Hue of the light (min 0, max 65535)

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

@datech Echo Dot 2nd generation can found "color capabilities" in Aleaxa app but it is unusable due to it's not send value to the node output, it also no "color temperature" capabilities.

image

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

The same here, Echo Dot 2 can found color capabilities, but Hue Output is always 0. There is no color temperatur avalible in the App, but i can change the color temperature with speak command.
@datech Thanks for the info about Hue and Saturation Range

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

@frankyboy1973 , @wongnam Have you tried with a new device added to the flow?

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Hi, i deletet all devices in Alexa and all Nodes in Node Red and tried it with new Nodes.

from node-red-contrib-amazon-echo.

wongnam avatar wongnam commented on August 14, 2024

@datech I have just added a new device to the flow, the issue still persist.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

v0.1.8 was released. Color capabilities has to be working now.

Could you try again with a new node added to the flow?

I haven't done any fixes about color temperature capabilities, so I expect that they might be working with voice commands and still can be missing from the app. More important to me is how the current release is working with multiple types and generations of Echo devices.

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Hi, the Color capabilities works.
With Echo Dot2 i can change the Color in the App and with voice commands and the Hue and the RGB Output works fine. In the App the chosen Color is only shown for a few seconds, then it shows the Color Peppermint, but thats not a Problem for me. The Output value stays on the chosen Color.
With Echo2 it works to, additionally i can chose Color Temperature in the App, and the chosen Color is shown in the App.
When both Echos are online, its the same as only Echo Dot2 is online.
amazonalexa1
First is blue, second is green.

Thanks for the RGB Output

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

Thanks for checking this out.

I think that color is returned back to peppermint, because Echo Dot 2nd gen is ignoring or doesn't understand sat/hue color settings. I will add "xy" color in the API response in the next version, so it might fix this issue.

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

Another problem for me, is that the brightness of the devices nodes goes to 100%, after Node Red restart. When i say Alexa to turn light on, all Lights are on full brightness.
The Color and the Color Temperature goes back to standart after restart, Hue = 0, CT = 199

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

You have to configure the context to localfilesystem.
I've added more info in Troubleshooting page

from node-red-contrib-amazon-echo.

frankyboy1973 avatar frankyboy1973 commented on August 14, 2024

In the settings.js the context is configured to localfilesystem. Is it perhaps a problem that i run Node Red as an Iobroker Instance? Or i am at the wrong seetings.js? I have found it in /opt/iobroker/node_modules/node-red. Sorry, i am not a pro in these things.

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

You should have a similar log message in your Node-RED console:

5 Feb 06:16:58 - [info] Settings file  : /home/vagrant/.node-red/settings.js

In my case settings.js is located under /home/vagrant/.node-red directory

Here is how it is configured on my setup:

    // Context Storage
    // The following property can be used to enable context storage. The configuration
    // provided here will enable file-based context that flushes to disk every 30 seconds.
    // Refer to the documentation for further options: https://nodered.org/docs/api/context/
    //
    contextStorage: {
        default: {
            module:"localfilesystem"
        },
    },

from node-red-contrib-amazon-echo.

datech avatar datech commented on August 14, 2024

Feature request about support of XY colors was created #16

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.