[APP][Pro] LaMetric Time (Community App)

Hello, Balmi. Great app.
Thanks.
Only one question. The notification is only 4 seconds. Is it possible to extend the time? Like minutes?
Thanks is advance.

Yes, that works. Thank you.

That leaves the question where can I find the binary codes for the icons. Is there a list somewhere?

Regards,
Paul

You can either use the predefined list of icons:

or the icon code, see here:
https://developer.lametric.com/icons

Iā€™m not sure. You can have a look at the Lametric API from this link:
https://lametric-documentation.readthedocs.io/en/latest/reference-docs/device-notifications.html#

Pheuw, That is difficult. I donā€™t know much of app development. Can it be lifetime what i saw in the api? Or do i understand this wrong.

Or is it possible with the app on Lametric messageboard that somebody suggested?

On this moment i let it repeat the notification in seconds. If the notification is 8 seconds long i let it repeat every 8 seconds so it looks like a loop.

Thanks for your app. Great work.

Thanks for your response. But that works for the notification-card, but not for the ā€œset custom clockfaceā€ card.

Regards,
Paul

Options for the clockface is to use the ā€œWeatherā€ or ā€œPage-a-dayā€ predefined ones, or create a custom one.

For custom you need to provide a data:image/png:base64,<something> or data:image/gif;base64,<something> string, as mentioned above.

I am having some time to figure out how to set the custom clock face.

In your example you use

ā€œiVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAOklEQVQYlWNUVFBgwAeYcEncv//gP04FMEmsCmCSiooKjHAFMEF0SRQTsEnCFcAE0SUZGBgYGAl5EwA+6RhuHb9bggAAAABJRU5ErkJggg==ā€

This example works good, but i canā€™t figure out how to use the lametric gallery and convert an icon to this hex string/binary(?) code so i can use it in the flow.

Hi @balmli,
Thanks for building this app! Awsome :slight_smile:.
Do you see any option to add custom sounds (as in mp3ā€™s)?
https://lametric-documentation.readthedocs.io/en/latest/reference-docs/device-notifications.html

POST https://<device IP address>:4343/api/v2/device/notifications

Authorization: Basic <Base64("dev:<device API key>")>
Content-Type: application/json
Accept: application/json

{
    "priority": "warning",
    "icon_type": "info",
    "model": {
        "cycles": 1,
        "frames": [
           {
              "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAUklEQVQYlWNUVFBgYGBgYBC98uE/AxJ4rSPAyMDAwMCETRJZjAnGgOlAZote+fCfCV0nOmA0+yKAYTwygJuAzQoGBgYGRkUFBQZ0dyDzGQl5EwCTESNpFb6zEwAAAABJRU5ErkJggg==",
              "text": "SOUND IS PLAYING!"
           }
        ],
        "sound": {
            "url":"https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.mp3",
            "fallback": {
                "category": "notifications",
                "id": "cat"
            }
        }
    }
}

Thank you for your great work, @balmli ā€“ quick question, is there any way to activate the Screensaver like I can set it in the app?

1 Like

Is there not a way to simply enter the iconcode from the lametric database instead of using base64?

Hello there, thank you for this app. I was wondering if something is changed in the Lamtric app. The last couple of weeks i see that some flows work and some flows stop with an error.

Lametric Volume (or eg. next Widget) is working fine, but the Notification is displaying an error. Any idea what this could be?

When creating a flow choosing an icon fails and since it is mandatory that means i cannot create flowsā€¦

I tried restarting the app but that did not make a differenceā€¦

Could I be doing something wrong ?

Same here when making a flow, choosing Notification, Priority, Icon type, Text, Icon.
In my case Info, Info, Test,a87 it does not work.

So;Test from here stops at the above card.

Edit: solution for me, i had the wrong ip adres for lametric in the app settings. Everything works fine.

Hello there.
Thank you for this incredible app!
Is there any possible way for the Sky-display (infoscreen as they call it) to be added? If you need some additional information for that, I would be happy to provide it.

Thank you again for your incredible work so far!

EDIT: I have been building a workaround for DIY-Apps and Notifications on SKY displays: LaMetric SKY Display: Local HTTP Push

Hi, and thank you for your Homey app.

Iā€™m really enjoying it.

I have a request/questionā€¦ Iā€™ve placed my LaMetric Time on a high shelf, and Iā€™d like to stop the alarm using a Flow, but this doesnā€™t seem to be possible at the moment. Currently, I can only stop the alarm by pressing the top button on my LaMetric Time.

Do you think it would be possible to stop the alarm using a Flow with the ā€œThenā€ actions? In the future, I might associate a physical button to do this.

Thanks!

Hello everyone,

Iā€™m using the LaMetric Time app and have set a recurring alarm from Monday to Friday. Iā€™d like to create a Homey Flow that automatically stops or snoozes the alarm when it rings, but I canā€™t seem to find a solution.

Is there any way to stop or snooze the LaMetric alarm via a Homey Flow? Has anyone managed to implement this function, or is there an API-based workaround?

Thanks in advance for your help!