GameDevHobby / Domoticz-LGTV-WebOS-Plugin

LG TV WebOS 3 Plugin for Domoticz
14 stars 13 forks source link

Update lg.py #28

Open SkeletonRocky opened 3 years ago

SkeletonRocky commented 3 years ago

Added multi TV support, with separating the token files by IP address

SkeletonRocky commented 3 years ago

The PYLG library have a default key file location ./.pylgtv but you can define it. With this method the file name will contain the IP address of the TV. Its necessary in case of multi TV usage, otherwise the last connected TV will override the key token file, and the other TVs will deny the request from domoticz.