0

Comfortclick API to get data from other applications

Fernando Castellar 2 years ago in Devices / Http updated by Ricardo Pinto | visiontech.pt 2 years ago 5

Hello! I'm learning to use Http devices to send data to an API, but I need to do the opposite. I mean, I press a button in an external application, and I need it to send a command to ComfortClick. Is there any URL in comfortclick to get json data, or text data?

Thank you! 

Hello,


The URL to parse the data should be the one from the sender API (your external application), unless it goes through a cloud service (it would be then the one from the cloud service).


Regards,

+1

Hi,

You can set and get values from Comfortclick with the RPC implementation. Would it be useful for you?

It's been available since version 3.0.61

"New JSON RPC Service for controlling the bOS from other systems".

Check it here, in the RPC Service (beta):

https://www.comfortclick.com/BOS/KnowledgeBase/RPC


Best regards

+1

Hello, Ricardo

That's just what I was looking for, I didn't read before. Thank you!!

I can make it work on the server (using the url "http://localhost:81"), but I'm not able to use it from any other computer (even if it's in the same LAN, using the url "http://192.168.1.51:81"). Do you know why could it be?

Thank you very much!

+1

Oh, was the firewall. Sorry!!

Everything works ok

Thank you! Was just what I needed!

Hello Fernando,


You're welcome, glad I could help!


Best regards