-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[infokeydinrail] Initial contribution #12125
Conversation
<feature name="org.openhab.binding.infokeydinrail" description="openHAB Add-ons :: Bundles :: infokeydinrail Binding" version="3.3.0.SNAPSHOT"> | ||
<details>This project contains the official add-ons of openHAB</details> | ||
<feature prerequisite="true" dependency="false">wrap</feature> | ||
<bundle start-level="80">mvn:com.pi4j/pi4j-core/1.4</bundle> | ||
<bundle start-level="80">mvn:javax.xml.bind/jaxb-api/2.3.1</bundle> | ||
<bundle start-level="80">mvn:javax.activation/javax.activation-api/1.2.0</bundle> | ||
<bundle start-level="80">wrap:mvn:com.pi4j/pi4j-gpio-extension/1.3</bundle> | ||
<bundle start-level="80">wrap:mvn:org.lastnpe.eea/eea-all/2.2.1</bundle> | ||
</feature> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this one. Remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it and tried to compile again and the result was the same!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove noEmbedDependency.profile
. Why did you add that? It's usually wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thanast look at the MCP23017 binding to see what you should use in the feature.xml and pom.xml. You don't need to include gson in the pom.xml and also should not use commons io preferably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thanast look at the MCP23017 binding to see what you should use in the feature.xml and pom.xml. You don't need to include gson in the pom.xml and also should not use commons io preferably.
I uploaded this project just for your help. It is not in the phase that can be distributed or can be used. Also I would share the devices in the near future for anyone who will be interested. I have search the web also for issues with karaf and pi4j but nothing found. The intrested thing is that exit another binding called org.opehab.binding.mcp23017 that uses exactly the same libraries do compilation completely to my pc. I tried to copy the project rename it and recompile it compiles successfully. I cannot understand what I missing...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thanast look at the MCP23017 binding to see what you should use in the feature.xml and pom.xml. You don't need to include gson in the pom.xml and also should not use commons io preferably.
I uploaded this project just for your help. It is not in the phase that can be distributed or can be used. Also I would share the devices in the near future for anyone who will be interested. I have search the web also for issues with karaf and pi4j but nothing found. The intrested thing is that exit another binding called org.opehab.binding.mcp23017 that uses exactly the same libraries do compilation completely to my pc. I tried to copy the project rename it and recompile it compiles successfully. I cannot understand what I missing...
Thank you Hilbrand greetings to The Netherlands from my wife who is Dutch!
I've added the work-in-progress label to indicatie this binding needs more work before it should be reviewed (missing readme and lots of commented out code, also misses from the bundle pom.xml). |
<parent> | ||
<groupId>org.openhab.addons.bundles</groupId> | ||
<artifactId>org.openhab.addons.reactor.bundles</artifactId> | ||
<version>3.3.0-SNAPSHOT</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<version>3.3.0-SNAPSHOT</version> | |
<version>4.2.0-SNAPSHOT</version> |
@@ -0,0 +1,13 @@ | |||
This content is produced and maintained by the openHAB project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be adapted to the new addon.xml
, the PR to adapt the developer docs is not merged yet, so if you need more details, the corresponding issue is here: openhab/openhab-core#2058
But you can also update your branch and look at another binding's addon.xml
and adapt it to this initial contribution.
@thanast are you able to proceed with this PR? If you abandon this PR, it might be better to close it. |
Unfortunately it looks like we cannot bring this PR to the finish line. After two years of inactivity i close this PR. If there is a need to restart, feel free to re-open or start a new PR. |
Infokey Din Rail Binding
This binding is designed to work with some custom made din rail boards based on chips MCP23017, MCP23008 and MCP3008. Also this binding tries to incomporate ready made solution for easy use of cheap sensors that sold in eBay and other networks.