Sign in   |  Join   |  Help
Untitled Page

ARCHIVED FORUM -- March 2012 to February 2022
READ ONLY FORUM

This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022

 

Custom Http in Beoliving Intelligence

rated by 0 users
This post has 4 Replies | 4 Followers

nokhai
Not Ranked
Posts 6
OFFLINE
Bronze Member
nokhai Posted: 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.

Khimo Support
Top 500 Contributor
Posts 181
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
Posts 6
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
Posts 181
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
Posts 6
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