Author Topic: IP to Serial Control (HTD Lync 6)  (Read 4173 times)

Offline jugernaat

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #30 on: February 04, 2017, 12:19:17 am »
Hey I love the app so far, one thing that would be of great help would be a slider bar for volume so you could create preset volume in a scene, I use my onkyo receiver and HTD system as an alarm clock with pandora and would be awesome to be able to preset the volume! also being able to select a source would be nice as well.this was the last link in my home theater automation so thanks so much for building this!
« Last Edit: February 04, 2017, 08:48:00 am by jugernaat »

Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #31 on: February 04, 2017, 11:37:10 pm »
Hey, i will give it a shot later, I have it working on another plugin so will see.  Keep your finger crossed.

Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #32 on: March 06, 2017, 06:51:27 am »
Hi All,

The files below will let you set volume up by X and down by X,  good luck and yes i am still working on a slider.


Offline sbbcarl

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #33 on: March 06, 2017, 04:55:56 pm »
@Newzwaver - Do you know if the gateway is able to receive commands over HTTP directly?
I am trying to do something similar to this without having to use the local web socket on the gateway it self.

My goal is to be able to port forward the serial gateway to make it web accessible and then send a command to it via a REST API hooked up to ALEXA.

I was able to make one work by using the existing socket (ws://gatewayIP:8000) and send HEX commands to it but looking for a method to send a POST/GET command over HTTP directly and I am curious if you have come across this in your development of this plugin.

Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #34 on: March 07, 2017, 10:14:11 pm »
Hey

The only other control I have tried is a scene, the volume is a little tricky,

local socket = require("socket")
host = "192.168.2.88"
c = assert(socket.connect(host, 10006))
c:settimeout(5)

local sres, serr = c:send(string.char(0x02,0x00,0x01,0x04,0x57,0x5E))-- testing
print("Send:", sres, serr)

local data, rerr = c:receive(300)
luup.log (data)
print ("Receive:", data, rerr)

Be interested in the code if you figure it out.  I am working on Bell TV next.

Offline Bigvs79

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #35 on: March 08, 2017, 11:36:29 pm »
Hi can i have the plugin and instructions too ?
I have mc66 with gswl network component

Offline raghunath

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #36 on: March 18, 2017, 04:13:38 pm »
couple of issues:

1) After installing all the files, setting up the gateway IP, I see 6 zones showing up, but HTD controller keeps showing "device not detected"? And looks like buttons don't work.

2) I have a HTD Lync 12 device? Is that the reason?

3) How can I make it work for 12 zones?

Thanks.

Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #37 on: March 20, 2017, 06:49:00 am »
HI

Yes that is the reason and i also have the plug in for the lync 12, send me your email address and i will send it over, dont post it send it via message.  The lync plugin will create 12 zones.


Offline drewsky

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-2
Re: IP to Serial Control (HTD Lync 6)
« Reply #38 on: April 19, 2017, 12:07:42 am »
Hi,
Just came across this thread because I have am MC-66 and would like to integrate with my VeraPlus. Downloaded the files, followed the instructions to install and voila... it worked. THANK YOU NEWZWAVER!!!

Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #39 on: April 19, 2017, 02:35:24 pm »
No problem I have a few updates coming soon as well so keep an eye.


Offline Newzwaver

  • Full Member
  • ***
  • Posts: 223
  • Karma: +4/-3
Re: IP to Serial Control (HTD Lync 6)
« Reply #40 on: April 30, 2017, 10:41:17 am »
Ok, so I have the feedback from the unit showing the volume on a slider.  All I need is to write some code that uses this to allow the slider to work.  Keep you posted.  If you want the feed back files send me a note.

Offline jugernaat

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #41 on: April 30, 2017, 04:55:19 pm »
Sweet let me know if you need help testing

Offline ojovilla

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +0/-0
Re: IP to Serial Control (HTD Lync 6)
« Reply #42 on: May 01, 2017, 12:35:26 pm »
Ok, so I have the feedback from the unit showing the volume on a slider.  All I need is to write some code that uses this to allow the slider to work.  Keep you posted.  If you want the feed back files send me a note.

Awesome!

Offline drewsky

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-2
Re: IP to Serial Control (HTD Lync 6)
« Reply #43 on: May 02, 2017, 06:05:54 pm »
We're anxiously waiting!  ;D

Offline drewsky

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-2
Re: IP to Serial Control (HTD Lync 6)
« Reply #44 on: May 26, 2017, 07:58:41 pm »
Checking in to see if there are any updates.... :P