Giter VIP home page Giter VIP logo

Comments (15)

merdok avatar merdok commented on July 21, 2024 3

I do not know yet when i will have time to look at it but i will for sure do that :)

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024 1

@jesusmarcos notifications are now included in the latest update (1.3.0), please try it out and let me know if it works as expected.

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

Yes, showing a notification on the TV is certainly possible.
But the questions is, how would you connect that to other devices or actions with a custom message?

from homebridge-webos-tv.

jesusmarcos avatar jesusmarcos commented on July 21, 2024

Hi merdok.

As it will not be possible to generate custom messages "on the fly", one option can be something similar to what you are doing with the appSwitch.

Let's supose that we define a property called textMessages where we can inform an ID and a text message. The ID will be there to be able to identify the option even if we change the text.

"textMessages": [
{
"id": "BackDoorOpen",
"text": "The back door is open"
},
{
"id": "MovementOutside",
"text": "Movement detected in the backyard"
}
]

You can create two accessories (switches) to activate the message in the TV everytime the switch is activated (and will be deactivated inmediatly after the activation).

So we can automated the event coming from another accessory (body sensor, contact sensor, ring bell button,...) to generate the messages.

Of course, the messages will be shown only if the TV is on (it's not needed to wake up the tv).

Could I explain you my idea about that?

I hope this helps and it's not something stupid. :-)

Many thanks in advance.

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

I wanted to prevent extending the configuration to not overwhelm users with a lot of options to configure and confuse them.
I think i saw a homebridge plugin where a switch was reading the name that the user associated it with in the Home app, maybe this could be used as a custom message for the notification.

I know that the Home app can send notifications when something happens, can this somehow be used by Hmebridge? I think that would be ideal for it.

I find the idea good and useful but i would need to think about it how would be the best way to implement this feature.

from homebridge-webos-tv.

jesusmarcos avatar jesusmarcos commented on July 21, 2024

Great !!! Of course this was only an idea and I'm sure that you will find better ways to implement it.

I'm happy that you are going to consider it.

Many thanks for that and for the great job done with this useful plugin.

from homebridge-webos-tv.

jesusmarcos avatar jesusmarcos commented on July 21, 2024

Did you find a way to solve it?

Maybe some easy solution is to implement it as you did with appSwitch (just a set of strings that can be used to create the "buttons"). ;-)

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

Sorry i did not have time yet to have a look into it. Hopefully i can do that soon...

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

@jesusmarcos i think i now have a good solution how to solve it, i will be trying that out in the next days and if everything will be fine then i will commit it.
Basically for each notification i will create a switch which you can then use for automation, turning on the switch will display the notification and the switch will instantly be disable again (will emulate a button).

from homebridge-webos-tv.

palasinio avatar palasinio commented on July 21, 2024

Nice! 👍
Works!

from homebridge-webos-tv.

jesusmarcos avatar jesusmarcos commented on July 21, 2024

Hi merdok.

I could do a quick test right now (send a message to the TV when the backdoor is open) and it works perfectly. :-)

Thanks a lot. This opens new opportunities of communication at home.

Great job. 👍

from homebridge-webos-tv.

DJay-X avatar DJay-X commented on July 21, 2024

Just want to say a big thank you @merdok . Everything works so smooth and without any problem here on my LG 55EG9209 OLED with webOS 2. Unfortunately there is no Update on this 3 Year old LG for webOS 3>

Anyways, all what I would expected works perfekt with your plugin. Notifications are also a great feature and switching to my favourite App on the LG, just by asking Siri now.

Thanks for the time you are investing, your great work and sharing it with us. 👍🏻

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

@palasinio @jesusmarcos
Thanks for the info! Glad that everything works fine now 👍
@DJay-X
Thanks! I try to make it as best as possible :)

from homebridge-webos-tv.

Hussamfhaily avatar Hussamfhaily commented on July 21, 2024

Big thanks for the update. it would be great if we can change the icon of the notification

from homebridge-webos-tv.

merdok avatar merdok commented on July 21, 2024

Unfortunately as far as i know this is not possible.

from homebridge-webos-tv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.