bbindreiter / node-red-contrib-alexa-remote2-applestrudel

Node-Red Nodes for interacting with Alexa
https://flows.nodered.org/node/node-red-contrib-alexa-remote2-applestrudel
MIT License
78 stars 21 forks source link

Thermostat actions available not parsing correctly #172

Closed mread5 closed 9 months ago

mread5 commented 10 months ago

Setup: HASS Node-red (also tried with node-red separately on windows) Using Amazon Smart Thermostat - https://www.amazon.com/Amazon-Smart-Thermostat/dp/B08J4C8871/ref=asc_df_B08J4C8871/?tag=hyprod-20&linkCode=df0&hvadid=532655577096&hvpos=&hvnetw=g&hvrand=7928066522579117444&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9026206&hvtargid=pla-1875796990050&psc=1&mcid=974ace5ec290309bb3a1c50aa5f094cc&gclid=Cj0KCQiAkeSsBhDUARIsAK3tiec16pCBLig-6-68By-k_zzTZc8PVYU-kyP2FrL8FGXuXqW1r7r945IaArcfEALw_wcB

4 smarthome actions are detected when running a 'get' for the thermostat device: Set Mode (shows with seemingly random hex string after end of it) Set Target Temperature (this is the only one that appears to detect valid input types) Set Range Value (shows with seemingly random hex string after end of it) Set Range Value (shows with seemingly random hex string after end of it)

The Amazon smarthome API says that it supports 4 actions: targetSetpoint upperSetpoint lowerSetpoint thermostatMode

I'm definitely no developer, but have tried reviewing all the js code for applestrudel, and don't see where it could be going wrong, but somewhat suspect that the upper / lower actions might be getting replaced with values intended for RGB lighting. Set Target Temperature is the only action that currently works.

I did test with OpenHAB with a different 3rd party api integration that was able to successfully use amazon api to set dual set point (ruling out a broad api issue)

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.