This commit is contained in:
Alessandro Pilonato 2026-04-07 17:59:48 +02:00 committed by GitHub
commit 5edb9973dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,9 +156,9 @@ void somfy_frame_t::decodeFrame(byte* frame) {
this->proto = radio_proto::RTV;
this->cmd = (somfy_commands)(this->encKey - 148);
}
else if(this->encKey > 133) {
else if(this->encKey > 132) {
this->proto = radio_proto::RTW;
this->cmd = (somfy_commands)(this->encKey - 133);
this->cmd = (somfy_commands)(this->encKey - 132);
}
}
else this->proto = radio_proto::RTS;