Comments (7)
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.
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.
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.
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.
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.
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.
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)
- GarageDoorOpenerItem.js
- openHAB switch cannot be set as HomeKit motion sensor
- RollershutterItem.js not found
- periodic polling for changes in sitemap/items? HOT 2
- Fahrenheit double calculated HOT 1
- Feature Request: New Item Types - Battery, Door Lock HOT 1
- Support for shades/blinds/Rollershutters HOT 4
- Automatic Connection to OpenHAB after Start HOT 1
- contact for information
- Shutter with wrong direction HOT 1
- Module isnt starting
- OpenHAB with username/password HOT 5
- Openhab loading 0 accessory HOT 9
- Thermostat item No Response
- GarageDoorOpenerItem config.json example
- Negative values
- Fan item speed
- config.json customAttrs not recognized
- Error when running homebridge
- Devices do not update unless I open Home app
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-openhab.