Ole Odendahl
0a3d711787
Fixed bug in cluster list not connecting power cluster.
2022-12-16 12:10:08 +01:00
Ole Odendahl
03b45062c0
Fixing sensor logging millivolts.
2022-12-16 11:49:37 +01:00
Ole Odendahl
96e1e85179
Making zigbee main log level configurable.
2022-12-16 11:21:52 +01:00
Ole Odendahl
228b6f2f16
Making core log level configurable via Kconfig entry.
2022-12-16 11:21:27 +01:00
rbaron
5da4ad836f
Update description
2022-12-10 16:52:35 +01:00
rbaron
37237a4301
More accurate power profile
2022-12-10 15:48:02 +01:00
rbaron
17b487f362
Add docs
2022-12-10 15:45:22 +01:00
rbaron
3a6561bbf4
Make the LED flash while pairing
2022-12-10 15:14:01 +01:00
rbaron
7b4e64cec7
Implemented a pairing-reset detection strategy
...
This is a "tricky" workaround due to the lack of physical buttons:
We can distinguish between the two "power up" modes:
- Power on: when the device receives power for the first time. Example:
swapping batteries, prroviding external power. This _DOES NOT_ reset the
pairing info.
- Reset pin: when the device is manually reset (by shorting the RESET
pin to GND), or when a new firmware is flashed. This _RESETS_ the
pairing info.
2022-12-10 12:37:29 +01:00
rbaron
8eb54106d5
Add illuminance cluster & reporting
2022-12-10 10:47:16 +01:00
rbaron
3c2094db2d
Add GitHub action
2022-12-09 20:01:46 +01:00
rbaron
fbf1a35099
Moves configs to Kconfig
2022-12-09 19:38:56 +01:00
rbaron
cb6ed73691
Add battery percentage computation
2022-12-09 19:02:55 +01:00
rbaron
676b525bd9
Reading and sending real soil moisture works!
2022-12-07 22:22:41 +01:00
rbaron
01bb9da2a4
Cleanups
2022-12-07 21:43:30 +01:00
rbaron
f7373cc6da
Custom Soil Moisture cluster works! :)
...
This commits adds a Soil Moisture cluster according to the one that
exists in https://github.com/Koenkk/zigbee-herdsman/blob/master/src/zcl/definition/cluster.ts#L2570 .
The cluster Id is 1032 (I didn't find it in the official specs).
2022-12-07 20:10:52 +01:00
rbaron
15b1d9d2a8
Batt, temp and humi show up (with reporting!) on HA with zigbee2mqtt :))
2022-12-07 20:10:52 +01:00
rbaron
9b1efb7f82
Quick and dirty commenting out all LEDs
2022-12-07 20:10:52 +01:00
rbaron
d857448df8
Added a humidity cluster
2022-12-07 20:10:52 +01:00
rbaron
55808ed7e1
Links prstlib and restructures project to match other samples
2022-12-07 20:10:52 +01:00
rbaron
d8322c9162
Modified the zigbee template with added temperature cluster
...
According to
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.2/nrf/ug_zigbee_adding_clusters.html .
2022-12-07 20:10:52 +01:00
rbaron
f090b25a2c
Got manufacturer data to show as "b-parasite" in zigbee2mqtt
2022-12-07 20:10:52 +01:00
rbaron
f05d1f8e3b
Zigbee sample works with nRF52840dk + zigbee2mqtt
2022-12-07 20:10:51 +01:00
rbaron
3bf90451db
Remove legacy nrf-sdk code/b-parasite
2022-12-07 19:28:20 +01:00
rbaron
002500dcd6
Adds samples/ble/README.md
2022-12-07 18:57:27 +01:00
rbaron
a8c7d3c1cd
<zephyr/zephyr.h> -> <zephyr/kernel.h> in prstlib
2022-12-06 19:18:37 +01:00
rbaron
f7806d4c7e
Really fixing BTHome v2 illuminance encoding this time
2022-12-04 10:32:20 +01:00
rbaron
cab55d9b8c
<zephyr/zephyr.h> -> <zephyr/kernel.h> everywhere
2022-12-04 10:16:00 +01:00
rbaron
381bbb7ceb
Fix illuminance encoding in ble, BTHome v2
2022-12-04 10:13:01 +01:00
rbaron
8bfd75de78
Fix BTHome v2 encoding - sort entries by Object IDs
2022-12-03 13:49:17 +01:00
rbaron
bc08c8284a
Updates Zephyr imports to use the <zephyr/...> prefix
...
See https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html#api-changes
2022-12-03 11:26:03 +01:00
rbaron
7c0b83e94e
Add blackmagicprobe.board.cmake to board.cmake for both variants
2022-12-03 11:05:24 +01:00
rbaron
6969d74a8c
Fixes GitHub actions to use board revisions
2022-12-03 11:04:20 +01:00
rbaron
f476e69229
Adds board revisions for nRF52833 variant
2022-12-03 11:03:55 +01:00
rbaron
dc88916823
Add board 1.0.0, 1.1.0, 1.2.0 board revisions for nRF52840 variant
2022-12-03 10:46:48 +01:00
rbaron
a93171b9bf
Adds support for user-supplied BT address
...
Also cleans up BLE configs
2022-12-01 19:48:36 +01:00
rbaron
0bda7de7cf
Add b-parasite with nRF52833 board definition
2022-11-30 19:18:25 +01:00
rbaron
fe09c0b2f1
Update github actions to generate more samples
2022-11-30 18:33:06 +01:00
rbaron
9c62b12446
Update default Kconfig in samples/ble
2022-11-29 22:52:08 +01:00
rbaron
dbaf44ecc1
Cleanup comments
2022-11-29 20:25:15 +01:00
rbaron
3b104cdf24
Implements BTHome v1 and v2 encodings for ble sample
2022-11-29 20:05:41 +01:00
rbaron
4a6e3dcec3
Update github action & workflow to build nrf-connect samples
2022-11-28 19:44:41 +01:00
rbaron
fc3a0652aa
Add blinky sample
2022-11-28 19:38:32 +01:00
rbaron
46a8285f59
Reuse macros.h in nrf-connect/samples/soil_read_loop/src/main.c
2022-11-27 23:21:50 +01:00
rbaron
89d2999bd8
Deletes old sample
2022-11-27 22:36:32 +01:00
rbaron
cc4c47927b
Moves soil_read_loop to samples/
2022-11-27 22:36:06 +01:00
rbaron
00a7114dd1
Extracts boards/ and dts/ to prstlib
2022-11-27 18:56:47 +01:00
rbaron
5ceccfafcc
Extracts prstlib
...
Moves ble sample to code/nrf-connect/samples
2022-11-27 18:37:42 +01:00
rbaron
df7700cdd7
Recalibrated. BLE sample seems to work e2e @ 2.7uA sleep :)
2022-11-25 23:42:40 +01:00
rbaron
a9d551f33c
Adds a calibration sample
2022-11-25 23:20:03 +01:00