You may use the latest version of my configurable firmware with Sonoff Basic ZBR3. But only one external sensor is tested (Si7021)
Of course, the device works as a router.
You may use the latest version of my configurable firmware with Sonoff Basic ZBR3. But only one external sensor is tested (Si7021)
Of course, the device works as a router.
Marlor
Can we get an updated Picture of the options?
Or a preset for the BASICZBR3?
Owner
What is wrong on the existing picture?
Marlor
For example the GPIO you now cant delete from Output1
and the new bind command.
Makes it unsure what to choose
Owner
You can simply remove the check mark before “Output 1”.
kds
The picture of zigbee cc2530 pcb, says DAT P2_2…
Shouldn’t it be P2_1 in fact, which is indeed DATA on cc2530?
(and similarly CLK should be marked as P2_2 and not P2_1…)
I just tried with CC debugger and it is in error in what is written above as DAT P2_2 is connected to debugger pin 3 (and CLK P2_1 to pin 4), while it works the other way around.
This picture needs to be corrected, isn’t it?
Owner
Hmm. Maybe you have another revision of this board.
Oguz
Yeaah you right
I can see its v1.1
hmm anybody else have this issue ?
Oguz
Ohh sorry about my last reply
I can see that the board v1.0 and not 1.1 like i wrote earlier
My sonoff is exacly like the picture in the post (above)
Oguz
Is there any one that , maybe can explain how to flash this for a beginner?
Kinda step by step guide, could be awesome…
Some info:
I have a Sonoff basiczbr3 /zigbee and i want “power on state” configuration
I think i have created a firmware (hex file) but has no clue how to flash it 🙂
I have a little experince with esp8266 flashing and some flashing with ftdi devices (rx tx)
Thanks in advice 🙂
WojteK
Hello, thank you for your hint,i flashed zbr3 with latest firmare but with router and works, before i used firmare without routing as enddevice.
Now i have temperature from DS18b20 in I1, but i have problem to prepare right automation. So i would like to set if temperature decrase as example 25C Then switch I2 would be on. In automation i don’t have in device temperature I1, but onet in State, but this not works ,automation does not work. Please take a look on movie https://youtu.be/QFfA6Ku8OoQ
Maybe you will have idea how to prepare automation that it will work.
The
Wojtek
Owner
I’m sorry, but I don’t know your automation system works. I don’t have any ideas about how to configure it.
Moreno
Many Thanks for your help!
Jamie
Hi This looks great.
Is it possible to flash the Sonoff Zigbee so an external switch can be used on one of the GPIO pins like Sonoff basic?
Many Thanks
Owner
Hi! What Sonoff Zigbee device do you mean?
Jamie
Apologies I meant the Sonoff Basic ZBR3.
I currently have sonoff basics connected to two way rocker switches on GPIO pins, and wondered if the same could be done with your firmware?
Many thanks for the quick reply.
Owner
There are only 3 pins that you may use P1_3, P2_1, P2_2. I’m not sure if it is enough in your case.
Moreno
Hi, I’m having a problem with basicZBR3 firmware router mode, when I change the status from the button (on the zigbee2mqtt interface), nothing happens on the device, the relay doesn’t change state. If instead I press the physical button P_13 on the device, the ralay changes position ON-OFF. It seems as if the device does not read the topic:
INFO: MQTT publish: topic ‘zigbee2mqtt/0x00124b001e72230e’, payload ‘{“linkquality”:21,”state”:”OFF”}’
What am I doing wrong?
Thanks
Moreno
Owner
Hi. Try the following:
Tipic: zigbee2mqtt/0x00124b001e72230e/l1/set
Payload: OFF
l1 can be changed to your channel number (l1…l8).
Moreno
Hi, great job. I have performed the procedure as explained above but I am unable to pair ZBR3. I’ve tried a lot time the procedure (Power on, wait 2 seconds, power off, repeat this cycle three times.) but nothing happens. Other device with original firmware join properly. Can you help me please? Thanks a lot
Owner
Please, try to configure the firmware for Input 2 / Output 2 instead.
Moreno
Fantastic! It Works Thank you!
Wojtek
Hello; Could you please provide me some hints how to configure your Firmare with sensor DS18b20 with BasicZBR3?
If i’m good understand i have to connect DATA pin of the sensor and P22, GND->GND, VDD -> +3.3V ?
Thx
Owner
Sorry about the delay. Yes, you are correct. Of course, you should configure the corresponding pin in my firmware for DS18B20.
Wojtek
Hello, could you please configure for me your firmware for DS18B20 and attach here, so i can check how to? thx Wojtek
Frans Hettinga
How can yo flash this module? Do i need to get in into a boatloader mode?
When connecting the debugger, the devices power on and works normaly, but Flash Programmer doesn’t recognize the CC2530, so i can’t flash.
used this diagram to connect: https://ptvo.info/wp-content/uploads/2018/06/smartrf04eb-pinout.png
Wojtek
Hello, i asked you to help me set corectly your firmare.
So i need ZBR3 as end devide with sensor ds18b20.
I flashed with your changed firmare settings like on the movie https://youtu.be/3UjxpMMEJuo but after that ZBR3 can’t pair see movie https://youtu.be/5twaA0MNm2s
Please take a look on that and help me set your firmare corectly.
If you can please send me your example hex.
thx Wojtek
Owner
Please, configure DS18B20 on the first input, your button on Input2, and a relay on Output2.
Wojtek
Hello, it works paired. Question i configure DS18B20 on the first input as P22, and connected DATA pin of the sensor to P22, GND->GND, VDD -> +3.3V but in logs i have
payload ‘{“linkquality”:49,”state”:”OFF”,”state_l2″:”ON”,”temperature”:35.62}’
what do add to the configuration ?
– platform: “mqtt”
state_topic: “zigbee2mqtt/0x00124b001b78b5df/I1”
availability_topic: “zigbee2mqtt/bridge/state”
unit_of_measurement: “°C”
device_class: “temperature”
value_template: “{{ value_json.temperature }}”
thx Wojtek
Owner
You are receiving a temperature value. What would you like to add?
Wojtek
Hello
Mqtt shows me log with temperature, but this is not the temperature from DS18B20
The Value doesn’t change and has 35.62.
Zigbee2MQTT:info 2020-11-09 20:15:43: MQTT publish: topic ‘zigbee2mqtt/0x00124b001b78b5df’, payload ‘{“linkquality”:54,”state”:”OFF”,”state_l2″:”ON”,”temperature”:35.62}’
I think this is sonof zbr3 temp and not from external DS18B20.
Owner
It looks like the firmware cannot detect your sensor. Try to power off the device and start again.
Wojtek
Hi , according to
https://www.zigbee2mqtt.io/devices/ptvo.switch.html
ZBR3 should read input 1 with P22 where i conected DS18B20 to DATA
sensor:
– platform: “mqtt”
state_topic: “zigbee2mqtt/”
availability_topic: “zigbee2mqtt/bridge/state”
value_template: “{{ value_json.l1 }}”
Wojtek
Hello, i used ZBR3 with DS18B20 with your firmare and from time to time ZBR3 lost conection and i have to pair it again. Can you help on that issue ?
Logs from mqtt
Zigbee2MQTT:error 2020-12-09 22:24:59: Publish ‘set’ ‘state’ to ‘0x00124b001b78b5df’ failed: ‘Error: Command 0x00124b001b78b5df/2 genOnOff.on({}, {“timeout”:10000,”disableResponse”:false,”disableRecovery”:false,”disableDefaultResponse”:false,”direction”:0,”srcEndpoint”:null,”reservedBits”:0,”manufacturerCode”:null,”transactionSequenceNumber”:null}) failed (Timeout – 1681 – 2 – 178 – 6 – 11 after 10000ms)’
Zigbee2MQTT:info 2020-12-09 22:24:59: MQTT publish: topic ‘zigbee2mqtt/bridge/log’, payload ‘{“message”:”Publish ‘set’ ‘state’ to ‘0x00124b001b78b5df’ failed: ‘Error: Command 0x00124b001b78b5df/2 genOnOff.on({}, {\”timeout\”:10000,\”disableResponse\”:false,\”disableRecovery\”:false,\”disableDefaultResponse\”:false,\”direction\”:0,\”srcEndpoint\”:null,\”reservedBits\”:0,\”manufacturerCode\”:null,\”transactionSequenceNumber\”:null}) failed (Timeout – 1681 – 2 – 178 – 6 – 11 after 10000ms)'”,”meta”:{“friendly_name”:”0x00124b001b78b5df”},”type”:”zigbee_publish_error”}’
Owner
Please, update the firmware. This problem may appear on some routers. I’ve fixed it in the latest version.
Filip
Hey!
Would it be possible to disable the router feature with your firmware configurator?
I have an issue with two Sonoffs (CC2530) struggling to route the signal (they are so weak…). The outcome is that another CC2530 (DYI light switch) connects to both of them instead of picking “stronger” routers (that it was connecting before). Finally, it often loses the signal from those two Sonoffs and does not pick the better routers…
Owner
The current version does not have such a feature.
Filip
Do you consider implementing such feature in the future? It would be much useful.
Anyways thanks for your work! This is so cool.
Sergey
One additional observation…
Each time I turn on the board configured with DHT22 as Output2, P0_2 has the next logic:
– near 1s – pin is released
– 20s – pulled down
– released all the time
Seems like step 2 should be 18ms instead of 20s and then fw should listen for DHT22 sensor
Also, if sensor is offline than fw can repeat all the steps after N seconds (e.g 10-30s)
PS: Pulse generator was tested and works fine on P0_2
Serhii
Hi! Could you help me with SonoffZBR3? Does it support DHT22? Can’t configure it (
Thanks!
Owner
Hi. I don’t see unused pins to connect an external sensor. You may try to configure my firmware to use P22 for that sensor. But the sensor should be detachable. Connect DATA pin of the sensor and P22. GND->GND, VDD -> +3.3V.
Sergey
Still can’t work =(
I tried all the cases:
OUT2 P22 DHT22 ExtPullUp
INP2 P22 DHT22 ExtPullUp
With/without external pullUp resistor
I tried P21 instead of P22
But always I have similar results like “{“state_bottom_left”:”OFF”,”linkquality”:94,”state”:”OFF”}” without temp and humid
Do you have any idea whats wrong?
Sergey
Sensor is Ok. Just tested it with RaspberryPi
* Also I tried 3.3v and 5v as input…
Owner
Did you configure a report interval? Did you wait for a value this time?
Sergey
Yes
I configured Input2 (or output2) P22 DHT22 External pullup
I configured reporting interval 20s
After flashing I connected P22 to led (to see status of p22)
So, seems like P22 works as input and don’t send any signals to DHT22
Maybe we can discuss it by skype?
Owner
Sorry, I don’t have skype. Do you have the possibility to try to connect another sensor? For example, DS18b20?
Sergey
Hi
Unfortunately I don’t have another type of sensors
DHT22 still not works. I tried all the cases. Seems like FW doesn’t pull down pin for 18ms to initiate DHT
I soldered an additional wire to P02. It works well as GPIO input/output. It works as software PWM output (I see it into mqtt logs as “l2″:255” but I can’t change it by mqtt commands
zigbee2mqtt/0x00124b001e731483/set/l2
zigbee2mqtt/0x00124b001e731483/l2/set
and any number 0-255 as data doesn’t work as expected
I’m ready to test your fw with sonoff zbr3 but I’d like do it a bit faster
I don’t really like skype but maybe you can register a new account? I’ll be able to send you video how it works for me
Also I’m waiting for another cc2530 chips so I’ll be ready to test them too
Thanks
Andreas
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.