More than on DS18b20 on a string.
Moderators: grovkillen, Stuntteam, TD-er
More than on DS18b20 on a string.
Hi again
Is it possibly to have more than one DS18B20 on a string.?
Is it possibly to have more than one DS18B20 on a string.?
5xESP-01 - 3xESP-12 - 2xESP-12E 3xRPIb+ - 1xBPIm1 - 3xACTi DOME - 7xACTi Indoor cam. Lot off cisco equ.
Re: More than on DS18b20 on a string.
By looking at the code it seems only one device is currently supported. For multiple devices to be supported, the software should support scanning of the 1-wire bus, and the UI needs to be updated to provide a specific idx/name for each device. However, this would be very useful for people with existing 1-wire busses, that often includes several devicesasm7100 wrote:Is it possibly to have more than one DS18B20 on a string.?
- Jan
Jan Chrillesen, Denmark
Re: More than on DS18b20 on a string.
Currently not supported. You can connect more than one DS18b20 to ESP Easy but each one should get it's own GPIO pin.asm7100 wrote:Hi again
Is it possibly to have more than one DS18B20 on a string.?
Next version will overcome this limitation. Within the task settings, you will be able to select the individual device on the bus.
Re: More than on DS18b20 on a string.
// R22 25-09-2015
// Using Spiffs filesystem support for configuration settings
// All configuration settings are now stored into the ESP filesystem.
// Task string fields are now dynamically loaded from spiffs when needed. Saving RAM...
// Optimize RAM usage by changing device structure array and handling of device strings
// Added option to load and save ESP configuration settings from/to file
// Cleanup all fields when a task is cleared or device is changed
// Moved keys and passwords to a separate file
// Added option to change valuenames (mainly MQTT purpose)
// MQTT publish & subscribe settings can be changed using a template
// Moved some advanced settings to tools/system/advanced button
// Dallas plugin now supports multiple devices on the same bus
Now supported on R22 version
Re: More than on DS18b20 on a string.
Nice, keep up the good work
5xESP-01 - 3xESP-12 - 2xESP-12E 3xRPIb+ - 1xBPIm1 - 3xACTi DOME - 7xACTi Indoor cam. Lot off cisco equ.
diced Values
Hi,
I thing we had a problem regarding the values of the different sensors and the sending to their corresponding parameters. It´s look like a ESP with
dementia.
Attached are one file of the output. At first 3 Sensors are online, i put one away and hoped that these sensor got none value.
These problem i also find at one PCF8591. Fixed values on 4 Ports and hopping values received.
Hope u got a solution.
best wishes from the elbe.
BerndJ
I thing we had a problem regarding the values of the different sensors and the sending to their corresponding parameters. It´s look like a ESP with
dementia.
Attached are one file of the output. At first 3 Sensors are online, i put one away and hoped that these sensor got none value.
These problem i also find at one PCF8591. Fixed values on 4 Ports and hopping values received.
Hope u got a solution.
best wishes from the elbe.
BerndJ
- Attachments
-
- serial 18B20 mismatch.png (96.58 KiB) Viewed 14432 times
Enlighning
Hi,
last night same problems.
I found only two devices on the 1-Wire Bus. cable problems at one sensor are the problem.
the ESP device sends 3 values!!, one are doubled.
After solving the cable problem we had problems regarding the third one. The 3 was on position 2 and old position 2 i could see on position 3.
I think we had to pair the IDx and the device nr with the ROM ID and to store these paired values in the settings.
Also should bee added a routine to send value 0 if one stored ROM ID could´nt find.
BerndJ
last night same problems.
I found only two devices on the 1-Wire Bus. cable problems at one sensor are the problem.
the ESP device sends 3 values!!, one are doubled.
After solving the cable problem we had problems regarding the third one. The 3 was on position 2 and old position 2 i could see on position 3.
I think we had to pair the IDx and the device nr with the ROM ID and to store these paired values in the settings.
Also should bee added a routine to send value 0 if one stored ROM ID could´nt find.
BerndJ
Re: Enlighning
It already works like that. IDX and the 8 byte ROM Address are stored in the task settings. So there must be something else wrong with the logics...BerndJ wrote:...I think we had to pair the IDx and the device nr with the ROM ID and to store these paired values in the settings.
BerndJ
Up until now, we had to focus on a lot of other things, but now we have time to do some more testing with multiple DS18b20 on a single wire.
I agree. This is also true for other plugins. When we started, focus was on 'getting things to work' and not on "what to do if it suddenly fails".BerndJ wrote:...Also should bee added a routine to send value 0 if one stored ROM ID could´nt find.
We will spend some time on making the code more resilient to errors.
Re: More than on DS18b20 on a string.
Hello,
I have a question about the use of more than 1 ds18b20 sensor on a string, in the setup overview i see my 2 connected devices, device number 1 and 2.
How can i use the second sensor variable in Domoticz?, only the choosen device number is transmitted.
My ESP is running on version 40.
I have a question about the use of more than 1 ds18b20 sensor on a string, in the setup overview i see my 2 connected devices, device number 1 and 2.
How can i use the second sensor variable in Domoticz?, only the choosen device number is transmitted.
My ESP is running on version 40.
Re: More than on DS18b20 on a string.
Use a second task for the second sensor, select the second dallas and the idx for that sensor in Domoticzandreo wrote:Hello,
I have a question about the use of more than 1 ds18b20 sensor on a string, in the setup overview i see my 2 connected devices, device number 1 and 2.
How can i use the second sensor variable in Domoticz?, only the choosen device number is transmitted.
My ESP is running on version 40.
Re: More than on DS18b20 on a string.
4 on a string, cable length 1 m, Pull up 4k7 on each DS18B20
Paco
Re: More than on DS18b20 on a string.
You shouldn´t have a pull-up on each sensor, only one in the whole System.
It still works for you, but your total pull-up is now about 1.2 KOhm
It still works for you, but your total pull-up is now about 1.2 KOhm
Re: More than on DS18b20 on a string.
I know about the Pull up is now much lower.
This was just a quick test and the DS18b20 units I had for test where all already equipped with a resistor.
Paco
This was just a quick test and the DS18b20 units I had for test where all already equipped with a resistor.
Paco
Re: More than on DS18b20 on a string.
Thanx for explanation, works fine for me.andreo wrote:Hello,
I have a question about the use of more than 1 ds18b20 sensor on a string, in the setup overview i see my 2 connected devices, device number 1 and 2.
How can i use the second sensor variable in Domoticz?, only the choosen device number is transmitted.
My ESP is running on version 40.
Re: More than on DS18b20 on a string.
working like a charm!
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.
Who is online
Users browsing this forum: No registered users and 13 guests