Git Product home page Git Product logo

Comments (11)

donavanbecker avatar donavanbecker commented on May 25, 2024

The title says hoops but I am guessing you meant HOOBs, if that's the case:

This plugin isn't developed for HOOBs.

I would recommend moving to homebridge.

from homebridge-switchbot.

johnrotellini avatar johnrotellini commented on May 25, 2024

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 25, 2024

As stated before, this Plugin wasn't designed for HOOBs. So which to Homebridge and if you still have the issue then we can look into it further.

from homebridge-switchbot.

frankea avatar frankea commented on May 25, 2024

The ReadableStream API is a part of the Streams API which is widely used in web applications for handling streaming data. However, in Node.js, streams have been implemented differently, and certain features like ReadableStream from the Web Streams API might not be available in older versions of Node.js. Ensure you are running a version of Node.js that supports the ReadableStream API or the features of the undici library that require it.

Updating Node.JS to the latest version resolved it for me.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 25, 2024

@frankea HOOBs support will not be provided.

from homebridge-switchbot.

frankea avatar frankea commented on May 25, 2024

Didn't ask for it to be, just trying to help the other guy and maybe take some issues off your plate with a fix.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 25, 2024

Thanks for doing that, but users of HOOBs should be going to HOOBs or switch to Homebridge.

from homebridge-switchbot.

frankea avatar frankea commented on May 25, 2024

Given that Google brought me here based on the error, I'd expect you'd get a few more coming your way, so hopefully this will save you some time. It's technically not a Hoobs specific issue either since it's Hoobs is an npm package installed in Node, which is the part that needs to be updated. It's the plugin code (running on and old version of Node) invoked by Hoobs generating the error. The user above is on Node 16 with the latest being 20.

Before trying to setup the switchbot plugin today, I'd never actually heard of homebridge-config-ui-x. I started using Hoobs years ago because I wanted a UI, but I've never really loved using it. I'll likely make the switch back to homebridge now that I know about the UI option. Also since I can't actually get any devices or debug logging to show up with the plugin in Hoobs and I'm tired of troubleshooting it.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 25, 2024

Once on Homebridge and Homebridge UI (homebridge-config-ui-x) I would be willing to help

from homebridge-switchbot.

johnrotellini avatar johnrotellini commented on May 25, 2024

from homebridge-switchbot.

frankea avatar frankea commented on May 25, 2024

How does one do that?

Depends on your OS. I have it on a Raspberry Pi which is Debian based, so I used these steps: https://deb.nodesource.com/

Find your OS here: https://github.com/nodesource/distributions and ask them if you run into issues.

from homebridge-switchbot.

Related Issues (20)

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.