Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme.md - Outdated paragraph "Binding Configuration" #5

Closed
coeing opened this issue Jun 15, 2020 · 5 comments · Fixed by #31
Closed

Readme.md - Outdated paragraph "Binding Configuration" #5

coeing opened this issue Jun 15, 2020 · 5 comments · Fixed by #31
Assignees
Labels
bug Something isn't working
Milestone

Comments

@coeing
Copy link
Collaborator

coeing commented Jun 15, 2020

From the Readme.md:

Bosch IDs for devices are displayed in the OpenHab log on bootup.

Bridge boschshc:shc:1 [ ipAddress="192.168.x.y" ] {
  Thing in-wall-switch bathroom "Bathroom" [ id="hdm:HomeMaticIP:3014F711A000XXXXXXXXXXXX" ]
  Thing in-wall-switch bedroom "Bedroom" [ id="hdm:HomeMaticIP:3014F711A000XXXXXXXXXXXX" ]
  Thing in-wall-switch kitchen "Kitchen" [ id="hdm:HomeMaticIP:3014F711A000XXXXXXXXXXXX" ]
  Thing in-wall-switch corridor "Corridor" [ id="hdm:HomeMaticIP:3014F711A000XXXXXXXXXXXX" ]
  Thing in-wall-switch livingroom "Living Room" [ id="hdm:HomeMaticIP:3014F711A000XXXXXXXXXXXX" ]

  Thing in-wall-switch coffeemachine "Coffee Machine" [ id="hdm:HomeMaticIP:3014F711A0000XXXXXXXXXXXX" ]

  Thing twinguard      tg-corridor    "Twinguard Smoke Detector" [ id="hdm:ZigBee:000d6f000XXXXXXX" ]
  Thing window-contact window-kitchen "Window Kitchen"           [ id="hdm:HomeMaticIP:3014F711A00000XXXXXXXXXX" ]
  Thing window-contact entrance       "Entrance door"            [ id="hdm:HomeMaticIP:3014F711A00000XXXXXXXXXX" ]

  Thing motion-detector  motion-corridor "Bewegungsmelder"      [ id="hdm:ZigBee:000d6f000XXXXXXX" ]
}

Not sure about this, but in my openHAB log the logs look like this:

2020-06-15 18:18:39.788 [WARN ] [chshc.internal.BoschSHCBridgeHandler] - Found device: name=Rollladen id=hdm:HomeMaticIP:3014F711A00018D6D859A52C
2020-06-15 18:18:39.790 [WARN ] [chshc.internal.BoschSHCBridgeHandler] - Found device: name=-RoomClimateControl- id=roomClimateControl_hz_6
2020-06-15 18:18:39.791 [WARN ] [chshc.internal.BoschSHCBridgeHandler] - Found device: name=Rollladen id=hdm:HomeMaticIP:3014F711A00018D6D859A3C4
2020-06-15 18:18:39.792 [WARN ] [chshc.internal.BoschSHCBridgeHandler] - Found device: name=Central Heating id=hdm:ICom:819410185
@coeing coeing added the bug Something isn't working label Jun 15, 2020
@coeing
Copy link
Collaborator Author

coeing commented Jun 15, 2020

In any case the log file in which to find the logs should be written down, there are multiple (probably it's the main log at ${OPENHAB_USERDATA}/logs/openhab.log?)

@GerdZanker
Copy link
Collaborator

My small input

  • it was confusing to read about "Binding Configuration" but need to enter the content into a *.things file.
  • same for the "Thing configuration" which has to go into a *.items file

and it would be great if the openHAB log output could be copied & pasted into the *.things file, but currently the name and the ID are not surrounded by "".

@stefan-kaestle
Copy link
Owner

I guess eventually, this should be done by the auto discovery. People will struggle if they need to dig in the logs :-)

@meyouandi
Copy link

Hi,
I tried it out. Following this thread it was even for me (novice) possible to use the ID's from the logs to add my things.
Thanks for your work. Of course auto discovery would be great and would ease the use.
Thanks for your great work!

@coeing
Copy link
Collaborator Author

coeing commented Aug 11, 2020

Alright, to close this issue I will update the Readme.md to reflect the current way to add devices by looking into the openHAB log. For the auto discovery feature I added a new issue #27 We can implement that feature after the first release.

@coeing coeing self-assigned this Aug 11, 2020
@coeing coeing mentioned this issue Aug 11, 2020
@coeing coeing linked a pull request Aug 11, 2020 that will close this issue
coeing added a commit that referenced this issue Aug 11, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
@coeing coeing added this to the 1.0 milestone Aug 11, 2020
coeing added a commit that referenced this issue Aug 14, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
@coeing coeing closed this as completed Aug 14, 2020
coeing added a commit that referenced this issue Aug 31, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Aug 31, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Sep 21, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 1, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Oct 22, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
coeing added a commit that referenced this issue Nov 18, 2020
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
GerdZanker pushed a commit that referenced this issue Jan 7, 2021
…e binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants