Controlling the iKettle
Posted: Fri Apr 15, 2016 8:13 am
I set myself a challenge recently and i'm failing badly, so decided after two days of head scratching that i need some help.
My challenge was to have a button on my control page that turned the Wifi Kettle on - it sounded easy but with no coding knowledge, i just fumbling around in the dark.
So, can anyone help? This is where i've got to so far.
The Kettle is like this one - a mark 1 version. https://www.firebox.com/product/6068/iKettle
I've found loads of information on how to control it here:-
http://www.awe.com/mark/blog/tags/ha
https://github.com/lloydwatkin/ikettle.js
https://libraries.io/npm/ikettle.js/1.0.2
Can anyone help with writing a small python script to switch the kettle on, thats all i need it to do.
I've tried this and various versions of it but can't get anything to work, i'm not sure if i'm doing the right thing, but willing to learn.
TCP_IP = '192.168.0.102
TCP_PORT = 2000
BUFFER_SIZE = 10
INITIATE = "HELLOKETTLE\n"
START = "set sys output 0x4\n"
Help please
Thanks in advance
Martin
My challenge was to have a button on my control page that turned the Wifi Kettle on - it sounded easy but with no coding knowledge, i just fumbling around in the dark.
So, can anyone help? This is where i've got to so far.
The Kettle is like this one - a mark 1 version. https://www.firebox.com/product/6068/iKettle
I've found loads of information on how to control it here:-
http://www.awe.com/mark/blog/tags/ha
https://github.com/lloydwatkin/ikettle.js
https://libraries.io/npm/ikettle.js/1.0.2
Can anyone help with writing a small python script to switch the kettle on, thats all i need it to do.
I've tried this and various versions of it but can't get anything to work, i'm not sure if i'm doing the right thing, but willing to learn.
TCP_IP = '192.168.0.102
TCP_PORT = 2000
BUFFER_SIZE = 10
INITIATE = "HELLOKETTLE\n"
START = "set sys output 0x4\n"
Help please
Thanks in advance
Martin