Skip to content

Commit 29cc42b

Browse files
committed
Internal messages send from gateway to controller should use sensor id
255
1 parent 5406a65 commit 29cc42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/core/MySensorCore.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static inline MyMessage& build(MyMessage &msg, uint8_t sender, uint8_t destinati
248248
static inline MyMessage& buildGw(MyMessage &msg, uint8_t type) {
249249
msg.sender = GATEWAY_ADDRESS;
250250
msg.destination = GATEWAY_ADDRESS;
251-
msg.sensor = 0;
251+
msg.sensor = 255;
252252
msg.type = type;
253253
mSetCommand(msg, C_INTERNAL);
254254
mSetRequestAck(msg, false);

0 commit comments

Comments
 (0)