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

Function fetchDeviceInfo

packages/cli/src/meross-setup.ts:132–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131 // fetch device information
132 const fetchDeviceInfo = async () => {
133 const { system: { hardware, firmware } } = await device.fetchDeviceInfo();
134 terminal.green(`${hardware.type} (hardware: ${hardware.version}, firmware: ${firmware.version})`);
135 };
136 await (quiet ? device.fetchDeviceInfo() : progressFunctionWithMessage(fetchDeviceInfo, 'Fetching device information'));
137
138 // fetch device abilities

Callers

nothing calls this directly

Calls 1

fetchDeviceInfoMethod · 0.80

Tested by

no test coverage detected