diyruz / diyruz_rt

Single relay with ds18b20 sensor for TI cc2530 and Sonoff Zigbee
MIT License
60 stars 25 forks source link

Zigbee firmware hex for the Sonoff BASICZBR3 with DS18b20 as Enddevice #9

Open rogu22 opened 3 years ago

rogu22 commented 3 years ago

Hello,

I test Sonoff ZBR3 with your first release firmare with temperature sensor DS18b20. I use this relay for control electric heater in water tank. In HA with mqtt i see temperature from sensor DS18b20. Generally is working but from time to time i have error 'No network route' and i have to unpair and pair again. My coordinator is 5m away from ZBR3. I think there is an issue with two devices (CC2530) struggling to route the signal (they are so weak…). The outcome is that another CC2530 (BlitzWolf BW-SHP13) connects to both of them instead of picking “stronger” routers (that it was connecting before). Finally, it often loses the signal from these Sonoffs DS18b20 with and does not pick the better routers…

Would it be possible to disable the router feature with your firmware as the second release? So this BASICZBR3 will work as Enddevice ?

For your information i tested firmare "Zigbee Configurable Firmware v2.5" from "PTVO" with router and without router and this modded firmare can't show temperature from sensor DS18b20.

So please add second release with the source code but as only Enddevice.

waiting for your fedback. Thx Wojtek

kirovilya commented 3 years ago

I do not plan to modify another version of the firmware. you can try building it yourself.

As for the ptvo configurator, DS18b20 sensors should work there. you may not have configured it

rogu22 commented 3 years ago

Hello ,

thank you for your answer, i don't know how to build it. But back to PVTO firmare i prepare firmare input/output like on that attached movie https://youtu.be/t8f4HUBQveg, maybe you can take a look and write your opinion?

Board type: CC2530 (without external oscillator, like Sonoff BasicZBR3) Device type: End device without routing Power saving mode (PSM): No Status LED: Yes Default reporting interval (s): 30

Output pins: P07: Output 2, GPIO, Pull-up, Remember state

Input pins: P22: Input 1, DS18B20, External pull-up P13: Input 2, GPIO, Pull-up, Link to out 2

ptvoinfo commented 3 years ago

@rogu22 These settings should work. Did you change something on the Expert tab? Try to use the "Pull-up" mode for Input 1.

rogu22 commented 3 years ago

Hi now it works

in mqtt i have log?: Zigbee2MQTT:info 2020-11-13 15:01:46: MQTT publish: topic 'zigbee2mqtt/0x00124b001b78b5df', payload '{"device_l1":"28-1C-3F-50-22-20-01-4F","l1":23,"linkquality":36,"state":"OFF","state_l2":"ON","temperature":35.62,"temperature_l1":23}'

question what i have write in the configuration to present this information from input I1?