fritzapi
Library for interfacing with the "AVM Home Automation" API https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/AHA-HTTP-Interface.pdf.
It is used by the fritzctrl utility.
Example
List devices
// Get a session id
let sid = get_sid?;
// List devices
let mut devices = list_devices?;
// If the first device is of, turn it on
let dev = devices.first_mut.unwrap;
if !dev.is_on
License: MIT