Page 1 of 1
BLE to MQTT mapping
Posted: Friday 03 November 2023 13:02
by Dave21w
I have an ESP32 running the Open MQTT Gateway, some devices like temp sensors are picked up straight away, passed to my broker and get imported in to Domoticz without issue. I understand this cannot be the case for all devices so I have the MQTT Mapper plugin installed and have created the json file with the device info.
The device actually appears in the Domoticz devices list with the icon at the end of the line in blue showing it is a used device but it does not appear on any device pages. I've read about creating a dummy device of the correct type but how do I link it to one already created etc ?
TIA
Dave
Re: BLE to MQTT mapping
Posted: Saturday 04 November 2023 0:46
by waltervl
Do you have devices assigned to you as an admin in menu setup users? If yes empty this list and all your devices should appear in the correct tab.
Next devices discovered with OpenMQTT should be discovered in Domoticz unless it is an unsupported device. So for what type of device is the MQTT Auto discover not working?
Re: BLE to MQTT mapping
Posted: Monday 06 November 2023 11:21
by Dave21w
Hi waltervl,
I've checked for assigned devices but nothing assigned to me, just a list of all those available.
I'm trying to add an iTag tracker and Nut tracker, here is what I see in my used devices list.

- MQTT Mapper.jpg (58.04 KiB) Viewed 723 times
Even though they say used I can't find them anywhere else.
Thanks
Dave
Re: BLE to MQTT mapping
Posted: Monday 06 November 2023 23:13
by waltervl
It looks like these are not supported in Domoticz, subtype unknown sounds like a configuration error somewhere.
What do you expect these devices to show in Domoticz? A text device? An On/Off switch?
Re: BLE to MQTT mapping
Posted: Tuesday 07 November 2023 16:02
by Dave21w
I was hoping to use the rssi value to determine distance / presence of the device. I didn't really expect it to be directly supported however I was under impression I could create a dummy device and map the value to this. I'm trying to follow the instruction here but I'm obviously missing something.
https://github.com/FlyingDomotic/domoti ... per-plugin
Thanks
Dave
Re: BLE to MQTT mapping
Posted: Tuesday 07 November 2023 17:02
by waltervl
Then you better share your mapping and the mqtt message it uses in the topic
viewtopic.php?t=39279