Closed 0x5e closed 1 year ago
But multiple switches appear in Homekit right? Can you also post a debug log so i can see what properties are being polled?
But multiple switches appear in Homekit right? Can you also post a debug log so i can see what properties are being polled?
@merdok Yes, multiple switches appears.
Only siid=2 polled, siid=3 not polled.
In order to find out where the issue is, i need you to post a homebridge debug log with the deepDebugLog parameter set to true. The plugin will then show in the log what properties are being polled, i need to see if all the properties are included in that list. Could you post that?
Yes, I'm using homebridge with docker image and didn't know how to enable debug before. Is this the logs you need?
[10/9/2022, 5:01:41 PM] [Homebridge UI] Homebridge restart request received
[10/9/2022, 5:01:42 PM] [Homebridge UI] Sending SIGTERM to process...
[10/9/2022, 5:01:42 PM] [HB Supervisor] Stopping services...
[10/9/2022, 5:01:42 PM] Got SIGTERM, shutting down Homebridge...
2022-10-09T09:01:42.516Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.50.122] Client connection closed
2022-10-09T09:01:42.524Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.50.122] HTTP connection was closed
2022-10-09T09:01:42.528Z HAP-NodeJS:EventedHTTPServer:Connection [::ffff:192.168.50.122] HTTP server was closed
[10/9/2022, 5:01:47 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[10/9/2022, 5:01:51 PM] [HB Supervisor] OS: Linux 5.4.203 arm64
[10/9/2022, 5:01:51 PM] [HB Supervisor] Node.js v16.16.0 /opt/homebridge/bin/node
[10/9/2022, 5:01:51 PM] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[10/9/2022, 5:01:51 PM] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[10/9/2022, 5:01:59 PM] [Homebridge UI] Homebridge Config UI X v4.50.1 is listening on :: port 8581
[10/9/2022, 5:02:00 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules -D --strict-plugin-resolution
[10/9/2022, 5:02:00 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 1433
[10/9/2022, 5:02:01 PM] Loaded config.json with 0 accessories and 3 platforms.
[10/9/2022, 5:02:02 PM] Loaded 10 cached accessories from cachedAccessories.
[10/9/2022, 5:02:02 PM] ---
[10/9/2022, 5:02:02 PM] Loaded plugin: homebridge-miot@1.3.1
[10/9/2022, 5:02:02 PM] Registering platform 'homebridge-miot.miot'
[10/9/2022, 5:02:02 PM] ---
[10/9/2022, 5:02:02 PM] Loaded plugin: homebridge-yindl@0.12.1
[10/9/2022, 5:02:02 PM] Registering platform 'homebridge-yindl.YindlPlatform'
[10/9/2022, 5:02:02 PM] ---
[10/9/2022, 5:02:02 PM] Loading 3 platforms...
[10/9/2022, 5:02:02 PM] [YindlPlatform] Initializing YindlPlatform platform...
[10/9/2022, 5:02:02 PM] [YindlPlatform] Finished initializing platform: undefined
[10/9/2022, 5:02:02 PM] [miot] Initializing miot platform...
[10/9/2022, 5:02:02 PM] [miot] Found cached accessory 书房墙开
[10/9/2022, 5:02:02 PM] [miot] Initializing devices
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Got device configuration, initializing device with name: 书房墙开
[10/9/2022, 5:02:02 PM] [miot] No accessories to remove!
[10/9/2022, 5:02:02 PM] Publishing bridge accessory (name: Homebridge 7E5B, publishInfo: {
username: '0E:D2:33:9D:7E:5B',
port: 51960,
pincode: '***-**-***',
category: 2,
bind: [ 'br-lan', [length]: 1 ],
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: 'avahi'
}).
Setup Payload:
X-HM://xxxxxxxxxx
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ xxx-xx-xxx │
└────────────┘
[10/9/2022, 5:02:02 PM] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 7E5B) is running on port 51960.
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found cached device information: xiaomi.wifispeaker.lx06
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Model known: 090615.switch.mesw2!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing device!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Creating device instance by model: 090615.switch.mesw2!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a airconditioner device! Device class could not be found: ../modules/airconditioner/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a airer device! Device class could not be found: ../modules/airer/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a airfryer device! Device class could not be found: ../modules/airfryer/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a airmonitor device! Device class could not be found: ../modules/airmonitor/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a airpurifier device! Device class could not be found: ../modules/airpurifier/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a bathheater device! Device class could not be found: ../modules/bathheater/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a camera device! Device class could not be found: ../modules/camera/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a ceilingfan device! Device class could not be found: ../modules/ceilingfan/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a coffeemachine device! Device class could not be found: ../modules/coffeemachine/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a cooker device! Device class could not be found: ../modules/cooker/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a curtain device! Device class could not be found: ../modules/curtain/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a custom device! Device class could not be found: ../modules/custom/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a dehumidifier device! Device class could not be found: ../modules/dehumidifier/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a fan device! Device class could not be found: ../modules/fan/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a freshairsystem device! Device class could not be found: ../modules/freshairsystem/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a generic device! Device class could not be found: ../modules/generic/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a heater device! Device class could not be found: ../modules/heater/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a humidifier device! Device class could not be found: ../modules/humidifier/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a kettle device! Device class could not be found: ../modules/kettle/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a light device! Device class could not be found: ../modules/light/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a outlet device! Device class could not be found: ../modules/outlet/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a oven device! Device class could not be found: ../modules/oven/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a robotcleaner device! Device class could not be found: ../modules/robotcleaner/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a switch device! Device class could not be found: ../modules/switch/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a thermostat device! Device class could not be found: ../modules/thermostat/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Not a unknown device! Device class could not be found: ../modules/unknown/devices/090615.switch.mesw2.js
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Did not find device class! Trying to identify device from miot spec!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found cached miot spec for device: 090615.switch.mesw2
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Parsing miot spec!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Using switch type and Two Key Switch description for device identification!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Got device type Switch from spec!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found device type class at ../modules/switch/SwitchDevice.js!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Using module class for device type Switch, indentified by miot spec! Not all features might work!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing device services
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Device services: [
"switch",
"switch",
"switchturn",
"switchturn",
"setmode"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing device properties
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Device properties: [
"switch:on",
"switch3:on",
"switchturn:turn",
"switchturn5:turn",
"setmode:backlight",
"setmode:leftsmart",
"setmode:rightsmart"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing device actions
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing device events
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initial properties to monitor: [
"switch:on"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully created a Switch device! It is a Unknown switch device.
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found cached accessory for this device! Unregistering it first!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Initializing accessory!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Creating Switch accessory for device 书房墙开!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found accessory class at ../modules/switch/SwitchAccessory.js!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] <-W-> Creating Left Switch Service wrapper of type Property for property switch:on
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] <-W-> Property type: Boolean! Creating on/off switch!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully created Left Switch Service wrapper of type Property!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] <-W-> Creating Right Switch Service wrapper of type Property for property switch3:on
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] <-W-> Property type: Boolean! Creating on/off switch!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully created Right Switch Service wrapper of type Property!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Accessory successfully initialized!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Final properties to monitor: [
"switch:on"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Registering 1 accessories!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Everything looks good! Initiating property polling!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Server listening 0.0.0.0:49737
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Handshake reply
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Call 192.168.50.11: miIO.info - {"timeout":5000,"retries":3} - {}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- (2) {"method":"miIO.info","params":{"timeout":5000,"retries":3},"id":1}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- !1p��A��`�[����耫���
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":1,"result":{"life":583745,"uid":14388109,"model":"xiaomi.wifispeaker.lx06","token":"xxx","ipflag":1,"miio_ver":"0.0.9","uptime":583771,"mac":"5C:02:14:19:33:32","fw_ver":"1.82.5","hw_ver":"Linux","miio_client_ver":"4.3.2","VmPeak":44888,"VmSize":44888,"VmRSS":1484,"MemFree":6056,"ap":{"ssid":"xxx","bssid":"11:22:33:44:55:66","rssi":"-65","freq":5765},"netif":{"localIp":"192.168.50.11","mask":"255.255.255.0","gw":"192.168.50.1"},"miio_times":[583744,1,28,583714],"partner_id":"561d1e4e-9838-4eef-944c-a378b900848e"},"exe_time":2}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":1,"result":{"life":583745,"uid":14388109,"model":"xiaomi.wifispeaker.lx06","token":"xxx","ipflag":1,"miio_ver":"0.0.9","uptime":583771,"mac":"5C:02:14:19:33:32","fw_ver":"1.82.5","hw_ver":"Linux","miio_client_ver":"4.3.2","VmPeak":44888,"VmSize":44888,"VmRSS":1484,"MemFree":6056,"ap":{"ssid":"xxx","bssid":"11:22:33:44:55:66","rssi":"-65","freq":5765},"netif":{"localIp":"192.168.50.11","mask":"255.255.255.0","gw":"192.168.50.1"},"miio_times":[583744,1,28,583714],"partner_id":"561d1e4e-9838-4eef-944c-a378b900848e"},"exe_time":2}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Device found: xiaomi.wifispeaker.lx06
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Setting up miot device!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Doing basic setup
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Device firmware: 1.82.5
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Full device info:
{
"life": 583745,
"uid": 14388109,
"model": "xiaomi.wifispeaker.lx06",
"token": "xxx",
"ipflag": 1,
"miio_ver": "0.0.9",
"uptime": 583771,
"mac": "5C:02:14:19:33:32",
"fw_ver": "1.82.5",
"hw_ver": "Linux",
"miio_client_ver": "4.3.2",
"VmPeak": 44888,
"VmSize": 44888,
"VmRSS": 1484,
"MemFree": 6056,
"ap": {
"ssid": "xxx",
"bssid": "11:22:33:44:55:66",
"rssi": "-65",
"freq": 5765
},
"netif": {
"localIp": "192.168.50.11",
"mask": "255.255.255.0",
"gw": "192.168.50.1"
},
"miio_times": [
583744,
1,
28,
583714
],
"partner_id": "561d1e4e-9838-4eef-944c-a378b900848e"
}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Doing MiCloud setup
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Device setup finished! Miot device ready!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Connected to device: xiaomi.wifispeaker.lx06
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Doing initial property fetch.
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Splitting properties into chunks. Number of chunks: 1. Chunk size: 14
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Chunks: [
[
"switch:on"
]
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Call 192.168.50.11: get_properties - [{"did":"xxxxxx","siid":2,"piid":1}] - {}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- (2) {"method":"get_properties","params":[{"did":"xxxxxx","siid":2,"piid":1}],"id":2}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- !1���Aϙm�1�Ҫ��9�ru
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully saved device info!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found device model xiaomi.wifispeaker.lx06 does not match specified model 090615.switch.mesw2! Some services might not work!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":2,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":11}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":2,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":11}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully updated property chunk! RAW: [{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Got initial device properties:
[
"switch:on: false",
"switch3:on: false | (not synced)",
"setmode:backlight: 0 | (not synced)",
"setmode:leftsmart: 0 | (not synced)",
"setmode:rightsmart: 0 | (not synced)"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Starting property polling.
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Found device model xiaomi.wifispeaker.lx06 does not match specified model 090615.switch.mesw2! Some services might not work!
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":2,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":11}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":2,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":11}
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Successfully updated property chunk! RAW: [{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Got initial device properties:
[
"switch:on: false",
"switch3:on: false | (not synced)",
"setmode:backlight: 0 | (not synced)",
"setmode:leftsmart: 0 | (not synced)",
"setmode:rightsmart: 0 | (not synced)"
]
[10/9/2022, 5:02:02 PM] [miot] [书房墙开] Starting property polling.
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] Splitting properties into chunks. Number of chunks: 1. Chunk size: 14
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] Chunks: [
[
"switch:on"
]
]
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) Call 192.168.50.11: get_properties - [{"did":"xxxxxx","siid":2,"piid":1}] - {}
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- (2) {"method":"get_properties","params":[{"did":"xxxxxx","siid":2,"piid":1}],"id":3}
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- !1���K������/`�J˒[��
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":3,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":15}
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":3,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":15}
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] Successfully updated property chunk! RAW: [{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}]
[10/9/2022, 5:02:12 PM] [miot] [书房墙开] Device properties updated:
[
"switch:on: false",
"switch3:on: false | (not synced)",
"setmode:backlight: 0 | (not synced)",
"setmode:leftsmart: 0 | (not synced)",
"setmode:rightsmart: 0 | (not synced)"
]
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] Splitting properties into chunks. Number of chunks: 1. Chunk size: 14
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] Chunks: [
[
"switch:on"
]
]
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) Call 192.168.50.11: get_properties - [{"did":"xxxxxx","siid":2,"piid":1}] - {}
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- (2) {"method":"get_properties","params":[{"did":"xxxxxx","siid":2,"piid":1}],"id":4}
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- !1���T�����B-�f�F
$
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":4,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":12}
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":4,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":12}
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] Successfully updated property chunk! RAW: [{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}]
[10/9/2022, 5:02:22 PM] [miot] [书房墙开] Device properties updated:
[
"switch:on: false",
"switch3:on: false | (not synced)",
"setmode:backlight: 0 | (not synced)",
"setmode:leftsmart: 0 | (not synced)",
"setmode:rightsmart: 0 | (not synced)"
]
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] Splitting properties into chunks. Number of chunks: 1. Chunk size: 14
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] Chunks: [
[
"switch:on"
]
]
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] (Protocol) Call 192.168.50.11: get_properties - [{"did":"xxxxxx","siid":2,"piid":1}] - {}
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] (Protocol) Start handshake 192.168.50.11
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- (2) {"method":"get_properties","params":[{"did":"xxxxxx","siid":2,"piid":1}],"id":5}
[10/9/2022, 5:02:32 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 <- !1���^9�I�M�97&�jS\
[10/9/2022, 5:02:33 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Data: {"id":5,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":12}
[10/9/2022, 5:02:33 PM] [miot] [书房墙开] (Protocol) 192.168.50.11 -> Message: {"id":5,"result":[{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}],"exe_time":12}
[10/9/2022, 5:02:33 PM] [miot] [书房墙开] Successfully updated property chunk! RAW: [{"did":"xxxxxx","siid":2,"piid":1,"value":false,"code":0,"ts":1665305862,"ret":0}]
[10/9/2022, 5:02:33 PM] [miot] [书房墙开] Device properties updated:
[
"switch:on: false",
"switch3:on: false | (not synced)",
"setmode:backlight: 0 | (not synced)",
"setmode:leftsmart: 0 | (not synced)",
"setmode:rightsmart: 0 | (not synced)"
]
Yes, thanks! I see it now, somehow the other switches are not added to the polling list! Will check it out!
Should work now in version 1.4.0
Sorry for the late reply, I tested the property polling and device id as uuid, they all works great :)
Describe the bug From wireshark, I see mesh device
090615.switch.mesw2
(with gatewayxiaomi.wifispeaker.lx06
) is only pollingsiid=2, piid=1
.Expected behavior Both
siid=2, piid=1
andsiid=3, piid=1
should be polling because it has left switch and right switch.https://home.miot-spec.com/spec/090615.switch.mesw2
Your config.json
Debug log
Screenshots None.
Additional context Relates to #348