Git Product home page Git Product logo

Comments (7)

jdwhite avatar jdwhite commented on August 23, 2024

I also got this error with the widget name of space, and also got errors for every Frame and Group name in my sitemap. The homebridge-openHAB parser seems to have difficulty with items that are defined inside Frame {} or Group {} blocks, which for me is everything. Homebridge wasn't seeing any of my 30+ items. My solution was pull out all the items from my default sitemap and make a homebridge.sitemap file that just contained the items without any framing or grouping.

from homebridge-openhab.

walmer-bolfet avatar walmer-bolfet commented on August 23, 2024

Thanks,

That approach would seem to render the OpenHab interface useless. Am I wrong on that, or is it possible to use 2 sitemaps with openhab? I still have very much on OpenHab that will never be used with Homebridge.

BTW - I think I found a work-around by using the Homebridge-AppleScript add-on to execute my bash scripts instead of trying to get them executed through OpenHab.

from homebridge-openhab.

jdwhite avatar jdwhite commented on August 23, 2024

Useless? Not at all. OpenHAB supports multiple sitemaps, the default being default.sitemap. You might use multiple sitemaps for different buildings (sites), or have a sitemap for testing. Or, in my case, a sitemap that I tell Homebridge to use. See the OpenHAB docs on how to specify alternate sitemaps. The only (minor) annoyance is having to touch two files (one for OpenHAB web/app interface, one for Homebridge) when I add items to OpenHAB, but that's minor price to pay for having HomeKit integration.

from homebridge-openhab.

snizzleorg avatar snizzleorg commented on August 23, 2024

Indeed homekitbridge only supports a flat sitemap. so an additional sitemap has to be created. Which makes perfect sense given that openhab can do a lot more than homekitbridge (at least at the moment)

from homebridge-openhab.

tommasomarchionni avatar tommasomarchionni commented on August 23, 2024

Now from this version (0.1.21) the plugin supports every type of sitemap. I have added a new option "skipItem" in customAttr to avoid load item in Homekit catalog, let me know if it works.

from homebridge-openhab.

mblong avatar mblong commented on August 23, 2024

Initially none of the items from my default openHAB sitemap were recognized. With this update, basically all were added to the iOS apps, even though I had not entered their characteristics in config.json.

from homebridge-openhab.

tommasomarchionni avatar tommasomarchionni commented on August 23, 2024

Yes! All the items of the selected sitemap are loaded by default. If you want to skip an item You should add the item's name and the relative skipItem attribute to true in customAttr section.

from homebridge-openhab.

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.