Multi sensor ds18b20 on Tasmota firmware

Everything about esp8266 and more.
Post Reply
jordantheripper
Posts: 7
Joined: Sunday 17 December 2017 17:08
Target OS: Raspberry Pi
Domoticz version: 3.9208
Location: Italy
Contact:

Multi sensor ds18b20 on Tasmota firmware

Post by jordantheripper » Tuesday 20 February 2018 19:00

Hi people, this is jordan from italy.
first of all I have raspberry pi 3 with domoticz on board.
I have a little question for you. Yestarday I flash tasmota firmware on nodemcu v3 using arduino ide. It really works fine.
i decided to put temperature sensor that consists of three DS18B20 sensors wired in parallel (sharing the same digital serial data bus) to digital pin 4 on the ESP8266. Infact, as you can see, it works great
multi ds18b20.jpg
multi ds18b20.jpg (56.47 KiB) Viewed 1661 times
to do this I change line in USER_CONFIG.H:
#define USE_DS18x20 // Optional for more than one DS18x20 sensors with id sort, single scan and read retry (+1k3 code)
but in tasmota, i can just use one idx of domoticz to see temperature. so, how i can see other temperature sensor in domoticz?
may be i have to write idx in USER_CONFIG.H just before flshing tasmota, but I don't know why. :roll: :roll:
thanks in advance

User avatar
emme
Posts: 943
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Multi sensor ds18b20 on Tasmota firmware

Post by emme » Tuesday 20 March 2018 9:30

Ciao,

I had to many problems using DS18b20 on NodeMCU due to the fact that is does not well supports 1wire bus...
I'm quite curious about your code... would you mind to share it?

Instead of flashing nodeMCU firmware I used MySensors WiFi Gateway on the device and have splitted the DS18B20 on a ATMega128 using the NRF24PA radio... but of course if there is a way to use it.. I would prefer!!! :D :D

Ciao
M

P.S.
in the code of your formware you have to specify the http request to update the right temp sensors in domoticz...
or at leat have domoticz gather the info form a specific page (API-JSON) on the NodeMCU web server.
the second way is preferred, but depending on your code, the api/page address could change
The most dangerous phrase in any language is:
"We always done this way"

kimot
Posts: 55
Joined: Saturday 25 November 2017 18:18
Target OS: Raspberry Pi
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Multi sensor ds18b20 on Tasmota firmware

Post by kimot » Thursday 22 March 2018 0:45

I do not know Tasmota,

but if you flash ESPeasy firmware, you can send as many temperatures as number of sensors you can connect.

At least with rules.

User avatar
Derik
Posts: 2185
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Multi sensor ds18b20 on Tasmota firmware

Post by Derik » Saturday 25 August 2018 20:58

Someone have multiple dallas working on the tasmota?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

User avatar
Derik
Posts: 2185
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Multi sensor ds18b20 on Tasmota firmware

Post by Derik » Sunday 23 September 2018 13:52

Kick
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest