narwun
(Charlie Dodson)
January 12, 2018, 11:47pm
1
Hey,
First, I’m super new into all that, I usually just code in Html5, Javascript and CSS lol
So, I’m working on setting up the Lametric Notify in hassio… Following those instructions : https://home-assistant.io/components/lametric/
But nowhere is say what should I enter in the “redirect URL” field.
Also, do I have to install the app on my Lametric device ? As it is a notification app it just doesn’t appear as a private app.
Anyone can help me ?
Tinkerer
(aka DubhAd on GitHub)
January 13, 2018, 10:58am
2
The redirect field doesn’t appear to matter. I gave it the (internal) URI for my HA install.
You don’t then have to install anything on your LaMetric.
narwun
(Charlie Dodson)
January 13, 2018, 4:35pm
3
Thanks for answering me!
I don’t get how HA know which device to send notification to.
Here is a printscreen of the settings when I try to call the service.
And this is the code in my configuration.yaml :
lametric:
client_id: MY_CLIENT_ID
client_secret: MY_CLIENT_SECRET
notify:
name: lametric1
platform: lametric
lifetime: 20
icon: a7956
cycles: 3
Tinkerer
(aka DubhAd on GitHub)
January 13, 2018, 7:26pm
4
It uses the target parameter. If you don’t set it, it is likely that it’ll default to all your devices (but I don’t have multiple units to test with).
narwun
(Charlie Dodson)
January 13, 2018, 7:46pm
5
I just have one, so it should do the work, but nothing is displayed when I call the service…
Tinkerer
(aka DubhAd on GitHub)
January 13, 2018, 8:13pm
6
Check the command line logs (hassio homeassitant logs
) for errors.
narwun
(Charlie Dodson)
January 14, 2018, 3:46pm
8
Hey,
I found out the service work only if the screensaver is not active. I wonder now if there is a way to wake up first the device before sending the notification…