Giter Site home page Giter Site logo

Comments (10)

jmissig avatar jmissig commented on June 22, 2024 1

Uneducated guess is that temp file generation should be using homebridge.user.storagePath() somehow.

from homebridge-bloomsky.

swamplynx avatar swamplynx commented on June 22, 2024

Were you ever able to fix this? I am having the same issue.

from homebridge-bloomsky.

jmissig avatar jmissig commented on June 22, 2024

No I gave up on trying to fix it myself. I've found trying to develop for homebridge plugins quite frustrating.

from homebridge-bloomsky.

swamplynx avatar swamplynx commented on June 22, 2024

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.

aphex3k avatar aphex3k commented on June 22, 2024

@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.

swamplynx avatar swamplynx commented on June 22, 2024

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.

schpeen avatar schpeen commented on June 22, 2024

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.

DifferentComputers avatar DifferentComputers commented on June 22, 2024

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.

aphex3k avatar aphex3k commented on June 22, 2024

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.

jmissig avatar jmissig commented on June 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.