I’m not desperate, but it would be reeeaally nice being able to also write to the device.
i think putting effort in a OH2-Binding would be better for the OH community so that’s what i’d prioritise. but since i’m only a user (and at that not very good as this thread shows) i don’t think that i’m in a position to prioritise anything
UPDATE: after clearing the modbus conf (via karaf) AND reboot i’m back with the “old error”.
time to go to bed, i’ll try again the next days…
original post:
now i changed it back to the original setup and have a new error…
2017-05-14 22:28:27.644 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - connect try 1/3 error: open port failed: Modbus Serial Master. Connection SerialConnection@cc4821[portName=/dev/ttyAMA0,port=<null>]. Endpoint ModbusSerialSlaveEndpoint@1ed0df6[portName=/dev/ttyAMA0]
2017-05-14 22:28:44.902 [WARN ] [g.dispatch.internal.ConfigDispatcher] - Could not parse line 's'
what is line s?!
on this line i added only “:150” at the end and nothing else.
Okeydoke, take another look at the documentation with a view that you only have to add the interTransactionDelayMillis to the lines with connection
Those are the lines that specify the serial connection parameters
i did just that, didn’t touch the other lines. just like i mentioned in the post above…
strangest things happen here. i’ll be in touch as soon as i have some spare time
It seems that you are using nonstandard serial port. See tips on serial binding docs for the help how make opehab work with ttyAMA0. With openHAB2, you can edit the openHAB java options using /etc/default/openhab2 file, and adding the following (or editing the existing EXTRA_JAVA_OPTS line)
If you check the github issue opened by @rossko57 you can see it’s still open. This means that writing 32bit values with single modbus request is not possible using the binding.
However, I invite you to try out the new binding for openHAB2:
The new version supports 32bit writes out of the box, among other things.
i probably should deactivate the 1.x addon before, right?
could i count on your support with my config? (as this thread shows perfectly i’m an absolute beginner!)
I have also a Drexel & Weiss machine. I recently bought the modbus adapter and I am struggling to intrgrate it to my software, not openhab. Could you share with me the config of your modbus for the RBG and for your software?
hey there! i’m probably late - very late…
setup on drexel weiss was not done by me, if you tell me which settings you need i’d be happy to help you out.
setup of “my software”? not sure what you mean. i bought a “Serial Pi Plus” and configured it with openhabian on my pi. the rest is done in openHAB