Very basic rust native library to interact with the Danfoss Ally API.
Create a Danfoss Developer. Follow the instructions on the website to create the credentials for the Danfoss Ally API.
Then, Provide your Danfoss API credentials as environment variables.
bash
export DANFOSS_API_KEY=YOUR_API_KEY
export DANFOSS_API_SECRET=YOUR_API_SECRET
After that you are all set and can query the API
```rust
async fn main() -> Result<(), Box
fn main() {} ```
You need to set the logging level to debug in order to print room temperatures.
bash
RUST_LOG=debug cargo run
This is not an official library and i am not affiliated with Danfoss in any way.