Skip to content
New issue

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

User Interface Configuration for Temperature and humidity sensor with Epaper MHO-C401-Z #8069

Open
1 task done
yrnloc opened this issue Dec 19, 2024 · 2 comments
Open
1 task done

Comments

@yrnloc
Copy link

yrnloc commented Dec 19, 2024

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for my device

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

image

Endpoints and clusters

image

Basic

image

Further relevant clusters

Power Configuration

image

Identify Cluster

image

Poll Control Cluster

image

Temperature measurement Cluster

image

Relative humidity measurement Cluster

image

OTAU Cluster

image

On/Off

Level Control

Color Control

Thermostat

Simple Metering

Electrical Measurement

Any other cluster of relevance/interest

image

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" } ] } ] }

@Mimiix
Copy link
Collaborator

Mimiix commented Dec 19, 2024

Hi, please add all screenshots.

@yrnloc
Copy link
Author

yrnloc commented Dec 19, 2024

I hope I have added all missing screenshots.

@yrnloc yrnloc closed this as completed Dec 19, 2024
@yrnloc yrnloc reopened this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants