We have moved at community.getvera.com

Author Topic: Controlling an electric kettle by Z-wave  (Read 12823 times)

Offline biswasg

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
Controlling an electric kettle by Z-wave
« on: December 29, 2013, 01:30:52 am »
I am looking for a solution to switch on an electric kettle either remotely or as per a pre-set schedule. My challenge is that all electric kettles come with a built in on-off switch and auto switch off. I can connect the kettle to the wall plug with a Z-wave switch, but will have to ensure that the kettle's built-in switch is in the on position for it to work. Is there a way to bypass the kettle's on switch but let its auto cout-off still work when the water is boiled?

Offline BulldogLowell

  • Hero Member
  • *****
  • Posts: 1576
  • Karma: +191/-85
Re: Controlling an electric kettle by Z-wave
« Reply #1 on: January 04, 2014, 07:31:52 pm »
I'm not Mr. Safety, but you probably don't want to turn on something like a kettle or a space heater without being in attendance.  Check out all the product issues with these kinds of products on the various consumer protection websites.

Remember, while vera is a solid product, you may inadvertently activate the kettle by a scene that you never intended to trigger.

Offline jtmoore

  • Full Member
  • ***
  • Posts: 171
  • Karma: +2/-1
Re: Controlling an electric kettle by Z-wave
« Reply #2 on: January 04, 2014, 10:37:00 pm »
Maybe something like this?
http://www.firebox.com/product/6068/iKettle
I don't know if it has an API that could interface with Vera.
I was unsuccessful in convincing my wife that we needed a new kettle....  :'(

jtmoore

Offline gdeboos

  • Sr. Newbie
  • *
  • Posts: 25
  • Karma: +1/-0
Re: Controlling an electric kettle by Z-wave
« Reply #3 on: March 12, 2014, 09:50:45 am »
Interesting news:

http://www.automatedhome.co.uk/hack/teacpip-hacking-the-ikettle.html

could be used to integrate this kettle with Vera

Offline cityboy

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: Controlling an electric kettle by Z-wave
« Reply #4 on: July 08, 2014, 03:26:28 pm »
I've created a LUA script to trigger the kettle to boil to 100.

I've added the following LUA in the startup:

Code: [Select]
function boilKettle(command)
local socket = require("socket")
c = assert(socket.connect("10.221.0.29", 2000))
         c:send(command .."\n")
c:close()
end

And then in the Scene

Code: [Select]
boilKettle("set sys output 0x80")
boilKettle("set sys output 0x4")

The first line sets the boil temp to 100C
The second line turns the kettle on.

Other codes can be found here:

http://www.awe.com/mark/blog/20140223.html

Offline mickesanda

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +1/-1
Re: Controlling an electric kettle by Z-wave
« Reply #5 on: November 17, 2014, 03:53:05 am »
I recently purchased an iKettle and would also like the possibility of including it in a scene.
I'm a real n00B when it comes to programming so I need a little guidance:
Did i understand correctly that i insert this code:
function boilKettle(command)
    local socket = require("socket")
    c = assert(socket.connect("10.221.0.29", 2000))
         c:send(command .."\n")
    c:close()
end

like in the picture below? (change IP ofc)

and use this code in a scene to activate the ikettle?
boilKettle("set sys output 0x80")
boilKettle("set sys output 0x4")


How can i find out the IP-address of the iKettle?
How can i remove the code in the startup LUA if this doesn't work?

 
VeraPlus UI7 1.7.4001, RFXTRX, 2 x HarmonyHub, HA-Bridge, 6 x Amazon Echo, Google Home, Fibaro dimmers and switches, Swiid, Ring DoorBell & cameras, Sonos, Yale Doorman, iKettle2.0 & Smarter Coffee, DSC 1616 with EVL3

Offline mickesanda

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +1/-1
Re: Controlling an electric kettle by Z-wave
« Reply #6 on: November 17, 2014, 04:16:32 am »
I figured it out myself, i sent the string "HELLOKETTLE\n" to port 2000 to a few unknown IP's in my home network until one of them answered back with "HELLOAPP\n".
The rest worked just as i wrote in  previous post.
/Mike
« Last Edit: November 17, 2014, 12:24:40 pm by mickesanda »
VeraPlus UI7 1.7.4001, RFXTRX, 2 x HarmonyHub, HA-Bridge, 6 x Amazon Echo, Google Home, Fibaro dimmers and switches, Swiid, Ring DoorBell & cameras, Sonos, Yale Doorman, iKettle2.0 & Smarter Coffee, DSC 1616 with EVL3

Offline casmo

  • Sr. Newbie
  • *
  • Posts: 39
  • Karma: +0/-4
Re: Controlling an electric kettle by Z-wave
« Reply #7 on: November 26, 2014, 10:11:14 am »
Just wondering if anyone is planning on creating a plugin/app for this?

