-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use icons in Toast #7
Comments
I must admit - I don't know. Is it perhaps possible to just add the html |
I'm not a programmer, but I started looking for information and found this, maybe it will help you https://community.openhab.org/t/connect-sdk-binding-for-lg-webos-tvs/4726/220 |
just found that public void showToast(String message, String iconData, String iconExtension, ResponseListener<Object> listener)
{
JSONObject payload = new JSONObject();
try {
payload.put("message", message);
if (iconData != null)
{
payload.put("iconData", iconData);
payload.put("iconExtension", iconExtension);
}
} catch (JSONException e) {
e.printStackTrace();
}
sendToast(payload, listener);
} So it is possible by adding Edit: just read your link and saw that we can simply supply an URL where the image can be loaded. Do you have a Webserver where you can put the images or do we need to integrate a simple webserver in lgtv2mqtt? |
I understand what I'm talking about, but I can not help you, only if I'm a beta tester |
Hello!
I would like to know if you can send a picture of the message via toast.
The module in the openhab message when inserting a message inserts its logo. Thanks in advance
The text was updated successfully, but these errors were encountered: