TASMOTA SCRIPTING How to read DS18b20 and ANALOG A0 value in script?

625 views
Skip to first unread message

Grzegorz B.

unread,
May 29, 2022, 10:16:17 AM5/29/22
to TasmotaUsers
I have Wemos D1 mini and can't read values of DS18b20 on  D0 GPIO16 and analog value of A0 connected to Capactive soil moisture sensor v 1.2
SENSOR = {"Time":"2022-05-29T14:57:55","ANALOG":{"pH0":13.55},"DS18B20":{"Id":"0000000C2CDF","Temperature":22.6},"TempUnit":"C"}

value of analog in  Rules (not Scripting) is shown under ANALOG#pH0. Temperature not checked
Tasmota 11.1.0
How to display values of PH and TEMPERATURE in tasmota Script ?

Philip Knowles

unread,
May 29, 2022, 12:23:52 PM5/29/22
to Grzegorz B., TasmotaUsers

If you read this page

DS18x20 temperature sensor - Tasmota

you will see that the DS18B20 is not supported on GPIO16 – it’s the Wake pin

 

Regards

 

Phil K

 

Sent from Mail for Windows

--
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/7b8085a2-7a86-4f8a-8ea4-4185a395cf4cn%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages