Portisch / RF-Bridge-EFM8BB1

Alternative Firmware for the Sonoff RF Bridge EFM8BB1 chip
289 stars 122 forks source link

Smartwares Wallswitch SH5-TSW-A #199

Open Mindsuk opened 3 years ago

Mindsuk commented 3 years ago

Latest firmware used?

I flashed the Sonoff Bridge with this Hex File:

RF-Bridge-EFM8BB1-20190220.hex

Information

Smartwares Wallswitch SH5-TSW-A

Sniffed data (Button on and off) with RfRaw 166

12:52:26.037 MQT: tele/rf-bridge/RESULT = {"Time":"2021-04-09T12:52:26","RfRaw":{"Data":"AAA6050D33A5FFED55"}} 12:52:30.634 MQT: tele/rf-bridge/RESULT = {"Time":"2021-04-09T12:52:30","RfRaw":{"Data":"AAA6050D33A5FFFD55"}}

Do I have to convert the Code within the BitBucket Converter to use it within MQTT and Homeassistant? If I tried it, the message is:

Skipping line '{"RfRaw":{"Data":"AAA6050D33A5FFED55"}}'
patrickjane commented 3 years ago

Please let me know when you find a solution :)

[edit] From my limited experience with the portisch firmware I would say that those codes are not B1 codes which must be converted using the BitBucket converter into B0 codes (since there is no leading AA B1 ...). Also see: https://tasmota.github.io/docs/devices/Sonoff-RF-Bridge-433/ (bottom)

Then the question (also from my side) would be how to receive the codes without setting rfraw 166.

patrickjane commented 3 years ago

Did you ever figure out how to use the switches?

@Portisch Can you help out?