Serial connection with Marantz receiver over RS232

331 views
Skip to first unread message

pat...@launoy.be

unread,
Sep 26, 2012, 12:39:36 AM9/26/12
to ope...@googlegroups.com
Hi,
I'm very new to the openHAB platform. I want to use it to fully control my Marantz receiver over RS232.
Can anyone help me with samples or similar configurations ? Any tips and tricks are welcome !
At this stage I'm able to send commands over Coolterm emulator with success.
Commands to send look like : @PWR:0 CR : this is main power toggle. I have the list of all other commands and used it with success on my Windows pc. 
Having a Mac now.
Thanks in advance !
Patrick

bernard Rodriguez

unread,
Sep 14, 2015, 4:51:07 PM9/14/15
to openhab, pat...@launoy.be
I'm using a serial to tcp bridge (20 $ on dx.com ) then i use the tcp ip binding to do that . 
I use Javastript transform to translate the openhab ON command  to @PWR:0 CR (js file in atachment should be moved into the tranform folder of your OH install  ) .
item definition would be :
tcp=">[ON:192.168.0.1:3000:'JS(marantz.js)'], >[OFF:192.168.0.1:3000:'JS(marantz.js)']"
marantz.js
Reply all
Reply to author
Forward
0 new messages