Comments (8)
Hi,
Nice to hear you made it half way through.
At the moment it is necessary that the plugin discovers the device itself before the device will show up as external accessory because it fetches some additional device infos and uses upnp also to keep track of possibly changing ip addresses and upnp location. However, the error might lead to crashing homebridge before the device discovery even starts. The problem seems to be caused by node-persist trying to create the persistent directory at /.node-persist
. You might just try to create the directory yourself and change the permissions of that folder generously for testing like mkdir /.node-persist
and chmod 777 /.node-persist
. I hope this leads to homebridge not crashing anymore and showing your tv correctly with the usn (remember to turn your tv on before restarting homebridge).
PS: If you know the user homebridge is running under, it would be better to make this user the owner of this directory
chown homebridge:homebridge .node-persist (if the user is homebridge e.g.) instead of making the directory read/writable by every user what the previous command does
PS2: I might add an option to add tv's that can for some reason not be discovered over upnp even though this would require setting up a static ip for the tv and finding out some values yourself.
from homebridge-samsungtv-control2.
I will also change the default location, node-persist is using to the homebridge storage path in the next release... this hopefully solves the problem once and for all.
from homebridge-samsungtv-control2.
from homebridge-samsungtv-control2.
from homebridge-samsungtv-control2.
from homebridge-samsungtv-control2.
Thanks @ggroel ... That actually helps and I have an idea now why your TV (and some others) are not being detected by the device discovery now. I post some more details tomorrow.
from homebridge-samsungtv-control2.
@mmende Martin, great tips! Now it works fine. The TV is detected properly and I've added it to homebridge without problems. Now I can finally use it in automations! Thank you!
Ps. For other users: The H/J-series TVs (and maybe others) allow one to turn the TV off, but not on (not even wake-on-lan). So to turn it on in automations I use the Apple TV (via CEC).
from homebridge-samsungtv-control2.
Awesome... nice to hear that.
from homebridge-samsungtv-control2.
Related Issues (20)
- Connect but the TV asks for confirmation of every command
- Does not appear in homekit
- Error controling TV
- Toggle Log Entry for 'Found unparsable model name....'
- HTTPError: Response code 404 (Not Found)
- HomeKit issues
- Pairing with bridge seems to work but no control possible from homekit HOT 3
- Pairing issue HOT 1
- Paired but not working ON/OF
- TV volume working but cant turn off, I get this error? Any help pls?
- UE40F6400AK always OFF in HomeAPP
- DEPRECATED user supplied a custom 'mdns' option. HOT 2
- Unable to pair UE65KS8005 HOT 2
- Samsung UE48J5510, power off ok, power on does not work HOT 1
- Control without discovery?
- Can't control TV
- Can't control TV, successfully added though!? HOT 3
- Found unparsable model name xxxx for device xxxxx, usn: "uuid:xxxxxxxxxxxxxx". Skipping it. HOT 2
- SIGTERM Homebridge 1.5.1 HOT 1
- How to use Legacy Mode? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-samsungtv-control2.