merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
392 stars 61 forks source link

ows.tow_w.mjjs1 #432

Closed neyestrabelli closed 1 year ago

neyestrabelli commented 1 year ago

Device model ows.tow_w.mjjs1

Device name OWS S1 Towel Rack

Does the device require a MiCloud connection? Do not know

Anything special about the device? Yes I can controller, but I can't set temperature or change mode (idle,low, mid, high), I tryied to configure properties, but I don't understand what I need to add at configs.

merdok commented 1 year ago

You have to go here http://www.merdok.org/miotspec/?model=ows.tow_w.mjjs1 Find the properties which you need and configure them based on that.

neyestrabelli commented 1 year ago

thanks @merdok I set the config like this and works:


                        {
                            "property": "towel-rack:mode",
                            "value": 0,
                            "name": "StandBy"
                        },
                        {
                            "property": "towel-rack:mode",
                            "value": 1,
                            "name": "Low"
                        },
                        {
                            "property": "towel-rack:mode",
                            "value": 2,
                            "name": "Medium"
                        },
                        {
                            "property": "towel-rack:mode",
                            "value": 3,
                            "name": "High"
                        }
                    ],
                    "propertyMonitor": [
                        {
                            "property": "towel-rack:temperature",
                            "name": "Temperature"
                        },
                        {
                            "property": "towel-rack:status",
                            "name": "Status"
                        }
                    ]`
merdok commented 1 year ago

Good to hear!