Homewizard control from Vera (http) help?

Im ? new user of the Vera lite box.

I figured out how to control homewizard with luup via Vera.

But i cant get the luup code on/off into ? button.

Luup code:

function homewizardSwitch(nummer,status)
local http = require(“socket.http”)
http.TIMEOUT = 5
http.request(“http://192.168.178.29/password/sw/“..nummer..”/“..status..””)
end

–homewizardSwitch(5,“off”) **command to Switch off/on

Who can help me?

Ok no. wil have managed to make a scene, to control my homewizard by single actions like :

HomewizardSwitch(5,“off”)

This is working ok.

But now I would-be like to make a (virtual) device, wich can switch both actions “on” and “off” from the scenes ive created. Is This possible?

Thnx

Yes, it’s possible. There is a learning curve for you. You’ll need a mix of the following skills:

[ul][li]Find and understand existing working examples. I recommend the Virtual Switch as a starting point. Install the plugin and look at the plugin files it adds to your Vera.[/li]
[li]Read the wiki documentation and figure out which of it is still correct.[/li]
[li]Persevere when you get stuck, and know when to ask for help on the forum.[/li][/ul]

[quote=“futzle, post:3, topic:179840”]Yes, it’s possible. There is a learning curve for you. You’ll need a mix of the following skills:

[ul][li]Find and understand existing working examples. I recommend the Virtual Switch as a starting point. Install the plugin and look at the plugin files it adds to your Vera.[/li]
[li]Read the wiki documentation and figure out which of it is still correct.[/li]
[li]Persevere when you get stuck, and know when to ask for help on the forum.[/li][/ul][/quote]

Yes its a learning curve :slight_smile: I know.
I got it working already :slight_smile:

I managed to ad a trigger to the “virtual” switch so now i can turn light off and on. lower my screens … etc

Now im trying to find a way to make a slider to use my kaku dimmers ?

and thnx for the extra information. Lots to learn and lots to read…