Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Get alarm time from alexa

$
0
0

@arnaud wrote:

Hello,

I try to grab the time of an alarm configured on my echo.
My goal is to get the time of the alarm to start my AC 1 hour before.

I use Alexa Media Player to get the data.
Example of the data I get from the parser :

“originalDate”: “2020-01-10”, “originalTime”: “06:45:00.000”, “personProfile”: null, “provider”: null, “rRuleData”: null, “recurrenceEligibility”: false, “recurringPattern”: “XXXX-WD”,

So the next alarm will be tomorrow morning a 6:45am local time (Montréal) of my echo.

The state of my sensor is : 2020-01-10T06:45:00+00:00
And I think HA think it’s GMT because on my lovelcace I see :

Alexa - Echo Dot Next Alarm in 12h but in Montreal right now it’s 13h30 so 6h45 is not in 12h but in 17h so 5h of error.

So I looked at the time of my HA : sensor.date_time = 2020-01-09, 13:39 sensor.time_utc = 18:40 sensor.date_time_iso = 2020-01-09T13:41:00

I can’t find any explanation why HA shows 5h of error
And if I try to use the data in node red I also have an error of 5h …

Any idea ?

Posts: 27

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>