EasyESP Mega ds18b20 MQTT
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Forum rules
You have entered the experimental forum, beware!!!
You have entered the experimental forum, beware!!!
EasyESP Mega ds18b20 MQTT
Hallo all,
I´m new with EasyESP.
I use the latest Dev, and connect two pulse counter and serval DS18b20. All of them are send via MQTT to the broker.
Some days that are working without any issue. Then some of the DS18b20 stops send to the broker, but the pulse counter working properly. By the website the DS18b20 showing the value correct.
I try allready to flash the latest dev again and set all the devices again. But i can´t get them working again.
Anyone an idea?
Thanks
I´m new with EasyESP.
I use the latest Dev, and connect two pulse counter and serval DS18b20. All of them are send via MQTT to the broker.
Some days that are working without any issue. Then some of the DS18b20 stops send to the broker, but the pulse counter working properly. By the website the DS18b20 showing the value correct.
I try allready to flash the latest dev again and set all the devices again. But i can´t get them working again.
Anyone an idea?
Thanks
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: EasyESP Mega ds18b20 MQTT
Why do you need the Dev version when you only use stable DS18B20 and stable pulse counter?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: EasyESP Mega ds18b20 MQTT
Ok, i try also the stable version. Same issue.
I test some more around. If i define the ds18b20 as task 1 there are no problems i get the temp. via mqtt.
But if i define the pulse counter as task 1 and ds18b20 as maybe task 2 it will not send out as mqtt.
Any idea?
I test some more around. If i define the ds18b20 as task 1 there are no problems i get the temp. via mqtt.
But if i define the pulse counter as task 1 and ds18b20 as maybe task 2 it will not send out as mqtt.
Any idea?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: EasyESP Mega ds18b20 MQTT
Try DS18B20 on task 5 instead.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: EasyESP Mega ds18b20 MQTT
It´s the same if i use DS18B20 as task5. (no send via MQTT)
Attached the log response.
Attached the log response.
Code: Select all
246449: DS : Temperature: 26.75 (28-44-ae-cc-5-0-0-38)
251450: DS : Temperature: 26.75 (28-44-ae-cc-5-0-0-38)
256449: DS : Temperature: 26.69 (28-44-ae-cc-5-0-0-38)
261450: DS : Temperature: 26.75 (28-44-ae-cc-5-0-0-38)
266449: DS : Temperature: 26.75 (28-44-ae-cc-5-0-0-38)
271450: DS : Temperature: 26.69 (28-44-ae-cc-5-0-0-38)
271792: LoopStats: shortestLoop: 44 longestLoop: 1507270 avgLoopDuration: 82.56 systemTimerDuration: 28.87 systemTimerCalls: 31 loopCou
271796: WD : Uptime 5 ConnectFailures 0 FreeMem 16936
- Attachments
-
- StromESP.JPG (141.25 KiB) Viewed 17272 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: EasyESP Mega ds18b20 MQTT
Remove the unused pulse counter tasks. If it still won't work, have only one active.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: EasyESP Mega ds18b20 MQTT
So strange.
1 Test) I test just two task. Pulse + DS18b20. Pulse will be send the DS18b20 not (checked via MQTT.fx scanning)
2 Test) As next i disable the pulse counter. With the same result no DS18b20 data.
3 Test) Just define one DS18b20 without any Pulse counter and the data will be send (MQTT.fx show them)
4 Test) Task 1 = DS18b20 Task 2 = Pulse Counter result = Both sending
5 Test) Task 1 = DS18b20 Task 2 = Pulse Counter Task 3 = Pulse counter Task 4 = DS18b20 Result first 3 Task will be send but Task 4 not
6 Test) Task 1 and 2 = Pulse Counter Task 3 - 6 DS18B20 Task 7 = BMP280 Task 8 and 9 DS18B20 Result: Pulse counter and BMP280 send but all DS18B20 not.
Looks like something to do with the pulse counter, after that no more DS18b20 possible.
Unfortunatly i need 7 DS18B20 sensors and 2 Pulse counter so i can´t let the DS18B20 on the first place due to the pulse counter can just be worke between Task 1-4
1 Test) I test just two task. Pulse + DS18b20. Pulse will be send the DS18b20 not (checked via MQTT.fx scanning)
2 Test) As next i disable the pulse counter. With the same result no DS18b20 data.
3 Test) Just define one DS18b20 without any Pulse counter and the data will be send (MQTT.fx show them)
4 Test) Task 1 = DS18b20 Task 2 = Pulse Counter result = Both sending
5 Test) Task 1 = DS18b20 Task 2 = Pulse Counter Task 3 = Pulse counter Task 4 = DS18b20 Result first 3 Task will be send but Task 4 not
6 Test) Task 1 and 2 = Pulse Counter Task 3 - 6 DS18B20 Task 7 = BMP280 Task 8 and 9 DS18B20 Result: Pulse counter and BMP280 send but all DS18B20 not.
Looks like something to do with the pulse counter, after that no more DS18b20 possible.
Unfortunatly i need 7 DS18B20 sensors and 2 Pulse counter so i can´t let the DS18B20 on the first place due to the pulse counter can just be worke between Task 1-4
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: EasyESP Mega ds18b20 MQTT
What version are you running? We might have a bug if you're running latest version.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: EasyESP Mega ds18b20 MQTT
Nodemcu withgrovkillen wrote: ↑11 Jul 2018, 20:06 What version are you running? We might have a bug if you're running latest version.
ESP_Easy_mega-20180710_normal_ESP8266_4096.bin
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: EasyESP Mega ds18b20 MQTT
Please report your findings to our GitHub issue list.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: EasyESP Mega ds18b20 MQTT
Yesterday I merged an update to sending measured values to a controller (sending to MQTT is a controller)
Also pulse counters may only work on the first few tasks. (first 4??)
Also pulse counters may only work on the first few tasks. (first 4??)
Who is online
Users browsing this forum: No registered users and 0 guests