Thanks

Offline jtmoore

  • Full Member
  • ***
  • Posts: 171
  • Karma: +2/-1
Re: Controlling an electric kettle by Z-wave
« Reply #8 on: November 26, 2014, 11:06:33 am »
I just ordered one of these kettles (my wife finally gave me approval  ;) ).
I'd be very interested if the code examples could be made into a plugin. As well as sending commands to the kettle, it would be useful if there was a way to recieve notifications too, that could be used to trigger scenes, e.g. voice announe via Sonos that the kettle is boiled.
jtmoore

Offline casmo

  • Sr. Newbie
  • *
  • Posts: 39
  • Karma: +0/-4
Re: Controlling an electric kettle by Z-wave
« Reply #9 on: November 26, 2014, 11:30:39 am »
Yes, that would be very nice..

Offline mickesanda

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +1/-1
Re: Controlling an electric kettle by Z-wave
« Reply #10 on: November 26, 2014, 05:19:54 pm »
Hi casmo and jtmoore, Why do you need a plugin? It works very well with LUA. You can easily create scenes with LUA and even voice control it with Autovoice and Tasker.
It is already posted in this thread how to do it.
Plz ask if you need additional help on how to set it up.
/mike
VeraPlus UI7 1.7.4001, RFXTRX, 2 x HarmonyHub, HA-Bridge, 6 x Amazon Echo, Google Home, Fibaro dimmers and switches, Swiid, Ring DoorBell & cameras, Sonos, Yale Doorman, iKettle2.0 & Smarter Coffee, DSC 1616 with EVL3

Offline mickesanda

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +1/-1
Re: Controlling an electric kettle by Z-wave
« Reply #11 on: November 28, 2014, 07:10:53 am »
Here are the complete instructions that can be used with LUA and also a series of icons (from Fibaro forum).
I guess it is not very difficult to create a plugin for the iKettle. Maybe someone with the right skills would like to give it a shot.
On: set sys output 0x30x40x0D
Off: set sys output 0x30x00x0D
100 degrees: set sys output 0x30x800x0D
95 degrees: set sys output 0x30x20x0D
80 degrees: set sys output 0x30x40000x0D
65 degrees: set sys output 0x30x2000x0D
Warm: set sys output 0x30x80x0D
5mins: set sys output 0x30x80050x0D
10mins: set sys output 0x30x80100x0D
20mins: set sys output 0x30x80200x0D

Variable: iKettleFB

/Mike
VeraPlus UI7 1.7.4001, RFXTRX, 2 x HarmonyHub, HA-Bridge, 6 x Amazon Echo, Google Home, Fibaro dimmers and switches, Swiid, Ring DoorBell & cameras, Sonos, Yale Doorman, iKettle2.0 & Smarter Coffee, DSC 1616 with EVL3

Offline jtmoore

  • Full Member
  • ***
  • Posts: 171
  • Karma: +2/-1
Re: Controlling an electric kettle by Z-wave
« Reply #12 on: December 01, 2014, 10:55:21 pm »
Mike. Thank you for the commands summary. I'm perfectly happy with that.
I think the only extra (small) value of a plugin is if it could listen for notification when kettle boiled. But I can live without that.


Sent from my iPhone using Tapatalk
jtmoore

Offline mickesanda

  • Jr. Member
  • **
  • Posts: 73
  • Karma: +1/-1
Re: Controlling an electric kettle by Z-wave
« Reply #13 on: December 02, 2014, 12:40:15 am »
You're absolutely right, a plugin would be nice,
I have a confession to make, last week I bought a HC2, I already had a Vera3 and a VeraLite since a year back. I was very happy with my new HC2 when I saw all those nice graphics and the colourful plugins with all the nice icons. And they had an iKettle plugin that changed icons. It all lasted about 24 hours before I realized that all that nice interface is worthless without the community to help you and the wide variety of plugins.

I sent back the HC2 to the reseller the day after.

/Mike
VeraPlus UI7 1.7.4001, RFXTRX, 2 x HarmonyHub, HA-Bridge, 6 x Amazon Echo, Google Home, Fibaro dimmers and switches, Swiid, Ring DoorBell & cameras, Sonos, Yale Doorman, iKettle2.0 & Smarter Coffee, DSC 1616 with EVL3

Offline casmo

  • Sr. Newbie
  • *
  • Posts: 39
  • Karma: +0/-4
Re: Controlling an electric kettle by Z-wave
« Reply #14 on: January 02, 2015, 01:52:55 pm »
Hi,

 Did anyone have any issues with the initial setup of the ikettle? When I get to the final ' your kettle is now being configured' it just hangs at about 10% (iOS app) Tried moving to right beside the router, same thing.. Any help at all would be much appreciated, thanks