Jump to content

Newbie question


Recommended Posts

Posted

Hi:

 

I am fairly new to isy and have what to me seems like a simple question.

 

I have the isy set up and controlling many devices. At the same time I have Homeseer running mainly for some legacy purposes and

for some easy Graphical user interface.

 

I would like to have isy send the following JSON to Homeseer 

 http://192.168.1.218/JSON?request=controldevicebyvalue&ref=4608&value=100

 

what modules if any do I need to get for this to be able to be done?

and exactly how would I go about doing this?

 

Thanks in advance for any advice.

 

 

 

Posted

@zsima You would need the Network Resources module. This is simply an enable code from UDI after purchase via inside your Admin Console.

Here is a screen shot of one I use using variables to insert values into the header.

301030672_MagicHomeNR.jpg.a76e2b364e23333341221a0e538d83ac.jpg

Posted

Welcome to the UDI forums zsima!

To follow Larry's advice above... you buy the Network Module by going to the help/purchase modules menu option in the Admin Console

Paul

Posted

Thank you both for your replies

Larry, if you do not mind can you show me a screenshot  how my example of 

 http://192.168.1.218/JSON?request=controldevicebyvalue&ref=4608&value=100

would be entered into network resiurces?

Posted
1 hour ago, zsima said:

Thank you both for your replies

Larry, if you do not mind can you show me a screenshot  how my example of 

 http://192.168.1.218/JSON?request=controldevicebyvalue&ref=4608&value=100

would be entered into network resiurces?

This is just a guess as there are many ways to create NRs, dependant on the protocol requirements at the server end, but....

560556421_JSONNRguess.thumb.jpg.6f41cdde96b0d6eef1bfc96423a13e82.jpg

Posted

Larry

 

 

Thank you very much for your reply, 

Is there any detailed documentation as to how to use network resources?

I am able to copy your screen as far sas Host, port, path is concerned but when I try use ADD I am given a list of choices and am not sure how to get the exact details correct.

 

The documentation in the Wikki pages are all  pretty sparse.

Posted
5 minutes ago, zsima said:

Larry

 

 

Thank you very much for your reply, 

Is there any detailed documentation as to how to use network resources?

I am able to copy your screen as far sas Host, port, path is concerned but when I try use ADD I am given a list of choices and am not sure how to get the exact details correct.

 

The documentation in the Wikki pages are all  pretty sparse.

It's been a while since I have created a NR. I don't know of any better instructions. I don't remember seeing any list of choices.

The Add button is to create a new NR and then you need to edit the pseudo name for it.  After you would  d.click on the right side of the chart to edit the parameters on the page, I have been showing the screenshots of. When you are done you MUST save the NR before it is actually installed, and before you can test the NR.

Briefly GET is the most common style of call where all the information is contained in the URL line. POST is where the information is installed in the chart below and cannot be seen in the URL by prying eyes. This is dependant on what the device demands to communicate. Success can be measured by the response shown, whether N/A or OK, etc., and whether the device does something. ISY cannot decode and interpret complex responses some equipment would respond with.

I cannot help you much more than the above. Perhaps somebody else can join in here with more knowledge of NR's and/or Homeseer protocol style.

Posted

Larry

 

thank you for all your help.

If anyone can help with detailed instructions as to how to get NR to send a JSON. command to Homeseer I would really appreciate it.

Larry as per attached screenshot , I got as far as creating the new NR , what I was referring to was after the NR is created I am not sure how to get the request into the header section.

 

g1.PNG

Posted

Its likely a post and not a get. If so, don't put the actual request in the path. It will go in the body below. Here's an example of one that posts json to a service. You probably don't need SNI checked on your local server.. not sure if HS added that or not.

image.thumb.png.ea8a87ab5b8dc547d174c129722168c3.png

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.5k
×
×
  • Create New...