Pavel Perestoronin
Pavel Perestoronin
Follows up #143. One should use `fetch_one` instead of the `.fetch_all(...).await?.first().unwrap()` trick, but at the moment `fetch_one` is broken.
- https://developers.meethue.com/develop/get-started-2/ - https://docs.rs/mdns/1.1.0/mdns/ - https://developers.meethue.com/develop/get-started-2/core-concepts/ - https://developers.meethue.com/develop/hue-api/ ``` ❯ dns-sd -B _hue._tcp. Browsing for _hue._tcp. DATE: ---Wed 05 Aug 2020--- 20:26:20.073 ...STARTING... Timestamp A/R Flags if Domain Service Type...
- Docs: https://esphome.io/web-api/index.html - Question: is there a way to discover all the devices?
### Solutions - https://github.com/ihrwein/backoff ### Example ```text Oct 06 14:19:57 raspberrypi my-iot[20991]: 2019-10-06 14:19:57,509 ERROR [my_iot::services::telegram] Error(Io(Custom { kind: TimedOut, error: "timed out" }), "https://api.telegram.org/bot.../sendAnimation") ```