MCPcopy Create free account
hub / github.com/bytespider/Meross / fetchDeviceTime

Method fetchDeviceTime

packages/lib/src/device.ts:175–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 }
174
175 async fetchDeviceTime() {
176 const message = new QueryDeviceTimeMessage();
177 const {
178 payload: { time },
179 } = await this.sendMessage(message);
180 return time;
181 }
182
183 async exchangeKeys() {
184 deviceLogger.info(`Exchanging keys for device ${this.id}`);

Callers

nothing calls this directly

Calls 1

sendMessageMethod · 0.95

Tested by

no test coverage detected