Skip to content

SmartThings's DeviceTypeHandler for notifying message on TV

Notifications You must be signed in to change notification settings

turlvo/KuKuTVNoti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

'KuKuTVNoti' Install Guide

KuKuTVNoti' is a DTH to notify some message to TV.(Now just only LG WebOS TV).

This is baed on 'LGTV2' API.

0. Preparing

To connect to LG WebOS TV, need to enable 'LG CONNECT APPS' option. Just follow below official site's guide.

http://www.lg.com/uk/support/product-help/CT00008334-1437131798537-others

1. Install 'KuKuTVNoti' Daemon

1-1) 'KuKuTVNoti' Docker Image download

[X86 Platform]
# docker pull turlvo/kukutvnoti

or

[ARM Platform(Raspberry Pie)]
# docker pull turlvo/kukutvnoti-rasp

1-2) Execute 'KuKuTVNoti' container

# docker run --name kukutvnoti --net=host turlvo/kukutvnoti

or

# docker run --name kukutvnoti --net=host turlvo/kukutvnoti-rasp

(You can use -d option to background running)

1-3) Enable auto run 'KuKuTVNoti' when rebooted

# sudo vim /etc/systemd/system/kukutvnoti.service

<kukutvnoti.service File content>
[Unit]
Description=KuKuTVNoti container
Requires=docker.service
After=docker.service

[Service]
Restart=always
ExecStart=/usr/bin/docker start -a kukutvnoti
ExecStop=/usr/bin/docker stop -t 2 kukutvnoti

[Install]
WantedBy=multi-user.target

# sudo systemctl enable /etc/systemd/system/kukutvnoti.service

2. Install 'KuKuTVNoti' DTH

2-1) Add ST IDE에서 'KuKuTVNoti' DTH

https://github.com/turlvo/KuKuTVNoti/blob/master/devicetypes/turlvo/kukutvnoti.src/kukutvnoti.groovy

2-2) Add a'KuKuTVNoti' at ST IDE에서

'My Devices' -> 'New Device'

  • Name : any device name you want
  • Device Network Id : any value not same with other device
  • Type : select installed 'KuKuTVNoti' DTH
  • Version : Published
  • Hub : Must select own hub

2-3) Configuration installed 'KuKuTVNoti' device (Can change values at the device Thing's setting)

  • noti1msg ~ noti8msg : message to map tile buttons
  • serverIp : Server's IP that KuKuTVNoti' daemon is run
  • serverMac : Server's MAC address that KuKuTVNoti' daemon is run
  • serverPort : 8383
  • tvIp : LG WebOS TV's Local IP address

3. 'KuKuTVNoti' Thing

3-1) Thing screen

3-2) Thing Setting screen

4. 'KuKuTVNoti' working

4-1) Using Thing tile buttons

Watch the video

4-2) Using CoRE(or any automation)

Watch the video

About

SmartThings's DeviceTypeHandler for notifying message on TV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published