• Professional advice
  • Order before 16.30 uur shipped today
  • Almost always available (+31 73 762 0 762)
  • Monday open late

Control Plugwise modules schakelen from a HC2

Control Plugwise from Home center 2 | How to make a connection

(Plugwise integration met Z-wave)

Thanks to Leo

Plugwise zwave koppeling via Home Center 2

A ROBBshop customer (Leo) has made a virtual device in the Home Center 2 and from there he can control plugwise devices, via the stretch controller. Here's how he did it/

 

- In your browser find the  appliances_id of the module you want to control
- http://192.168.xxx.xxx/minirest/appliances
- Login code on the stretch the pasword is displayed on the sticker of the stretch
- Create a virtual device int he FIBARO (2 buttons)
- Enter the IP-adres and poort number of the stretch

 

Plugwise zwave koppeling via Home Center 2

Now choose 2 buttons (on and off):

Plugwise zwave koppeling via Home Center 2

add set.

  

Lua code for button 1. 

plugwise = Net.FHttp("192.168.xxx.xxx", 80)
plugwise:setBasicAuthentication("stretch", "stretch_id")
response = plugwise:POST("/minirest/appliances;id=bd137ae5b42440888a8ff0c2b5401d78/power_state=on", "\n\r")
fibaro:log(response)

 

Lua code for button 2.

plugwise = Net.FHttp("192.168.xxx.xxx", 80)
plugwise:setBasicAuthentication("stretch", "stretch_id")
response = plugwise:POST("/minirest/appliances;id=bd137ae5b42440888a8ff0c2b5401d78/power_state=off", "\n\r")
fibaro:log(response) 

 

Plugwise zwave koppeling via Home Center 2

There are no products matching the selection.

 
Customer Service Phone

+31737620762
mon-fri: 10am-5pm and sat 10am-3pm

 
Adress

Gerstakker 16 5236 VG Empel Netherlands

Google maps