Comments (9)
That is not nice, at least.
I have to admit I never tested with two digits in first group, as my installation ends at 8/ currently.
Can you post some output from homebridge log?
Thanks
Raoul
from homebridge-knx.
Interesting things. I tested with 4/1/101 and 10/1/101. In the homebridge log I only see the 4/1/101:
[10/6/2016, 10:49:36 AM] [KNX] [Toilet Lamp plafond]: Received value from bus:1 for 4/1/101 from 15.15.8 of type DPT1 for On
[10/6/2016, 10:49:49 AM] [KNX] [Toilet Lamp plafond]: Received value from bus:0 for 4/1/101 from 15.15.8 of type DPT1 for On
So it looks as if the listener is not set correctly. If I look at the loading DEBUG=* output we can read along with homebridge loading all listeners, and I see this:
The first group with 2 digits does register correctly so it seems. But, the resulting groups do not work. They don't show up in the homebridge.log either:
[10/6/2016, 11:09:40 AM] [KNX] Initializing platform accessory 'Tuin voor'...
[10/6/2016, 11:09:40 AM] [KNX] Preparing Services: 2
[10/6/2016, 11:09:40 AM] [KNX] Preparing Service: 0 of type Lightbulb
[10/6/2016, 11:09:40 AM] [KNX] [Tuin voor]:Lightbulb on/off characteristic enabled
[10/6/2016, 11:09:40 AM] [KNX] knx registering BOOLEAN 17/1/100
[10/6/2016, 11:09:40 AM] [KNX] [Tuin voor]:[On]: Issuing read requests on the KNX bus...
[10/6/2016, 11:09:40 AM] [KNX] [knxdevice:knxread] preparing knx request for 17/1/100
[10/6/2016, 11:09:40 AM] [KNX] Preparing Service: 1 of type Lightbulb
[10/6/2016, 11:09:40 AM] [KNX] [Tuin voor]:Lightbulb Brightness characteristic enabled
[10/6/2016, 11:09:40 AM] [KNX] knx registering PERCENT 17/1/111
[10/6/2016, 11:09:40 AM] [KNX] [Tuin voor]:[Brightness]: Issuing read requests on the KNX bus...
[10/6/2016, 11:09:40 AM] [KNX] [knxdevice:knxread] preparing knx request for 17/1/111
After that, all items that start with a double digit, are truncated (0 should be 10) :
[10/6/2016, 11:09:40 AM] [KNX] Initializing platform accessory 'Wasruimte Lamp plafond'...
[10/6/2016, 11:09:40 AM] [KNX] Preparing Services: 1
[10/6/2016, 11:09:40 AM] [KNX] Preparing Service: 0 of type Lightbulb
[10/6/2016, 11:09:40 AM] [KNX] [Wasruimte Lamp plafond]:Lightbulb on/off characteristic enabled
[10/6/2016, 11:09:40 AM] [KNX] knx registering BOOLEAN 0/1/101
[10/6/2016, 11:09:40 AM] [KNX] [Wasruimte Lamp plafond]:[On]: Issuing read requests on the KNX bus...
[10/6/2016, 11:09:40 AM] [KNX] [knxdevice:knxread] preparing knx request for 0/1/101
And 3 should be 13 in this case:
[10/6/2016, 11:09:40 AM] [KNX] Initializing platform accessory 'Hal Lamp plafond Hal'...
[10/6/2016, 11:09:40 AM] [KNX] Preparing Services: 1
[10/6/2016, 11:09:40 AM] [KNX] Preparing Service: 0 of type Lightbulb
[10/6/2016, 11:09:40 AM] [KNX] [Hal Lamp plafond Hal]:Lightbulb on/off characteristic enabled
[10/6/2016, 11:09:40 AM] [KNX] knx registering BOOLEAN 3/1/101
[10/6/2016, 11:09:40 AM] [KNX] [Hal Lamp plafond Hal]:[On]: Issuing read requests on the KNX bus...
[10/6/2016, 11:09:40 AM] [KNX] [knxdevice:knxread] preparing knx request for 3/1/101
It definately seems that the registration of the listeners is not working well. But it is remarkable that the truncation in the feedback only occurs after the first double digit registration. It happens that the first has a brightness also, but, even before that, I have switched lights with a brightness in main group 5/, and they work perfectly. So I am guessing it has to do with the double digit that breaks something?
from homebridge-knx.
Really strange, can you post the corresponding excerpts from your config.json?
from homebridge-knx.
I did not yet find any mistakes in the code, but I keep looking for it...
from homebridge-knx.
Sure :
,{ "name": "Tuin voor", "services": [ { "name": "Voordeur" ,"type": "Lightbulb" ,"On": {"Set": "17/1/0","Listen": "17/1/100"} } ,{ "name": "Voordeur %" ,"type": "Lightbulb" ,"Brightness": {"Set": "17/1/12","Listen": "17/1/111"} } ] } ,{ "name": "Wasruimte Lamp plafond", "services": [ { "name": "Lamp plafond" ,"type": "Lightbulb" ,"On": {"Set": "10/1/1","Listen": "10/1/101"} } ] } ,{ "name": "Hal Lamp plafond Hal", "services": [ { "name": "Lamp plafond Hal" ,"type": "Lightbulb" ,"On": {"Set": "13/1/1","Listen": "13/1/101"} } ] }
I now see, that all status replies come into the homebridge.log. But the applications (Homekit, Elgato etc) do not recieve an update. So where only 17/ came into the homebridge.log, now all items come into the homebridge.log. Still, all groups below 10/ work flawlessly.
Can you confirm by creating a group locally in/above 10?
There is one exception, which is that I see packet loss now and then when there are multiple commands in a short time, between homebridge and the apps. But thats another issue, possibly to do with either UDP connections, or the amount of message handlers. I'll gather info on that and put in a separate thread.
from homebridge-knx.
Ok, hold on....I had an emtpy temperature in the json almost at the end:
,{ "name": " Temperatuur", "services": [ { "name": "Temp " ,"type": "TemperatureSensor" ,"CurrentTemperature": { "Listen": "//" } } ] }
This breaks the config, but only for groups 10 and higher. Filling out a non-existing 31/1/1 listener fixes them, and filling in // breaks it again.
However, Group 10 and 13 now work, but group 17 still does not work. I will investigate if it's from group 15 (the old limit for main groups), of from group 13 (The normal filtering of KNX-IP routers)
from homebridge-knx.
Yes, I can confirm it's group 16/ and 17/ that do not work. 15/ and below works.
They do not appear in the homebridge.log, so this is no bug of homebridge-knx.
To trace it down, I looked into the knxtool busmonitor, and there the 16/ commands and replies do show up. So knxd does get them. It seems that homebridge doesn't get the groups above 15. It could be that the connection is capped to 15/ by default.
So this is probably due to either the homebridge connection to knxd, or due to it's internal handling of the data. Should I take this up with the homebridge project? Or is there a setting that can be added to the connection properties that you know of?
Sorry to open an issue on homebridge-knx... it sure looked like the issue to be in there, but it's not!
from homebridge-knx.
Hi I didn't find anything in my code either. I think it is located at node-eibd in https://github.com/andreek/node-eibd/blob/master/lib/parser.js#L40 where the received telegram is decoded, I think it is only using the old addressing ranges. You might open an issue at André's project.
from homebridge-knx.
That has been fixed in node-eibd v.0.3.6
from homebridge-knx.
Related Issues (20)
- Neuer KNXSceneSelectorSwitch Handler AddIn HOT 3
- no status update on HomeKit HOT 2
- Humidity (9.007) shows wrong in Home.app HOT 4
- Controlling window covering without current and target position information
- ADDIN without reaction HOT 2
- HomeKit Sensor Status HOT 2
- strange issue with Siri voice command. HOT 1
- Question: Possibility to use KNX Address/UUID as Serialnumber HOT 1
- Question: Thermostat - How to red current temperature value with 0.1 degrees step? HOT 2
- Save the state of some lights HOT 1
- Group Address Level-2
- Question: Temperature is updated on start-up only
- How to configure devices for specific rooms HOT 4
- Lastest version of this plugin (0.3.27) can only run on an old version of homebridge >=0.4.28 <= 0.4.53 and Node 10 HOT 1
- GarageDoorOpenerAdvanced Rückmeldung Kontakt funktioniert nicht richtig HOT 12
- Homebridge Crash (AssertionError) after upgrading to v0.4.3 HOT 10
- v0.4.3 Status Jalousien HOT 5
- TypeError: Cannot read properties of undefined (reading 'knxd') HOT 1
- Deleted Property "MinValue" still throws errors after deleting/updating JSON-file. HOT 1
- KNX Typescript support
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-knx.