ffenix113 / zigbee_home

Project to provide functionality similar to ESPHome but for Zigbee instead of WiFi for nRF52

Home Page:https://ffenix113.github.io/zigbee_home/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code does not compile for more than 4 sensors

bbadrignans opened this issue · comments

I got this error message when having 2 on_off, ias_zone, temperature and humidity.

main.go:30: generate base: write app src: write template: execute source template "clusters.h.tpl": template: clusters.h.tpl:103:10: executing "clusters.h.tpl" at <$i>: wrong type for value; expected int; got *base.CommonDeviceClusters
exit status 1

Seems that for more than 4 end points, Nordic zboss force some differences, but I don't understand what here .

Nevertheless, there is something wrong in templates/src/zigbee/clusters.h.tpl but don't know how to fix it.

Thank you for the issue!

Good catch, I will check and fix this.

The issue should now be resolved. If it is not - please feel free to re-open the issue.

Yes great, thanks.
Tested with 1 dht and 4 on_off.