We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MHO-C401-Z
It is as Bluetooth device with a Custom firmware for Zigbee.
MiaoMiaoCe
MHO-C401-z
Sensor
I copied the ddf file from the Xiaomi MMC MHO-C401 and got the temperature and humidity values via api. However, the following settings are missing:
ClusterID: 0x0204 (Thermostat User Interface Configuration) Attr: 0x0000, ENUM8 (id:0x30). 0 – Celsius, 1- Fahrenheit. Default 0. Attr: 0x0002, ENUM8 (id:0x30). 0 - Show smiley, 1 - Don't show smiley. Default 0. Attr: 0x0100, INT16 (id:0x29), Temperature offset, in 0.01° steps, range: -32767 (-327.67°)..32767(+327.67°). Default 0. Attr: 0x0101, INT16 (id:0x29), Humidity offset, in 0.01% steps, range: -32767 (-327.67%)..32767(+327.67%). Default 0. Attr: 0x0102, INT16 (id:0x29), Comfort temperature minimum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°). Default 2000 (20.00°C). Attr: 0x0103, INT16 (id:0x29), Comfort temperature maximum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°). Default 2500 (25.00°C). Attr: 0x0104, UINT16 (id:0x21), Comfort humidity minimum, in 1% steps, range 0..9999 (0..99.99%). Default 4000 (40.00%). Attr: 0x0105, UINT16 (id:0x21), Comfort humidity maximum, in 1% steps, range 0..9999 (0..99.99%). Default 6000 (60.00%). Attr: 0x0106, ENUM8 (id:0x30), Turn off the display. 1 - Display Off. Default 0 - Display On. Attr: 0x0107, UINT8 (id:0x20), Measurement interval, range: 3..255 seconds. Default 10 seconds.
Source: https://github.com/pvvx/ZigbeeTLc
I am using this ddf: { "schema": "devcap1.schema.json", "manufacturername": "MiaoMiaoCe", "modelid": "MHO-C401N-z", "product": "MHO-C401N-z", "sleeper": false, "status": "Gold", "path": "/devices/mho-c401n-z.json", "subdevices": [ { "type": "$TYPE_TEMPERATURE_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0402" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/lastupdated" }, { "name": "state/temperature", "awake": true, "default": 0 } ] }, { "type": "$TYPE_HUMIDITY_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0405" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/humidity", "awake": true, "default": 0 }, { "name": "state/lastupdated" } ] } ], "bindings": [ { "bind": "unicast", "src.ep": 1, "cl": "0x0001", "report": [ { "at": "0x0021", "dt": "0x20", "min": 3200, "max": 3600, "change": "0x00000002" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0402", "report": [ { "at": "0x0000", "dt": "0x29", "min": 10, "max": 300, "change": "0x0000000A" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0405", "report": [ { "at": "0x0000", "dt": "0x21", "min": 10, "max": 300, "change": "0x00000032" } ] } ] }
{ "schema": "devcap1.schema.json", "manufacturername": "MiaoMiaoCe", "modelid": "MHO-C401N-z", "product": "MHO-C401N-z", "sleeper": false, "status": "Gold", "path": "/devices/mho-c401n-z.json", "subdevices": [ { "type": "$TYPE_TEMPERATURE_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0402" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/lastupdated" }, { "name": "state/temperature", "awake": true, "default": 0 } ] }, { "type": "$TYPE_HUMIDITY_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0405" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/humidity", "awake": true, "default": 0 }, { "name": "state/lastupdated" } ] } ], "bindings": [ { "bind": "unicast", "src.ep": 1, "cl": "0x0001", "report": [ { "at": "0x0021", "dt": "0x20", "min": 3200, "max": 3600, "change": "0x00000002" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0402", "report": [ { "at": "0x0000", "dt": "0x29", "min": 10, "max": 300, "change": "0x0000000A" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0405", "report": [ { "at": "0x0000", "dt": "0x21", "min": 10, "max": 300, "change": "0x00000032" } ] } ] }
The text was updated successfully, but these errors were encountered:
Hi, please add all screenshots.
Sorry, something went wrong.
I hope I have added all missing screenshots.
No branches or pull requests
Is there already an existing issue for this?
Product name
MHO-C401-Z
It is as Bluetooth device with a Custom firmware for Zigbee.
Manufacturer
MiaoMiaoCe
Model identifier
MHO-C401-z
Device type to add
Sensor
Node info
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
Identify Cluster
Poll Control Cluster
Temperature measurement Cluster
Relative humidity measurement Cluster
OTAU Cluster
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest
I copied the ddf file from the Xiaomi MMC MHO-C401 and got the temperature and humidity values via api. However, the following settings are missing:
ClusterID: 0x0204 (Thermostat User Interface Configuration)
Attr: 0x0000, ENUM8 (id:0x30). 0 – Celsius, 1- Fahrenheit. Default 0.
Attr: 0x0002, ENUM8 (id:0x30). 0 - Show smiley, 1 - Don't show smiley. Default 0.
Attr: 0x0100, INT16 (id:0x29), Temperature offset, in 0.01° steps, range: -32767 (-327.67°)..32767(+327.67°). Default 0.
Attr: 0x0101, INT16 (id:0x29), Humidity offset, in 0.01% steps, range: -32767 (-327.67%)..32767(+327.67%). Default 0.
Attr: 0x0102, INT16 (id:0x29), Comfort temperature minimum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°). Default 2000 (20.00°C).
Attr: 0x0103, INT16 (id:0x29), Comfort temperature maximum, in 0.01° steps, range -32767..+32767 (-327.67° ..+327.67°). Default 2500 (25.00°C).
Attr: 0x0104, UINT16 (id:0x21), Comfort humidity minimum, in 1% steps, range 0..9999 (0..99.99%). Default 4000 (40.00%).
Attr: 0x0105, UINT16 (id:0x21), Comfort humidity maximum, in 1% steps, range 0..9999 (0..99.99%). Default 6000 (60.00%).
Attr: 0x0106, ENUM8 (id:0x30), Turn off the display. 1 - Display Off. Default 0 - Display On.
Attr: 0x0107, UINT8 (id:0x20), Measurement interval, range: 3..255 seconds. Default 10 seconds.
Source: https://github.com/pvvx/ZigbeeTLc
I am using this ddf:
{ "schema": "devcap1.schema.json", "manufacturername": "MiaoMiaoCe", "modelid": "MHO-C401N-z", "product": "MHO-C401N-z", "sleeper": false, "status": "Gold", "path": "/devices/mho-c401n-z.json", "subdevices": [ { "type": "$TYPE_TEMPERATURE_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0402" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/lastupdated" }, { "name": "state/temperature", "awake": true, "default": 0 } ] }, { "type": "$TYPE_HUMIDITY_SENSOR", "restapi": "/sensors", "uuid": [ "$address.ext", "0x01", "0x0405" ], "items": [ { "name": "attr/id" }, { "name": "attr/lastannounced" }, { "name": "attr/lastseen" }, { "name": "attr/manufacturername" }, { "name": "attr/modelid" }, { "name": "attr/name" }, { "name": "attr/swversion" }, { "name": "attr/type" }, { "name": "attr/uniqueid" }, { "name": "config/battery", "awake": true, "parse": { "at": "0x0021", "cl": "0x0001", "eval": "Item.val = Attr.val / 2", "fn": "zcl:attr" }, "default": 0 }, { "name": "config/offset", "default": 0 }, { "name": "config/on" }, { "name": "config/reachable" }, { "name": "state/humidity", "awake": true, "default": 0 }, { "name": "state/lastupdated" } ] } ], "bindings": [ { "bind": "unicast", "src.ep": 1, "cl": "0x0001", "report": [ { "at": "0x0021", "dt": "0x20", "min": 3200, "max": 3600, "change": "0x00000002" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0402", "report": [ { "at": "0x0000", "dt": "0x29", "min": 10, "max": 300, "change": "0x0000000A" } ] }, { "bind": "unicast", "src.ep": 1, "cl": "0x0405", "report": [ { "at": "0x0000", "dt": "0x21", "min": 10, "max": 300, "change": "0x00000032" } ] } ] }
The text was updated successfully, but these errors were encountered: