Hello,
For volume and brightness it’s a little more complex, than changing clockface.
If your are interested, I’ll write the “process” I must remember how I have do it ^^’
If you have already played with REST api it’s not complicated
Obtain your Lametric time local ip
- Depend on your Router
- OR use the mobile application
Settings → Wi-Fi → IP Address
(LAMETRIC_IP)
Obtain your Token
- Create an account to developer lametric go to developer lametric
- go to devices account name → devices
- take the Api Key
- encode it to base64 dev:APIKEY
expl on linux :
echo dev:APIKEY | base64
the result is your token (YOURTOKEN) used for authentication in the header
Find the ID_OF_THE_WIDGET :
You can use an app or browser extension to make the request.
Personnaly on macOS I use rested.
http://LAMETRIC_IP:8080/api/v2/device/apps/
header => Authorization: Basic YOURTOKEN
you obtain for example:
...
"name": "snooze"
}
}
},
"vendor": "LaMetric",
"version": "2.2.13",
"version_code": "50",
"widgets": {
"<ID_OF_THE_WIDGET_THAT_YOU_WHANT_CALL>": {
"index": 0,
"package": "com.lametric.clock",
"settings": {
"_title": "Horloge"
}
}
}
},
"com.lametric.countdown": {
"actions": {
...
this is the full automation I use for clockface:
in configuration.yml :
lametric_clock_date:
url: 'http://LAMETRIC_IP:8080/api/v2/device/apps/com.lametric.clock/widgets/ID_OF_THE_WIDGET/actions/'
method: POST
headers:
Authorization: "Basic YOURTOKEN"
Content-Type: application/json
payload: '{"activate": "false","id": "clock.clockface","params": {"type": "page_a_day"}}'
content_type: 'application/json; charset=utf-8'
lametric_clock_weather:
url: 'http://LAMETRIC_IP:8080/api/v2/device/apps/com.lametric.clock/widgets/ID_OF_THE_WIDGET/actions/'
method: POST
headers:
Authorization: "Basic YOURTOKEN"
Content-Type: application/json
payload: '{"activate": "false","id": "clock.clockface","params": {"type": "weather"}}'
content_type: 'application/json; charset=utf-8'
lametric_clock_custom:
url: 'http://LAMETRIC_IP:8080/api/v2/device/apps/com.lametric.clock/widgets/ID_OF_THE_WIDGET/actions/'
method: POST
headers:
Authorization: "Basic YOURTOKEN"
Content-Type: application/json
payload: '{"activate": "false","id": "clock.clockface","params": {"type": "custom", "icon":"{{ icone }}"}}'
content_type: 'application/json; charset=utf-8'
The automation (change all 15s the clockface [Weather → custom → Date → custom {taken randomly in a list picture in base64}])
alias: LaMetric clockface
description: ''
trigger:
- platform: time_pattern
minutes: /1
condition:
- condition: time
after: '06:15'
before: '22:00'
action:
- service: rest_command.lametric_clock_weather
data: {}
- delay: '00:00:15'
- service: rest_command.lametric_clock_custom
data:
icone: |-
{{ [
"data:image/png;base64,‘’iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAeUlEQVQYlXWMvwmDQBSHvyeCZAabZwrBEY40qW4I17DLAHYpXcEhrhe3OOwyQkj1Ugm5B/m631/pVClIwYi7nLLCE3chBftf+H0Cau/nQ43+BcBV3UM+1D6PsRhUPmzmFYBlaAEQ4244lqHl+d4EQDpVpsutKJ0hwBca0yGxC/Gv9QAAAABJRU5ErkJggg==",
"data:image/gif;base64,R0lGODlhCAAIALMAACQiJASq/JRuBPzarNTS1AR2NPSGBAT2ZISGhPz6bPz+/HRaBAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAAACwAAAAACAAIAAAEJBCAc1IyUtVhTVEcMEiAIg5oVhxDARBBvBhLgYjr4d6AIC2SCAAh+QQJCgAAACwAAAAACAAIAAAEJBCAc1IyUtVhTVEcMEiAIg5oVhxDARBBvBhLgYjr4d6AIC2SCAAh+QQJCgAAACwAAAAACAAIAAAEJBCAc1IyUtVhTVEcMEiAIg5oVhxDARBBvBhLgYjr4d6AIC2SCAAh+QQJCgAAACwAAAAACAAIAAAEIxCAc1IyUtVhTVEcMEiAIg5oRg0FQATwYiwFIhZUawOCtEgRACH5BAkKAAAALAAAAAAIAAgAAAQkEKhzUjJA1mFNURwwZJI4nECgHkMBEOKyGEuBZAXl3oCQLZkIACH5BAkKAAAALAAAAAAIAAgAAAQkEKhzUjJA1mFNURwwZJI4nECgHkMBEOKyGEuBZAXl3oCQLZkIACH5BAkKAAAALAA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J/icxJOy1RWzRQAIfkECRQAAAAsAAAAAAgACAAAAg+EYwmo4XyQS+/FCc+iGRQAIfkECRQAAAAsAAAAAAgACAAAAg8EYnlq4YxecnQ+pKJloAAAIfkECRQAAAAsAAAAAAgACAAAAg5EgHmpy+ZQmHGad+pDBQAh+QQJFAAAACwAAAAACAAIAAACDQyOaGmr4Q6MgKZbMSgAIfkECRQAAAAsAAAAAAgACAAAAgqEf4G5ELpem7QWACH5BAkUAAAALAAAAAAIAAgAAAIKhG+Bpwu9oJt0FgA7",
"data:image/gif;base64,R0lGODlhCAAIAIAAACQiJPz+/CH/C05FVFNDQVBFMi4wAwEAAAAh+QQJRgAAACwAAAAACAAIAAACDgyOEJa37Rh6ia47MQQFACH5BAkoAAAALAAAAAAIAAgAgSQiJPz+/FRSVAAAAAIPDI4QlrftGHqJiiskFvAUADs=",
] | random }}
- delay: '00:00:15'
- service: rest_command.lametric_clock_date
data: {}
- delay: '00:00:15'
- service: rest_command.lametric_clock_custom
data:
icone: |-
{{ [
"data:image/png;base64,‘’iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAeUlEQVQYlXWMvwmDQBSHvyeCZAabZwrBEY40qW4I17DLAHYpXcEhrhe3OOwyQkj1Ugm5B/m631/pVClIwYi7nLLCE3chBftf+H0Cau/nQ43+BcBV3UM+1D6PsRhUPmzmFYBlaAEQ4244lqHl+d4EQDpVpsutKJ0hwBca0yGxC/Gv9QAAAABJRU5ErkJggg==",
"data:image/gif;base64,R0lGODlhCAAIALMAACQiJASq/JRuBPzarNTS1AR2NPSGBAT2ZISGhPz6bPz+/HRaBAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgAAACwAAAAACAAIAAAEJBCAc1IyUtVhTVEcMEiAIg5oVhxDARBBvBhLgYjr4d6AIC2SCAAh+QQJCgAAACwAAAAACAAIAAAEJBCAc1IyUtVhTVEcMEiAIg5oVhxD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dh3sZ32BCD6qq2DUFACH5BAkUAAAALAAAAAAIAAgAAAIPhBFniZoBWUQyQjedWqcAACH5BAkUAAAALAAAAAAIAAgAAAIPhGOZqBD/DoIO0mmdbtIVACH5BAkUAAAALAAAAAAIAAgAAAIPBGKZaBwPD4qwPmmPUvcVACH5BAkUAAAALAAAAAAIAAgAAAIPRIB4lhsPoXkzSktXU4cWACH5BAkUAAAALAAAAAAIAAgAAAIODH4GuhkPW4S01oQUwwUAIfkECRQAAAAsAAAAAAgACAAAAg+EHXgJ4Z+ia7BaxtrZGhQAIfkECRQAAAAsAAAAAAgACAAAAg+EEXeJGJ/icxJOy1RWzRQAIfkECRQAAAAsAAAAAAgACAAAAg+EYwmo4XyQS+/FCc+iGRQAIfkECRQAAAAsAAAAAAgACAAAAg8EYnlq4YxecnQ+pKJloAAAIfkECRQAAAAsAAAAAAgACAAAAg5EgHmpy+ZQmHGad+pDBQAh+QQJFAAAACwAAAAACAAIAAACDQyOaGmr4Q6MgKZbMSgAIfkECRQAAAAsAAAAAAgACAAAAgqEf4G5ELpem7QWACH5BAkUAAAALAAAAAAIAAgAAAIKhG+Bpwu9oJt0FgA7",
"data:image/gif;base64,R0lGODlhCAAIAIAAACQiJPz+/CH/C05FVFNDQVBFMi4wAwEAAAAh+QQJRgAAACwAAAAACAAIAAACDgyOEJa37Rh6ia47MQQFACH5BAkoAAAALAAAAAAIAAgAgSQiJPz+/FRSVAAAAAIPDI4QlrftGHqJiiskFvAUADs=",
] | random }}
mode: single
you can find all endpoints here : Device API Documentation — LaMetric v1.7.7 documentation
Documentation to obtain IP …
lametric Documentation
Hope this can help you