Sign in   |  Join   |  Help

Custom Http in Beoliving Intelligence

rated by 0 users
Not Answered This post has 0 verified answers | 4 Replies | 4 Followers

nokhai
Not Ranked
6 Posts
OFFLINE
Bronze Member
nokhai posted on Sat, Jan 18 2020 7:23 AM

Dear all,

 

I am new here at this forum. I have a question and hope somebody can help me out.

I want to fire a roller switch (shelly 2.5) from an virtual button.

The Http request work if i fire it directly from a web browser, it looks like this:

http://192.168.1.3/roller/0?go=open

Some how i can't get it working from the Custom HTTP Driver.

If i put the complete line in the Pol field it does communicate with the roller cosr every 60 seconds. so the command can be fired by the beoliving intelligence.

 

What would be the right syntax for the adress value with the put command in the resources setup?

Hope someone can help me out.

Thanks in advanced.

All Replies

Khimo Support
Top 500 Contributor
175 Posts
OFFLINE
Bronze Member

Hi nokhai,

You should configure the base URL for the Custom HTTP driver as the main IP, and configure the resources for performing the actions.

In your example, you can enter the following configuration:

Base URL: http://192.168.1.3

Add a resource of type POST, give it a meaningful name (e.g. "Open") and set the address as /roller/0?go=open

Best regards,

the Khimo team.-

nokhai
Not Ranked
6 Posts
OFFLINE
Bronze Member
nokhai replied on Tue, Jan 21 2020 7:12 AM

Dear Khimo Team,

 

Thank you very much. I have tried it and it works perfect.

With this Custom HTTP command i am now able to control a shelly 2.5 device in roller mode.

So now beside the Shelly 4 the Beoliving Intelligence also can have the 2.5 in the list.

Is there also a way to execute custom strings based on CMD commands?

For example a WOL command for a PC which runs Kodi?

 

Thanks again. It is really great to see devices work with the Intelligence!.

 

--- Nokhai ---

Khimo Support
Top 500 Contributor
175 Posts
OFFLINE
Bronze Member

Hi nokhai,

There is actually a Custom Strings driver, which can send custom commands and receive custom events via TCP or 232.

More information can be found here: https://khimo.github.io/help_drivers/Custom_strings/

 

Best regards,

the Khimo team.-

nokhai
Not Ranked
6 Posts
OFFLINE
Bronze Member
nokhai replied on Wed, Jan 22 2020 3:48 PM

Hi Khimo Team,

 

Thanks you for the reply. I will have a look into it and try out some things.

Is there nay development on new drivers with regards to Doorbells, alarm systems etc.

Beside the ones which are available currently in the Pro section of the external drivers?

 

regards.

Nokhai.

Page 1 of 1 (5 items) | RSS
Beoworld Security Certificate

SSL