Comments (6)
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.
Sorry, I am quite busy at the moment :-) Would be really cool if you could implement your changes into the plugin.
from homebridge-domotiga.
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.
@gurtjun yes thatβs right, the column of all 3 values have to be defined in config.json
from homebridge-domotiga.
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.
Merge it right now, thank you.
from homebridge-domotiga.
Related Issues (20)
- Doors and windows control HOT 3
- Startup failed (TypeError: Cannot read property 'on' of undefined) HOT 4
- Question - do you get the notifications on more than one device? HOT 4
- Changes in config file will not always be applied HOT 8
- Number of mapped devices : undefined HOT 1
- NO issue, just a discussion around the plugin HOT 2
- Combined TemperatureService device with valueAirPressure failed HOT 3
- Error after upgrade to 2.0 HOT 11
- Window Covering do not stop at open action HOT 1
- Typo in MotionSensor initializing (setService) HOT 1
- Flipped condition HOT 1
- error when starting with new version HOT 1
- Possible wrong evaluation for motion sensor return value HOT 2
- Error: The requested platform 'Domotiga' was not registered by any plugin. HOT 2
- Cannot read property 'toLowerCase' of undefined HOT 2
- NPM package one version behind HOT 1
- ECONNREFUSED HOT 2
- homebridge-domotiga crashes when trying to get humidity HOT 3
- Historic energy data HOT 1
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-domotiga.