Comments (13)
Currently, I am unaware that this plugin supports that. A pull request is welcome for this.
from homebridge-meross.
Maybe there could be a reference for the power exposure by looking into homebridge-tuya plugin.
Unfortunately i couldnt try it, but the config seems like there is an option to expose the power consumption.
Reference to: https://github.com/iRayanKhan/homebridge-tuya/blob/master/config-example.MD
from homebridge-meross.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from homebridge-meross.
Im not sure if Homekit itself can show power consumptions in the UI. (Can someone please clarify this? Maybe with an Screenshot how the UI will look with an official Homekit enabled Power-Meter?)
I did a few requests with HTTP-Catcher to my Meross MSS310 - i can get all the power consumption with following request. Also i was able to get all the data which is saved in on the device.
Request send to device looking at the current consumption via Meross-App:
{
"payload" : {
"electricity" : {
"channel" : 0
}
},
"header" : {
"messageId" : "MSG-ID",
"method" : "GET",
"from" : "http:\/\/IP-HERE\/config",
"payloadVersion" : 1,
"namespace" : "Appliance.Control.Electricity",
"sign" : "SIGn-ID-HERE",
"triggerSrc" : "iOS",
"timestamp" : TIMESTAMP-HERE
}
}
Response from device:
{
"header": {
"messageId": "MSG-ID",
"namespace": "Appliance.Control.Electricity",
"method": "GETACK",
"payloadVersion": 1,
"from": "/appliance/FROM-ID/publish",
"timestamp": TIMESTAMP,
"timestampMs": 350,
"sign": "SIGN-ID"
},
"payload": {
"electricity": {
"channel": 0,
"current": 1526,
"voltage": 2368,
"power": 253198,
"config": {
"voltageRatio": 188,
"electricityRatio": 100
}
}
}
}
from homebridge-meross.
Im not sure if Homekit itself can show power consumptions in the UI. (Can someone please clarify this? Maybe with an Screenshot how the UI will look with an official Homekit enabled Power-Meter?)
I did a few requests with HTTP-Catcher to my Meross MSS310 - i can get all the power consumption with following request. Also i was able to get all the data which is saved in on the device.Request send to device looking at the current consumption via Meross-App:
{ "payload" : { "electricity" : { "channel" : 0 } }, "header" : { "messageId" : "MSG-ID", "method" : "GET", "from" : "http:\/\/IP-HERE\/config", "payloadVersion" : 1, "namespace" : "Appliance.Control.Electricity", "sign" : "SIGn-ID-HERE", "triggerSrc" : "iOS", "timestamp" : TIMESTAMP-HERE } }
Response from device:
{ "header": { "messageId": "MSG-ID", "namespace": "Appliance.Control.Electricity", "method": "GETACK", "payloadVersion": 1, "from": "/appliance/FROM-ID/publish", "timestamp": TIMESTAMP, "timestampMs": 350, "sign": "SIGN-ID" }, "payload": { "electricity": { "channel": 0, "current": 1526, "voltage": 2368, "power": 253198, "config": { "voltageRatio": 188, "electricityRatio": 100 } } } }
This is possible with HomeKit, because the HomeKit Eve app can show it and use it for scene triggers. https://images-na.ssl-images-amazon.com/images/I/81kpO5zCKPL._AC_SX425_.jpg
from homebridge-meross.
Hi! Yeah, it is possible and very useful. I have updated the plugin and I have lost all my work.
I had changed the get status request into the request who return also the ampere, volt, and power info and I wrote this info into text files.
With nod-red I called every 5 minutes this and always with nod-red I set the info into an MQTT server.
With another plugin (https://github.com/arachnetech/homebridge-mqttthing#readme) I saw all in the Eve App!!
from homebridge-meross.
so, does that mean it is possible for @donavanbecker to add it to a final release of the Homebridge plugin?
from homebridge-meross.
See #151
from homebridge-meross.
I am looking for the same feature, so far I can only see the Smart Plug MSS310 as an "on/off plug" in homekit. I have tried to install this plugin as beta and tried to use force cloud mode, but it can't see the power consumption in homekit or use changes in the consumption for automation scenarios.
Can anybody point me to the right direction here? Is this at all possible with this plugin and homekit? Or would a total custom implementation be required as shown in the node red example above?
from homebridge-meross.
Hi @chris319
You will need to install the Eve HomeKit app, inside this you should find it shows values for power and voltage.
You can use the config to setup a threshold so the 'outlet in use' value is either on or off depending on whether the power is greater than the value you configured. You can use this to setup automations based on whether the outlet is in use depending on the threshold you configured.
Hope this helps,
from homebridge-meross.
Thank you very much @bwp91! I am just getting into the whole home automation topic and there is a lot to learn. With your helpful comment I was now able to expose the plugs to home using your plugins and then also utilize the plugs in 3rd party apps like Eve or Home+ which provide the additional power consumption data to be used in automation scenarios. :-)
from homebridge-meross.
Hey @bwp91
The topic is already a bit older but I use Homebridge yust since this year and stumble only now on it.
Unfortunately, the EVE app does not show consumption values of my MSS310. I can see the plugs in the app, control them and include them in automations.
Only the consumption values I can not use.
Has there been any change in the components since last year that the consumption display in EVE no longer works or do I have to activate this function somewhere separately?
If it matters, my Homebridge is running via Docker on Synology NAS. All software and firmware are up to date.
It would be great if you could give me a tip
from homebridge-meross.
Bump to hatty24's comment - Eve does not show any energy data for meross MSS210P - the meross tool itself on the other hans shows energy consumption properly. Seems like it is a plugin problem
from homebridge-meross.
Related Issues (20)
- MTS200B or any other thermostate device is listed in plugin v10.2.0 config HOT 3
- Multi-Channel Accessory Grouping HOT 8
- Discontinuation of Old Cloud API and Upgrade to New API HOT 1
- Please add mss210p to the native HK devices list HOT 2
- Plugin ignoring Hide From HomeKit in individual settings HOT 2
- Meross MSG200 HOT 1
- Changed switch name in Meross app, not reflected in the plug in HOT 3
- Config entry [singleDevices] has an invalid entry which will be ignored. HOT 1
- Support for MOD150
- Lost support for MSS425F HOT 1
- MTS200 reporting lots of mqtt open/close. Is it a problem? (Homebridge 1.7.0 on Synology NAS 7.2.1 - Plugin 10.3.0) HOT 5
- Plugin (suddenly) has a problem logging in to the API HOT 4
- Error message: mqtt connection closed HOT 5
- Exclude devices option
- Local Control - Separate Networks HOT 1
- Thermostat status is "off" when desired temperature is reached
- Meross gs559a Smoke Alarm - Native HomeKit but not being ignored
- MTS960 Smart Temperature Controller
- Single Switch to show as a Heater device results in blank HomeKit thermostat controls
- Meross hub MSH300HK avec sensor MS100F HOT 3
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-meross.