tomaszduda23

Results 141 comments of tomaszduda23

Zephyr uses west build system. Esphome uses platformio. I take all complication flags, source files etc from platformio and generate cmake file. Than use west to build it. After that...

It should be handled somewhere in https://github.com/tomaszduda23/framework-sdk-nrf/blob/0c8827425a7955fbcfff4796c45d82cb396a2d55/scripts/platformio/platformio-build.py#L170

You can try https://github.com/tomaszduda23/framework-sdk-nrf/releases/tag/v2.6.1-6. It fix the linking issue. All source file are in single target. It mess up with flags a little bit.

@felipejfc core part was just merged. I will rebase other PRs soon. That way most of the code in this PR won't be needed anymore.

This PR has a lot of old stuff which is not related to OT. Probably it would be easier to open new one and take OT/network related things only.

Having the same config for all is better.

It implements binaryinput/binaryoutput from https://csa-iot.org/wp-content/uploads/2022/01/07-5123-08-Zigbee-Cluster-Library-1.pdf. It might work. I've not tested it with ZHA. I was surprised that it doesn't work with zigbee2mqtt by default since it uses standard clusters...

There is some implementation in ZHA https://www.home-assistant.io/integrations/binary_sensor/. Both clusters seems to be implemented in zigpy https://github.com/zigpy/zigpy/blob/f1dddb45d6e7e0cc8a6fb4a0098a9b33149cf024/zigpy/zcl/clusters/general.py#L1539 https://github.com/zigpy/zigpy/blob/f1dddb45d6e7e0cc8a6fb4a0098a9b33149cf024/zigpy/zcl/clusters/general.py#L1572. If someone has setup it would be worth to take a shot.

> https://github.com/luar123/zigbee_esphome/ I've seen that. You can do more with it. It seems to be lower level implementation since it requires defining clusters in yaml. My goal was to make...

I've not look into ZHA integration much. I don't have HW to setup another coordinator to test how it works. I could flash nrf52840 with coordinator firmware. The setup looks...