-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
This was a test of switching multiple Crownstones at once. The following Crownstones were tested:
- Plug (Dimming enabled)
- Plug (Dimming disabled)
- Plug (Dimming disabled)
- Plug (Dimming disabled)
Crownstones are switched using their respective switch functions:
dim_crownstone(id, val)for a Crownstone that can dimswitch_crownstone(id, on_state)for Crownstone that cannot dim
Following debug logs were found suggesting that the correct data was indeed sent to each Crownstone:
2021-05-09 16:18:12 DEBUG (SyncWorker_0) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 1, <SwitchValSpecial.SMART_ON: 255>, 239, 11]
2021-05-09 16:18:12 DEBUG (SyncWorker_2) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 11, <SwitchValSpecial.SMART_ON: 255>, 36, 228]
2021-05-09 16:18:12 DEBUG (SyncWorker_5) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 17, <SwitchValSpecial.SMART_ON: 255>, 156, 8]
2021-05-09 16:18:12 DEBUG (SyncWorker_4) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 18, <SwitchValSpecial.SMART_ON: 255>, 207, 93]
2021-05-09 16:18:18 DEBUG (SyncWorker_3) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 1, 0, 31, 21]
2021-05-09 16:18:18 DEBUG (SyncWorker_1) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 11, 0, 212, 250]
2021-05-09 16:18:18 DEBUG (SyncWorker_0) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 17, 0, 108, 22]
2021-05-09 16:18:18 DEBUG (SyncWorker_2) [crownstone_uart.core.uart.UartBridge] write_to_uart: [126, 15, 0, 1, 0, 0, 10, 0, 5, 21, 0, 3, 0, 1, 18, 0, 63, 67]
However only 2 of those Crownstones was actually switched each time. The Crownstone that can dim, and 1 of the relay Crownstones.
The multi switch does work correctly with the cloud implementation however.
Metadata
Metadata
Assignees
Labels
No labels