


Well there’s no mention of parasitic mode in the release notes back to V8.4. It is implemented in Arduino but that doesn’t mean it works in Tasmota.
If you have a Template activated it can cause issues with what you are able to select. Deactivate any Template you have, go to Configuration>Configure Module and select Generic. After it reboots select the D18x20 against GPIO4 and connect the DS18B20 in the normal 3 connections mode – it may work without a pullup if the cable is short.
If it doesn’t appear try the SetOption to see if that helps.
One you have it working with conventional wiring you can then try parasitic mode.
Regards
Phil K
Sent from Mail for Windows
I'm quite sure parasite mode has been implemented in Tasmota but yes, you've totally right: temperature doesn't come from DS18B20. It seems that the sensor is not seen by the sonoff mini: if I use as a base for the template "sonoff TH (4)" and I go to the "configure module" , sensor DS18B20 doesn't show up in GPIO4 and even if I select it from the drop down list, it's not retained.
I don't know how to proceed...
Il giorno lunedì 3 gennaio 2022 alle 09:36:45 UTC+1 knowles...@gmail.com ha scritto:
BTW I'm not sure whether parasitic mode has been implemented on Tasmota yet so may be worth trying with a 3 wire connection
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 8:23:20 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
That is from the ADC not the DS18B20. It would be prefixed by DS18B20 if it was the sensor. Need to check your wiring and the page I sent
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of gl alone <gianluca...@gmail.com>
Sent: Monday, January 3, 2022 7:51:36 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
I knew the SetOption74 command and I used it; unfortunately it doesn't change anything. B.T.W. I said something wrong: ADCO = 2 is not the only way to read the temperature: I attach per your request the UI with SetOption74 ON and ADCO = 0
NB I really appreciate your efforts !
Il giorno lunedì 3 gennaio 2022 alle 08:27:58 UTC+1 knowles...@gmail.com ha scritto:
Can you attach a screenshot of the UI I suspect the reading you are seeing is the voltage on the ADC. If you read the page it tells you that you need to use a SetOption to bring in the internal pull up.
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of gl alone <gianluca...@gmail.com>
Sent: Monday, January 3, 2022 6:14:40 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
Thanks for your prompt reply. Back to your questions/suggestions:
I do not have a pullup resistor as I've read that it's mandatory only in case of multiple da18b20. Am I wrong ?
If I don't set ADC0 to 2 (temperature) I don't see any temperature at all
Il giorno lunedì 3 gennaio 2022 alle 04:48:23 UTC+1 knowles...@gmail.com ha scritto:
Please read this too.
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 3:42:32 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
BTW ADC0 Temperature is for when you are measuring a temperature on the Analogue input
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 3:39:15 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
DS18B20s give a high reading when the connection is poor. Do you have a pullup resistor?
Regards
Phil K
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of gl alone <gianluca...@gmail.com>
Sent: Monday, January 3, 2022 12:15:57 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Sonoff mini and DS18b20
I'm trying to connect a ds18b20 to a sonoff mini (fw tasmota.bin 8.3.1)...without success: I'm able to read the temperature but
1) it's way too high (in house temperature around 100° C while should be around 22° C)
2) it's not stable: it quickly fluctuates between 95° and 104° C
What I did
wiring is done in parasite mode: gnd and vcc on S1 and data on S2
sonoff mini as base for the configuration template with GPIO4 DS18x20 (4) and ADC0 (FLAG)= 2 (temperature)configuration module as in picture
What is wrong ?
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/aa84381b-357d-4b5d-89fd-c9156d6f6735n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/44287163-8d8d-4db9-a4cf-b790c8e12c56n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/e80bac3d-8555-4ec5-b729-d306812133fcn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/444f755f-ac20-44e4-b5ce-ed6e30565823n%40googlegroups.com.
On Jan 3, 2022, at 8:34 AM, Philip Knowles <knowles...@gmail.com> wrote:
Well there’s no mention of parasitic mode in the release notes back to V8.4. It is implemented in Arduino but that doesn’t mean it works in Tasmota.If you have a Template activated it can cause issues with what you are able to select. Deactivate any Template you have, go to Configuration>Configure Module and select Generic. After it reboots select the D18x20 against GPIO4 and connect the DS18B20 in the normal 3 connections mode – it may work without a pullup if the cable is short.If it doesn’t appear try the SetOption to see if that helps.One you have it working with conventional wiring you can then try parasitic mode.RegardsPhil KI'm quite sure parasite mode has been implemented in Tasmota but yes, you've totally right: temperature doesn't come from DS18B20. It seems that the sensor is not seen by the sonoff mini: if I use as a base for the template "sonoff TH (4)" and I go to the "configure module" , sensor DS18B20 doesn't show up in GPIO4 and even if I select it from the drop down list, it's not retained.I don't know how to proceed...
Il giorno lunedì 3 gennaio 2022 alle 09:36:45 UTC+1 knowles...@gmail.com ha scritto:
BTW I'm not sure whether parasitic mode has been implemented on Tasmota yet so may be worth trying with a 3 wire connection
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 8:23:20 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
That is from the ADC not the DS18B20. It would be prefixed by DS18B20 if it was the sensor. Need to check your wiring and the page I sent
<23E17C7FAE6F4596AA97C45C5D36555C.png>
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of gl alone <gianluca...@gmail.com>
Sent: Monday, January 3, 2022 7:51:36 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
I knew the SetOption74 command and I used it; unfortunately it doesn't change anything. B.T.W. I said something wrong: ADCO = 2 is not the only way to read the temperature: I attach per your request the UI with SetOption74 ON and ADCO = 0NB I really appreciate your efforts !
Can you attach a screenshot of the UI I suspect the reading you are seeing is the voltage on the ADC. If you read the page it tells you that you need to use a SetOption to bring in the internal pull up.
<6DACA2AD26F547B8834DAAB4F233919A.png>
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of gl alone <gianluca...@gmail.com>Sent: Monday, January 3, 2022 6:14:40 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
Thanks for your prompt reply. Back to your questions/suggestions:I do not have a pullup resistor as I've read that it's mandatory only in case of multiple da18b20. Am I wrong ?If I don't set ADC0 to 2 (temperature) I don't see any temperature at all
Il giorno lunedì 3 gennaio 2022 alle 04:48:23 UTC+1 knowles...@gmail.com ha scritto:
Please read this too.
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 3:42:32 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
BTW ADC0 Temperature is for when you are measuring a temperature on the Analogue input
<5BAF5FA5DC634C2A864AC6323A3AF6C4.png>
From: Philip Knowles <knowles...@gmail.com>
Sent: Monday, January 3, 2022 3:39:15 AM
To: gl alone <gianluca...@gmail.com>; TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Sonoff mini and DS18b20
DS18B20s give a high reading when the connection is poor. Do you have a pullup resistor?RegardsPhil K
<68E1E394BE6149A8AA7862742982F177.png>
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/C2824296-5C26-4BE0-B78F-E7C0C5C6E61E%40hxcore.ol.

Yes, but the point was that it wasn’t working. I said get it working in the ‘normal’ mode before trying parasitic. It’s best to try to fix one thing at a time.
From: Eric Jansen
Sent: 19 February 2022 20:22
To: TasmotaUsers
Subject: Re: Sonoff mini and DS18b20
Tasmota supports onewire parasite mode for the DS18b20 , use the following template for the sonoff mini:
{"NAME":"Sonoff Mini","GPIO":[32,0,0,0,1,0,0,0,224,320,0,0,1,0],"FLAG":0,"BASE":1}
GPIO4 (external swich connection on the sonoff mini) already has internal pullup enabled, connect the DS18b20 in parasite mode to the 2 black terminals.
Under Tasmota 'Configure Model' assign GPO4 as 'DS18x20'
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/49a3f3ad-93d0-4242-9fdc-c457bc7eb6afn%40googlegroups.com.