Multiple devices with the same name

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
SvnKswttr
Normal user
Posts: 14
Joined: 25 Feb 2019, 12:52
Location: Germany

Multiple devices with the same name

#1 Post by SvnKswttr » 26 Feb 2019, 08:27

Hi folks!
I have a Wemos D1 mini with the ESPEasy up and running publishing data from different sensors to MQTT.
For the ease of comparing the data I set the 3 devices (DS18B20, BME280 and BMP180) with the same name "SensorData" but changes the "Value names" to be unique.
During the setup I got an error that the device name is not unique;
Sensors02.PNG
Sensors02.PNG (34.8 KiB) Viewed 2009 times
The strange thing is that it was saved anyway to the system and it's working great:
Sensors01.PNG
Sensors01.PNG (65.38 KiB) Viewed 2009 times
Mosquitto shows the data on the console well:
Sensors03.PNG
Sensors03.PNG (7.41 KiB) Viewed 2009 times
Is this a "bug" or feature?
Sven

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Multiple devices with the same name

#2 Post by grovkillen » 26 Feb 2019, 08:45

That is a bug, and it's reported (and fixed I thought). What version are you on?

What happens is that you have the same name on some of the other tasks but it's not visible in the GUI only in the settings registry. So the OS looks at the registry and see that it's the same name as another task but it (did, should do now) doesn't look and see if the task is an active task. If it's not then it shouldn't warn like it did.
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 :idea: :idea: :idea:

SvnKswttr
Normal user
Posts: 14
Joined: 25 Feb 2019, 12:52
Location: Germany

Re: Multiple devices with the same name

#3 Post by SvnKswttr » 26 Feb 2019, 09:23

Version from today: ESP_Easy_mega-20190226_normal_ESP8266_4M.bin

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 96 guests