BLE to MQTT mapping

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Dave21w
Posts: 407
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

BLE to MQTT mapping

Post 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
User avatar
waltervl
Posts: 6690
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: BLE to MQTT mapping

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 407
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: BLE to MQTT mapping

Post 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
MQTT Mapper.jpg (58.04 KiB) Viewed 717 times
Even though they say used I can't find them anywhere else.

Thanks
Dave
User avatar
waltervl
Posts: 6690
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: BLE to MQTT mapping

Post 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?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Dave21w
Posts: 407
Joined: Sunday 29 November 2015 21:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: UK
Contact:

Re: BLE to MQTT mapping

Post 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
User avatar
waltervl
Posts: 6690
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: BLE to MQTT mapping

Post by waltervl »

Then you better share your mapping and the mqtt message it uses in the topic viewtopic.php?t=39279
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest