Oxan van Leeuwen
Oxan van Leeuwen
@Harald-P Oh, I didn't see that you were on ESP-32. I haven't tried it with an ESP-32 personally. Can you try replacing `ESPAsyncTCP.h` with `AsyncTCP.h` in both files?
@MaartenKleijwegt Can you try inserting `this->server_.setNoDelay(false);` before line 31 in `stream_server.cpp`? EDIT: Or actually, try this first: add before line 36 of `stream_server.h`: ``` float get_setup_priority() const override { return...
Ok, great! I've updated the gist to incorporate this fix. > Could you point to where I can read up on esphome setup priority and such? The [code](https://github.com/esphome/esphome/blob/7b157aeff1dafa532fdcabe1f9daac8a918c3a9d/esphome/core/component.h#L15-L37), I guess.
@MaartenKleijwegt the `get_setup_priority()` you mean? yeah, that'd make sense I think.
I've made my custom component available as a new [external component](https://esphome.io/components/external_components.html) for ESPHome v1.18+ under [my GitHub account](https://github.com/oxan/esphome-stream-server): ``` external_components: - source: github://oxan/esphome-stream-server stream_server: ```
I tried to ascertain how hard it would be to implement this, but there doesn't seem to be a getting-started guide, and I couldn't understand how the `temperature-measurement-app` works (where...
The big open question here is whether some group will port a Zigbee stack to the H2, as that's likely a too big task to do for ESPHome by itself.
I looked a tiny bit into this, and getting the API to run on Thread seems like it'll be fairly straighforward. Once devices start becoming available that's probably something we'll...
> Is it better to pass to the sun a `time::ESPTime` over a timestamp `time_t`? That's a good question. Let's keep using `time::ESPTime` for now, cleaning up time handling is...
No, `Sun::elevation()` and `Sun::azimuth()` use the others through `Sun::calc_coords()` which ultimately calls `julian_day()`.