Giter Site home page Giter Site logo

Comments (11)

Mr-REM-Esq avatar Mr-REM-Esq commented on June 27, 2024 1

Perfect idea! It is really very difficult to edit the JSON-file when you don't know what is it and how it should look.

from iobroker.ham.

kirovilya avatar kirovilya commented on June 27, 2024 1

HAM need to be cooperate with Yahka :)

from iobroker.ham.

yaming116 avatar yaming116 commented on June 27, 2024 1

hey,

@SchumyHao @Apollon77

i add an optional option to edit profile information using the web editor in global mode #23

from iobroker.ham.

Apollon77 avatar Apollon77 commented on June 27, 2024

hey,

the adapter supports two modes: First mode is using the "homebridgeplugin-wrapper" and acting as a plugin wrapper only. Second way is the so called "global mode" where you can have your own homebridge installation (which is also seen as bridge and so reachable) and the adapter is also using this instance - then the config comes from your "global homebridge" rather then from the wrapped one but all data are available.

Maybe the gloabl mode is what you want?

from iobroker.ham.

SchumyHao avatar SchumyHao commented on June 27, 2024

hey,

the adapter supports two modes: First mode is using the "homebridgeplugin-wrapper" and acting as a plugin wrapper only. econd way is the so called "global mode" where you can have your own homebridge installation (which is also seen as bridge and so reachable) and the adapter is also using this instance - then the config comes from your "global homebridge" rather then from the wrapped one but all data are available.

Maybe the gloabl mode is what you want?

Hi @Apollon77 , thank you for your reminder.

But I think globle mode is not the best way:

  • In globle mode, user have to install homebridge in shell console by npm command
  • User have to install plugins by npm command
  • User heve to Edit plugins in console, without JSON check enabled.

I know those 3 points is not so necessary for advice user, but I found there are lots of new users make mistakes, they want to accomplish what they can in frontend, not in console.
They think console like coding, user experence is not good.

As wrapper mode has already done the development work for those 3 points, can we just port them to globle mode?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on June 27, 2024

@SchumyHao Aaaahhh so the idea would be a third mode like "wrapper but published as Homebridge instance" where everything is like wrapper but publishing the bridge in the network.

The main topic why this was not done are the many dependencies I would need to add amd especially installing the "curve" encryption stuff always makes often problems on install and I wanted to get rid of them. Additionally you need MDNS support and and and (see Yahka about the list of additionally needed stuff - and if not there it will not build)

So to have full "publishing" support I also need all the encryption things with all the other dependencies. And so it would be way more stuff and problems. Ok could be defined as "optionalDep" in package, so that it is not problematic when failed.

Need to think because then it there is no "convienenmt way for the user" ... maybe as a second separate adapter (ham-homebridge) where only this mode works and only this adapter will have higher "needs to be done before installing" ... What do you think about this?

@Mr-REM-Esq To come around the fact to edit the json would be a big topic because each plugin is different

@kirovilya In fact HAM is "using homebridge data in ioBroker" and Yahka is the other way, so more "publishig iobroker data to Homebridge". If yahka would be a homebridge plugin then it could be used "out of the box" and only need to care about the data handling

from iobroker.ham.

SchumyHao avatar SchumyHao commented on June 27, 2024

OK Thank you for your detail explaination.
I'll think about this issue, how to handle the dependencies.
Thank you for your exellent adapter~

from iobroker.ham.

Apollon77 avatar Apollon77 commented on June 27, 2024

Lets leave it open for referece, discussion and thinking

from iobroker.ham.

SchumyHao avatar SchumyHao commented on June 27, 2024

hey,

@SchumyHao @Apollon77

i add an optional option to edit profile information using the web editor in global mode #23

It seems can edit global config json file with JSON check in frontend.

from iobroker.ham.

Apollon77 avatar Apollon77 commented on June 27, 2024

The upcoming 1.1.0 adds a new "Local" mode. When selected it will install am"local" homebridge and start this like a global one. Config is edited by the adapter Admin UI. You meaned something like this?

from iobroker.ham.

Apollon77 avatar Apollon77 commented on June 27, 2024

1.1.1

from iobroker.ham.

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.