iobroker-community-adapters / ioBroker.lgtv

LG WebOS SmartTV adapter for ioBroker
http://iobroker.net/
MIT License
22 stars 21 forks source link

Add Discovery Support for this Adapter #4

Closed Apollon77 closed 7 years ago

Apollon77 commented 7 years ago

Hey,

please check out the Discovery-Adapter (https://github.com/ioBroker/ioBroker.discovery) and check if the device can be detected somehow (special url with defined answer, special port, upnp, udp or other technologies?!). If yes it would great if you could add a pull request to the Discovery-Adapter with the needed code. Support needed? Contact me (Apollon77) in Forum as forum thread or PN ;-)

Ingo

SebastianSchultz commented 7 years ago

Hello Ingo,

look at the lgtv package which is used for lgtv adapter: https://www.npmjs.com/package/lgtv

Under „Auto-detecting the tv on the network“ you’ll find some sample code.

II hope this helps?

Best regards

Sebastian

Von: Ingo Fischer [mailto:notifications@github.com] Gesendet: Freitag, 21. April 2017 11:31 An: SMundt/ioBroker.lgtv ioBroker.lgtv@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [SMundt/ioBroker.lgtv] Add Discovery Support for this Adapter (#4)

Hey,

please check out the Discovery-Adapter (https://github.com/ioBroker/ioBroker.discovery) and check if the device can be detected somehow (special url with defined answer, special port, upnp, udp or other technologies?!). If yes it would great if you could add a pull request to the Discovery-Adapter with the needed code. Support needed? Contact me (Apollon77) in Forum as forum thread or PN ;-)

Ingo

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SMundt/ioBroker.lgtv/issues/4 , or mute the thread https://github.com/notifications/unsubscribe-auth/ALsBX4OhBMIpv_YNyHATwjxptqp7W1wdks5ryHdBgaJpZM4NEEpX . https://github.com/notifications/beacon/ALsBX0CUNnr_AQMmtLjPbg3a6NrzeSIKks5ryHdBgaJpZM4NEEpX.gif

Apollon77 commented 7 years ago

Because of the fact that we can not include all dependencies into discovery it should be written code based ion the library code ... but this should be easy. YOu don't want to prepare it and send in as Pull request for discovery adapter? ;-)

SebastianSchultz commented 7 years ago

https://github.com/ioBroker/ioBroker.discovery/blob/master/lib/adapters/lgtv.js

Apollon77 commented 7 years ago

Super!