Comments (10)
Uneducated guess is that temp file generation should be using homebridge.user.storagePath()
somehow.
from homebridge-bloomsky.
Were you ever able to fix this? I am having the same issue.
from homebridge-bloomsky.
No I gave up on trying to fix it myself. I've found trying to develop for homebridge plugins quite frustrating.
from homebridge-bloomsky.
I ended up hacking around it by creating a symbolic link from where it was actually creating the snapshot, to where it was looking for it. In my case...
sudo ln -s /home/pi/5dc98f96-1040-43c4-a685-63b355c71429.jpg /usr/node_modules/homebridge-bloomsky/lib/5dc98f96-1040-43c4-a685-63b355c71429.jpg
from homebridge-bloomsky.
@swamplynx If this works for you I definitely will look at the section handling the preview file. I just need to find some time...
from homebridge-bloomsky.
Yep. Snapshorts are working perfectly for me now. I needed to change some permissions as well. Some additional information that may help troubleshoot.
My 'npm config get prefix' is '/usr,' and my modules install into '/usr/lib/node_modules'
The plugin is creating snapshots in /home/pi, which is the user in which I have homebridge running under.
I created a link to that file, from both /usr/node_modules/homebridge-bloomsky/lib/ (where the debug log indicates it is looking), and the actual directory where the plugin, /usr/lib/node_modules/homebridge-bloomsky/lib/, and updated permissions to those folders. I haven't bothered removing one link other the other to determine where the plugin is actually pulling the snapshot from, but it is working perfectly now.
from homebridge-bloomsky.
Can you guys help me out. I got the Bloomksy NPM running on Homebridge on my Pi and the data is showing correctly in Home app but the video image wont show I keep getting an error. Any ideas ? Appreciate any help.
from homebridge-bloomsky.
Running HOOBS on a Mac and have the video feed working (as long as debug:true) but snapshots don't seem to be generating at all. I think Home app is grabbing a snapshot from the vid stream.
The above discussion seems to suggest that the plugin may be creating a snapshot, but it only references pi installs. Where would I try to find it when it's not on a pi?
from homebridge-bloomsky.
Can you please test version https://www.npmjs.com/package/homebridge-bloomsky/v/1.2.0-alpha.0
? It is a rewrite of the module and does not use local snapshot files anymore.
from homebridge-bloomsky.
Just tried — the new version launches and I get a few of my accessories, but just a test pattern for the video feed.
I see there’s another issue stating Sky2 is not actually currently supported. Funny because that’s what I was using before!
I’ll investigate further this weekend maybe and might file an issue with more details.
from homebridge-bloomsky.
Related Issues (10)
- SKY2 Support HOT 7
- accessory unavailable when debug turned off HOT 3
- Bloomsky doesn't show up in home app HOT 9
- Option to hide attributes / tiles HOT 1
- Incorrect snapshot path HOT 1
- Homebridge 1.01 breaks plugin HOT 14
- Version 1.2-alpha.2 is flooding log HOT 2
- "The requested platform "Bloomsky" was not registered by any plugin."
- No Video 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-bloomsky.