Giter Club home page Giter Club logo

Comments (6)

nordblick2 avatar nordblick2 commented on August 24, 2024 1

Hey gurtjun (and samfox2),
i implemented that already in my fork of samfox2's repository. I try to keep in parallel with his most recent version, but didn't hat time to implement some changes he made within last weeks. I hope I can do that it in the next weeks, update my some docu, and provide a pull request.

@Samfox2 Seems hard to get in direct contact with you :). I'm not really aware of some dependencies regarding domotica (e.g. your code accept some a "1", sometimes there was "On" or "true" - I unified that in my fork. I implemented some other features as well (like various backend like url, local commands or file interface). I don't use domotica at all, so I can't run a full compatibility test in any way. So... pull request could be hard to accept :)

from homebridge-domotiga.

Samfox2 avatar Samfox2 commented on August 24, 2024

Sorry, I am quite busy at the moment :-) Would be really cool if you could implement your changes into the plugin.

from homebridge-domotiga.

gurtjun avatar gurtjun commented on August 24, 2024

Hi @nordblick2,

Cool you already implemented the possibility to add a Lightbulb. Not sure if it's going to work with Domotiga though. E.g. you're using the below function call to get a value from Domotiga:

...
self.domotigaGetValue(thisDevice, "brightness", function (error,value) {
...

As far as I'm aware you can only get values by their number, correct me if I'm wrong @Samfox2? In Domotiga they are represented as value1, value2, value3, etc...
So I don't think "brightness" will work as a value. But I'm not that experienced either with Domotiga so I could be wrong...

from homebridge-domotiga.

Samfox2 avatar Samfox2 commented on August 24, 2024

@gurtjun yes thatβ€˜s right, the column of all 3 values have to be defined in config.json

from homebridge-domotiga.

brefra avatar brefra commented on August 24, 2024

Thanks to the example in the fork of @nordblick2. I've just created pull request #26 that contains the required functionality. Both switching and dimming a light bulb.

from homebridge-domotiga.

Samfox2 avatar Samfox2 commented on August 24, 2024

Merge it right now, thank you.

from homebridge-domotiga.

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.