MiHome (Connect) Latest Version v1.0.4 - Updated 25/02/2016 17:30 MiHome eTRV Latest Version v1.1.2b - Updated 28/10/2016 22:40
Donations
This integration is provided completely free of charge and is open source. If however you really feel like it, you can make a donation here
Known Issues
**- The MiHome Connect SmartApp will only detect eTRV devices and not other device types from MiHome. This is just because I only have eTRV devices to test with. Would be straight forward to extend to other MiHome devices.
I invested in some of these radiator valves from MiHome and found a published API for the MiHome platform that I wanted to hook into SmartThings. The Connect app will take your MiHome credentials and detect and create eTRV devices. You can then monitor temperature and set valve temperatures for individual radiator valves from SmartThings. Let me know what you think.
Add the MiHome Connect app from GitHub as a new ‘SmartApp’, select create from code option and paste. Save and Publish.
Add the MiHome eTRV device type from GutHub as a new ‘My Device Types’, select create from code option and paste. Save and Publish.
Add the MiHome Connect app within the ST app from the Marketplace under ‘My Apps’
Add your MiHome credentials (email and password) and select ‘Done’ on top right of app.
Your eTRV devices registered on the MiHome4U mobile app should appear under ‘Things’
I have done exactly as described copied and pasted into a new smart app from code I get the following error.
No signature of method: script1452844566827501756306.metadata() is
applicable for argument types:
(script1452844566827501756306$_run_closure1) values:
[script1452844566827501756306$_run_closure1@60f488df]
Possible solutions: getMetadata(), getState(),
setState(java.lang.Object), metaClass(groovy.lang.Closure)
My plan is to try and connect to and control a MiHome monitor plug.
Hi Tom. This device currently only works with the eTRV radiator valves so it won’t pick up the energy plugs. To get those to work would require some extra coding to the smart app and a new device handler for the plugs.
I think the error you are seeing is caused by putting the MiHome eTRV code into a new smart app rather than a new device handler.
Ok so now that I have the device handler published, what’s
next I can’t see it on my phone or anything. I would suspect that MiHome needs authorising
etc…
I know I don’t have the eTRV but I would like to understand
the process before I start coding etc…
Great that you’ve been working on this, and keen to think about extension to sockets etc as they have some cost effective mains sockets. I assume this still requires their hub to be present?
Well this is an awesome find!!!
The whole reason I started looking into home automation was to control radiator valves remotely. I started with z-wave but the interfaces were difficult for a novice, but the z-wave trv’s were great. Then I found ST that was compatible with my z-wave trv’s…NOPE, only whenI bought the kit did I find out. Bummer.
Then I found cheap trv’s by ‘mihome’ and wondered whether ST would work with them, woo hoo, found this.!!
I will be buying the hub and some trv’s soon.
Please update anyones experience with this - You have made my day, if this works it’s probably the most cost effective way of controlling heating in the UK.
It would be straight forward to do as they have a published API. Just never got round to doing as i don’t have any to test with. I know miHome have different models of smart plugs, which one do you have?
I’ve got some of the basic MIHO002 and one of the MIHO005 which includes energy monitoring. I’d happy send you a MIHO002 if that helps
I’m actually contemplating getting the eTRVs just to work with what you’ve released already, along with Hive. I was contemplating ditching Hive for Nest, but I think it now actually offers more than Nest.
Ive now purchased a couple of the Trvs, and it seems to work ok. I had it duplicate a trv shortly after setting up but I just deleted it from smart things and it hasn’t shown up again yet.
The response times from the TRVs seems to be a bit slow, around 4 or 5 minutes before it opens or closes based on temperature. The temperature also seems to be reading slightly higher than any other smart thing temperature sensors I have in the same room. Though I understand this is down the device itself not your handler. How have you found things?