The firmware supports up to 8 sensors on one line. If you didn’t specify the sensor ID in the settings, the firmware sends all values to one endpoint but with a different description like “C,00-00-00-00-00” (unit, comma, device ID).
You may specify the same pin number, sensor type, and sensor ID on different endpoints. In this case, the firmware will send the sensor value to the corresponding endpoint.

Here is the great tutorial with four DS18B20 sensors and HA integration.
Daniel
Hi. in the description you write that there can be up to 4 sensors on a bus. in the comment you write but there can be up to 7 sensors. are 7 sensors allowed on one pin or do i have to put 4 sensors on one pin and the other 3 on another pin? I am a bit confused. thank you.
Owner
Yes, you can add up to 8 sensors on one pin. I’ve changed the information on the page.
Ken
Hi
I am a little confused.
Why are you configuring the sensors as outputs, should it be input on the CC2530?
Owner
Input/output does not matter for sensors. It is just a place for the settings.
Thomas
Hi, i would like to build 3 devices with 6 sensors and 1 with 4 sensors. Is that possible or do only 4 sensors always work?
I once designed a PCB and presented it in the ioBroker forum
https://forum.iobroker.net/topic/49755/ds18b20-mit-cc2530
Owner
You can add up to seven DS18B20 to your configuration.
Thomas
But I need the premium version for the number of devices and then 4 times, right?
Owner
No, the free version allows you to add 7 sensors too. Please note, that all sensors should be on one bus, or you should specify the sensor ID in the settings for each channel.
Gabriel
Hi. I’m using Home Assistant with ZHA instead of Zigbee2Mqtt. Using the firmware as proposed here, device is connected (message received in log) but there is no “Entity” showing the Actual Value. Do you think I’m doing something wrong?
Owner
It seems that ZHA has limited support for DIY devices, and I cannot help here.
Tomas
Hi, I try connect 6 sensors like inputs, each sensor on own pin, but i receive data only from first sensor. I chose this solution because I want change sensor time to time so can’t set sensors IDs and use one pin (bus).
Is this configuration possible/supported?
Anyway, thank you a lot for great work, Tomas
Wacsy LEE
Can DS18B20 used in the PSM, please?
Owner
Yes, you can. But you should connect the VCC line of the sensor to P10 or P11 pins and configure External power control for this sensor.