-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add UPB binding to OH2 #4811
Comments
My full name is Chris Van Orman and, yes, you may use it. |
@cvanorman just want to thank you again for the binding. Today I successfully set up dummy links to control OH switch states that aren't actually devices. |
I have a branch ready to add the binding to OH2. Only thing left afaik is @cvanorman's preference on author attribution. |
@watou if the binding will be mapped to any "things," remeber that there are two types: devices and links.
|
OK! Thanks Chris! |
No Things in OH1 bindings! |
Signed-off-by: John Cocula <john@cocula.com>
Thank you! |
I am stuck. I decided to upgrade to OpenHab 2.0 because of the myopenhab change and the future with direct communication with Amazon Alexa. I used the Openhabian image so I headless using Karaf which I am not that familiar. The problem is with the UPB binding or the new image communication with the USB port or the binding. The owfs.config is using /dev/ttyUSB0 and so is the upb.cfg file. [08:19:51] pi@openHABianPi:~$ sudo lsusb I can get figure out where the logs are stored but I took a screen shot of the log. Someone help…… |
@gmoneyman: Do you see your device ls -l /dev What are its ownership and permissions? Could you paste your upb.cfg file here exactly as it is on disk? |
No, it is not. The ttyS0 is there and I tried with that in my upb.cfg file
and it did not work.
[image: Inline image 1]
The upb.cfg reads:
port=/dev/ttyUSB0
network=17
…On Tue, Dec 20, 2016 at 10:39 AM, John Cocula ***@***.***> wrote:
@gmoneyman <https://github.com/gmoneyman>: Do you see your device
/dev/ttyUSB0 in a directory listing?
ls -l /dev
What are its ownership and permissions? Could you paste your upb.cfg file
here exactly as it is on disk?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4811 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARhO42Ixh1X12mWhMr4JabIorGeoA6Crks5rJ_bJgaJpZM4K63AX>
.
|
This sounds related to my issue in #4814. I could not get the OH2 binding to see any configuration or connect to the right serial port, resulting in an error. |
You must first make sure you have the device name for a working serial port on your machine that is connected to your hardware before the binding will be able to work with it. There might be other forums or maybe https://community.openhab.org that can help with that part. |
Signed-off-by: John Cocula <john@cocula.com>
The UPB binding has been shown to work properly under openHAB 2 (by @DaAwesomeP). So it should be added.
See https://github.com/openhab/openhab2-addons/issues/1461
It can be configured with
refresh
(optional),port
andnetwork
.@cvanorman May I use your real name on the UPB binding in openHAB 2 (if so, what is it?), or would you prefer to have no author credit at all (the only two options)?
The text was updated successfully, but these errors were encountered: