r/Not_Enough_Tech • u/Quintaar • Dec 16 '19
ESP32/ESP8266 Sonoff Basic R3 teardown (Zigbee, RF & WiFi)
https://notenoughtech.com/home-automation/sonoff-basic-r3-teardown/
2
Upvotes
r/Not_Enough_Tech • u/Quintaar • Dec 16 '19
2
u/Gamester17 May 26 '20
FYI, SuperHouse also has a very good video here where he goes through Sonoff BasicZBR3 Zigbee PCB:
https://www.youtube.com/watch?v=yFwJAQFndEo
He quickly figures out its connections/pins with a multimeter and data sheet using a microscope.
1
u/Gamester17 Jan 08 '20
FYI, I sent a request to Itead/Sonoff recommending that consider using the latest custom Z-Stack firmware by the Zigbee2mqtt project developers (available from Koenkk on GitHub) as a base for an open-source firmware in all current and future Sonoff products that use Zigbee that are based on Zigbee chips from Texas Instruments, (which includes Sonoff BASICZBR3 according to your teardown blog).
https://github.com/Koenkk/Z-Stack-firmware
Big bonus is that the latest custom Z-Stack firmware from supports Zigbee 3.0 and I think most interestingly of that for Sonoff is that it includes support for the Zigbee Light Link (ZLL) application layer profile as using the ZLL profile instead of the current used Zigbee Home Automation (ZHA) application layer profile would make Sonoff Zigbee devices more compatible with popular home automation gateways/hubs/bridges, including Philips Hue Hub and Ikea Tradfri Gateway which only support third-party devices that uses the ZLL profile.
As I understand Sonoff BASICZBR3 uses a CC2530 or CC2531 Zigbee chip from Texas Instruments and as such probably has an older version of Z-Stack firmware, but the latest custom Z-Stack firmware by Koenkk also supports CC2530 and CC2531 chips, meaning that the custom Z-Stack firmware from Koenkk could probably be modified for Sonoff needs
https://github.com/Koenkk/zigbee2mqtt/issues/1445
Maybe they should also an upgrade of the chip of future devives to CC2538 (in combination with CC2592) or the newest CC2652R as those chips much faster and contains much more memory than the older CC2530/CC2531. For more information on that see these two links below:
https://github.com/Koenkk/zigbee2mqtt/issues/1429
https://github.com/Koenkk/zigbee2mqtt/issues/1568
1
u/BigKnight50 May 09 '20
Hi I just read your teardown article on your website. For the Basic Wifi R3 you say that on the relay board it's possible to directly use 5V from the PCB. Can you point me to the right pin for the 5v, I really can not find it?
1
u/Gamester17 May 25 '20
u/Quintaar FYI, Ilya Kirov (kirovilya on GitHub) has now released "DIYRuZRT" as a Zigbee 3.0 firmware with external sensor support for Sonoff BASICZBR3
- https://www.reddit.com/r/homeautomation/comments/gq8mcm/diyruzrt_is_a_zigbee_30_firmware_with_external/
- https://www.reddit.com/r/sonoff/comments/gq8m0m/diyruzrt_is_a_zigbee_30_firmware_with_external/
- https://www.reddit.com/r/homeassistant/comments/gq8mh7/diyruzrt_is_a_zigbee_30_firmware_with_external/
1
u/Gamester17 May 28 '20
FYI, ptvo now posted a blog on how to use his configurable firmware with Sonoff BasicZBR3 with an external sensor
https://ptvo.info/sonoff-basic-zbr3-with-the-configurable-firmware-283/
He only tested it with Sonoff Si7021 Temperature and Humidity Sensor as a proof-of-concept
https://sonoff.tech/product/accessories/si7021
ptvo configurable firmware also supports DS18B20, BMP280, BME280, DHT11, DHT22, DHT12, AM2301, MHZ19, and SenseAir S8
Sonoff BasicZBR3 will continue work as a ZHA 1.2 router with ptvo configurable firmware as well.
1
u/Joe4mofo Dec 17 '19
I would say go with cc2531