0.0.2 • Published 4 years ago
@hest-lab/plugin-fritzbox v0.0.2
hest-lab fritzbox plugin
Example
// Create instance
const fb = new FritzBoxCollecter({
ip: "192.168.0.1",
username: "xxxxx",
password: "xxxxx",
useSsl: false,
})
// Login
await fb.login()
// Get switch list
const ains = await fb.getSwitchList()
// Get temperature
fb.getTemperature(ains[0])
// Get switch name
fb.getSwitchName(ains[0])
0.0.2
4 years ago