[SOLVED] Lametric setup

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 ?

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.

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

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).

I just have one, so it should do the work, but nothing is displayed when I call the service… :thinking:

Check the command line logs (hassio homeassitant logs) for errors.

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… :thinking: