# LG WebOS better integration

**URL:** <https://community.homey.app/t/lg-webos-better-integration/15007>\
**Category:** Apps\
**Tags:** app\
**Created:** [July 1, 2019, 7:50am UTC](https://community.homey.app/t/lg-webos-better-integration/15007 "2019-07-01T07:50:49Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![Wingleader](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@Wingleader](https://community.homey.app/u/Wingleader)\
**Post date:** [April 1, 2020, 8:09pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/143 "2020-04-01T20:09:55Z")

</div>

will do this tomorrow somewhere between work 😉

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 2, 2020, 3:32pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/144 "2020-04-02T15:32:08Z")

</div>

New release candidate arrived:

- Toast message action cards now give error messages
- Images send in Toast messages are resized to 200px
- Added remote logging for debugging on/off states

Remote logging only sends logging when the tv is turned on or off with the following data:

```auto
{
  http: {
    clientHost: YOUR PUBLIC IP ADDRESS SO I KNOW WHO'S LOGLINE IT IS
    contentType: application/json
  },
  json: {
    status: THE STATE OF THE LAST MESSAGE FROM THE TV
    processing: LAST PROCESS STATE OF THE LAST MESSAGE FROM THE TV
    tvSetTo: true|false IF THE TV TURNED ON|OFF IN THE APP
  }
}

```

The data is sent to [https://www.loggly.com/](https://www.loggly.com/) where I can view it. No other information is logged and no other event in the app is sent to the remote. This is purely for me to find all the different possible states so I can create a super reliable powerListener.

If you have objections to the remote logging, please let me know and we’ll discuss it.

> **[MaxvandeLaar/homey-webos-plus](https://github.com/MaxvandeLaar/homey-webos-plus/releases/tag/v2.0.0-rc7)**
>
> Improved LG WebOS integration for Homey. Contribute to MaxvandeLaar/homey-webos-plus development by creating an account on GitHub.

EDIT: Removed RC6 and updated to RC7 due to me forgetting to check for an empty value causing a crash in some cases…

---

<div class="post-metadata">

**Author:** ![Tolga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tolga/32/12563_2.png) [@Tolga](https://community.homey.app/u/Tolga)\
**Post date:** [April 2, 2020, 3:58pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/145 "2020-04-02T15:58:31Z")

</div>

@MaxvandeLaar Hi,

For me works RC4 perfect, no problems anymore. The app shows the correct status in 1seconds. Only for Info, my Tv is LG Oled 65G7. Perfect work @MaxvandeLaar 👍 👍 👍

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 2, 2020, 5:46pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/146 "2020-04-02T17:46:29Z")

</div>

Due to a small bug in the Toast Flow I quickly released RC7 🙂 Sorry for the inconvenience

> **[MaxvandeLaar/homey-webos-plus](https://github.com/MaxvandeLaar/homey-webos-plus/releases/tag/v2.0.0-rc7)**
>
> Improved LG WebOS integration for Homey. Contribute to MaxvandeLaar/homey-webos-plus development by creating an account on GitHub.

Sorry for the spam

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 2:56pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/147 "2020-04-06T14:56:44Z")

</div>

Hey everyone,

So, a long time ago I said I was working on creating Alerts with buttons right? I got it working 😉 I can now create an Alert (not a toast) and add buttons to it that can launch applications for example

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [April 6, 2020, 3:09pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/148 "2020-04-06T15:09:56Z")

</div>

very cool!!! now find a usecase for that…

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 3:11pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/149 "2020-04-06T15:11:48Z")

</div>

@Kaoh, yep got no clue at the moment. Especially since you can create ‘infinite’ buttons so I also need to figure out what how to make it manageable if it ever ends up in the app.

So if anyone has a use case for this, let me know and we’ll discuss.

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [April 6, 2020, 3:12pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/150 "2020-04-06T15:12:36Z")

</div>

So, a message on screen with a button in it? Or am I really not getting it? 😉

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 3:14pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/151 "2020-04-06T15:14:52Z")

</div>

Yep, even multiple buttons, with custom actions 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/d/0db7b1e81d531fae372535959cf649823d490d1e.jpeg) This opens Netflix for example

---

<div class="post-metadata">

**Author:** ![Ollem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ollem/32/9413_2.png) [@Ollem](https://community.homey.app/u/Ollem)\
**Post date:** [April 6, 2020, 3:15pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/152 "2020-04-06T15:15:05Z")

</div>

Yes could be Cool.  
Usecase could be ask to switch to another input, e.g. when you watch Netflix and would like to be reminded to see the news at 20:00 every day.

Big question is if it also possible to trigger something at homey… i.E. some flow… that would make it super useful. E.g. question to dim the lights when Netflix starts…

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 3:15pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/153 "2020-04-06T15:15:58Z")

</div>

@Ollem

> Big question is if it also possible to trigger something at homey… i.E. some flow… that would make it super useful. E.g. question to dim the lights when Netflix starts…

This is actually my next step yes… If this works, I do see use cases, otherwise it’s somewhat more difficult

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [April 6, 2020, 3:16pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/154 "2020-04-06T15:16:25Z")

</div>

Niiiice.

Someone rings the bell on the front door, pop-up with button to show the videofeed from the door full screen? 😃 Don’t know if it’s possible, but it’s the first thing that came up.

Are the buttons only to be used for internal functions of the tv or can you also launch external functions, on Homey f.e.?

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 3:21pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/155 "2020-04-06T15:21:21Z")

</div>

@Martijn_C, at the moment only TV actions (and not many) I am figuring out if it’s possible to call urls so you can trigger something on Homey or somewhere else.

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 3:29pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/156 "2020-04-06T15:29:51Z")

</div>

@Martijn_C, @Ollem, it doesn’t seem possible at first glance. Best bet would be to create an WebOS application that you can install, call that with an parameter so the WebOS application on the TV can send it back to Homey. Seems a bit exaggerated for the current use cases in my opinion. However, you are all free to create a WebOS TV application and let me know to call it correctly (app id and parameters) 😉

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 4:04pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/157 "2020-04-06T16:04:19Z")

</div>

So now I officially released version 2.0.0.

> **[MaxvandeLaar/homey-webos-plus](https://github.com/MaxvandeLaar/homey-webos-plus/releases/tag/v2.0.0)**
>
> Improved LG WebOS integration for Homey. Contribute to MaxvandeLaar/homey-webos-plus development by creating an account on GitHub.

After some release candidates, a shout out to the testers 😉, I feel this version will significantly improve the way I can debug and support the and you all get much faster on/off state detection.

What’s in store for v2.1.0 you ask?

- Reintroduction of the old on/off detection for those who experience issues with the new awesome detection mechanism. If you do and haven’t contacted me about it yet, please do so 🙂
- I hope to introduce IR signal to turn the TV on, so I can say my app does literally everything the official Athom app does.

---

<div class="post-metadata">

**Author:** ![Martijn\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_c/32/39993_2.png) [@Martijn\_C](https://community.homey.app/u/Martijn_C)\
**Post date:** [April 6, 2020, 4:06pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/158 "2020-04-06T16:06:05Z")

</div>

You’re the best! Athom should be thankful 🙂

---

<div class="post-metadata">

**Author:** ![Jurgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen/32/11917_2.png) [@Jurgen](https://community.homey.app/u/Jurgen)\
**Post date:** [April 6, 2020, 8:14pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/159 "2020-04-06T20:14:13Z")

</div>

Excellent work Max 👍,

I will try your new release asap.

Just a small question/request, is it possible to add an action card for the “when” trigger, based upon someone pressing the mute button?  
I am trying to control my Devialet speakers via a small server-app, the only thing which could be very useful if I can send a mute command to the server based upon the event and not to check the mute status by a certain frequency.

---

<div class="post-metadata">

**Author:** ![MaxvandeLaar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maxvandelaar/32/18367_2.png) [@MaxvandeLaar](https://community.homey.app/u/MaxvandeLaar)\
**Post date:** [April 6, 2020, 8:23pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/160 "2020-04-06T20:23:59Z")

</div>

@Jurgen, I am surprised I missed that one. Good call will definitely add it in v2.0.1 or v2.1.0 depending on how quickly things progress.

---

<div class="post-metadata">

**Author:** ![Thomas\_Reiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomas_reiten/32/21766_2.png) [@Thomas\_Reiten](https://community.homey.app/u/Thomas_Reiten)\
**Post date:** [April 6, 2020, 8:32pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/161 "2020-04-06T20:32:57Z")

</div>

The app works great! 😀 Good job! 👍

---

<div class="post-metadata">

**Author:** ![Jurgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen/32/11917_2.png) [@Jurgen](https://community.homey.app/u/Jurgen)\
**Post date:** [April 6, 2020, 9:13pm UTC](https://community.homey.app/t/lg-webos-better-integration/15007/162 "2020-04-06T21:13:57Z")

</div>

@MaxvandeLaar Thanks! Looking forward to it.

> [@MaxvandeLaar](#):
>
> @Jurgen, I am surprised I missed that one. Good call will definitely add it in v2.0.1 or v2.1.0 depending on how quickly things progress.

[Previous page](https://community.homey.app/t/lg-webos-better-integration/15007.md?page=7)

[Next page](https://community.homey.app/t/lg-webos-better-integration/15007.md?page=9)
