Comments (10)
Hi,
You know what, I completely forgot to reply to you on this one. Please accept my apologies!
The list of values is:
MIHO002 - "legacy"
MIHO004 - "monitor"
MIHO005 - "control"
MIHO006 - "house"
MIHO007 - "socket" (as well as all metallic variants)
MIHO008 - "light" (as well as all metallic variants)
MIHO009 - "double_light" (as well as all metallic variants)
MIHO010 - "dimmer" (as well as all metallic variants)
MIHO013 - "etrv"
MIHO014 - "relay"
MIHO015 - "relay"
MIHO032 - "motion"
MIHO033 - "open"
MIHO069 - "thermostat"
MIHO089 - "clicker"
MIHO109 - "wifiplug"
ENER010 - "fourgang"
I've got a bit of work to update for Homebridge v1 so I'll try adding these in at the same time.
Thanks,
James
from homebridge-mihomegateway.
from homebridge-mihomegateway.
Sorry it took so long to reply, but have just uploaded to the latest version (fresh install) and the sockets worked straight away. Fantastic thank you @jamesrodda
from homebridge-mihomegateway.
Sorry about the delay in getting back to you!
Should just be a case of adding it to the switch statement. Do you know what the device_type
is for plugs? Sockets work the same as switches so shouldn't be any other changes required.
from homebridge-mihomegateway.
Sorry about the delay in getting back to you!
Should just be a case of adding it to the switch statement. Do you know what the
device_type
is for plugs? Sockets work the same as switches so shouldn't be any other changes required.
I donβt know how to find out but would check if you can point me in the direction of how to
from homebridge-mihomegateway.
I'll drop the MiHome guys an email. They should be able to provide the enum values.
from homebridge-mihomegateway.
@coalfield I don't actually own one of the sockets - what functionality do they provide? Are they just the same as switches with on/off? If so, it should be trivial to add them in?
from homebridge-mihomegateway.
Hi,
yeah just on/off function, I can see my sockets and multiplugs in HomeKit but shows as not supported. Would be great to have them functional, thanks for this plugin works really well.
Regards
Gary
from homebridge-mihomegateway.
@coalfield I don't actually own one of the sockets - what functionality do they provide? Are they just the same as switches with on/off? If so, it should be trivial to add them in?
Sorry missed this, yeah they are simply on off. However I believe they do not store the position (on or off), so the app does this) which may make it a little tricker. i.e. you cannot call the current state.
from homebridge-mihomegateway.
Thanks @Gazza132 & @coalfield. I've added "socket" as a controllable device type in v2.3.0. Can you give it a go and let me know how you get on?
@coalfield The lack of state is a known issue with the API. I've asked Energenie for advice, just waiting on a response from them (discussion here: #9)
from homebridge-mihomegateway.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-mihomegateway.