David Woodhouse
David Woodhouse
I think it's just hitting the LwIP mDNS limits from [mdns.h](https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/include/lwip/apps/mdns.h#n59): ``` #define MDNS_LABEL_MAXLEN 63 #define MDNS_DOMAIN_MAXLEN 256 ``` I think those are too small. [RFC6763 §6.2](https://datatracker.ietf.org/doc/html/rfc6763#section-6.2) says: ``` [6.2](https://datatracker.ietf.org/doc/html/rfc6763#section-6.2)....
Turns out I can increase MDNS_LABEL_MAXLEN to 314, but not 315. It's actually the size of the `name[]` array in `struct mdns_domain` which causes the crash; if I increase that...
There is some debate about whether "H-Bridge" is the right name for this. It certainly matches OpenBeken, and the feature requests such as https://github.com/esphome/feature-requests/issues/1690 and https://github.com/esphome/esphome/discussions/4087 so it looks like...
> Adding a delay time for on and off signal would be great. Can you help me understand what you need that `pulse_length` and `wait_time` don't already cover? (I have...
> Can we add zero crossing control function for AC power and specify a zero crossing detection IO and delay time. When zero crossing is detected, there is a delay...
Do we need to build that into the H-Bridge switch component? Wouldn't that be a useful thing for *any* switch, using a separate zero-detection? I'm imagining a generic `switch-when-zero` switch...
Sure, but the zero-crossing thing is surely orthogonal to that? What if we build a *generic* implementation of that? ``` switch: - platform: trigger name: "Zero-triggered switch" trigger_pin: GPIO10 #...
ISTR I had deliberately made the tests different, to exercise different combinations of options. Will take a look...
Attempted the common template in https://github.com/esphome/esphome/pull/7421/commits/49c8ab5a7d575d34b67bc652811169b3f798193b
> > ISTR I had deliberately made the tests different, to exercise different combinations of options. Will take a look... > > You can still accomplish that -- use [extend...