You can do it in German with the images, I will translate. In the end we all speak the tech language
Sorry, was not allowed to send more messages yesterday (limit =11).
I look emal that I put together what the next few days.
Hello 1technophile, how can I send you a Word file?
Hello,
If you have google drive you can share it publicly and send me the link
Hello Fabian,
here is the release for the document, I hope it works.
In the meantime I have switched off OMG again.
The reason was that I had again several thousand mac addresses in my list.
At some point I made updates to iobroker and iobroker did not send the whitelist to the device.
I need to see how I can get the whitelist to be sent automatically when I reconnect.
Since I can’t program, I’ll do some research first.
A cause is possibly that in Iobroker only one line for the last command exists and in this line last something else than the Whitelist stood.
with 4 esp 32 the mac addresses multiply of course, because at least 2 of the esp scan the mac addresses.
Thanks for the support.
At the moment I am trying to find a manual in german for Homeassitant, which I can understand.
Will take a while, but that doesn’t scare me, I’ll get there eventually.
It does not hurt if you know 2 systems and can use.
iobroker has good german support and for me it is easier to get on with it, but I think I will also be able to behrschen HA at some point.
I’m going to go install HA in Proxmox
I don’t know IOBroker but maybe search how it behaves with the retain flag of MQTT standard.
Cool
Hello everyone,
I am trying to enter the command for the permanent whitelist directly into the console of the web interface without success. Where or how should the “-r” be appended?
I have entered the following command:
commands/MQTTtoBT/config {“white-list”:[“xx:xx:xx:xx:xx:xx”, “xx:xx:xx:xx:xx:xx:xx”]} this works until the ESP32 is disconnected from the power supply.
I have discarded other methods, e.g. MQTT Explorer, as I can’t cope with them at all.
Sorry to jump on this topic but as it is mainly talking about white list management I would like to know how I can delete a persistent whitelist I previously created?
Thanks a lot!
Hi @erich74
• Any new white-list will overwrite the old one - as a matter of fact, any newly sent retained command would delete it, as there can only every be one single retained message per topic. Therefore sending a new retained message via CLI with an empty payload will replace the retained message for that topic with nothing, i. e. deletes it.
• If you just want to just temporarily disable a white-list, you can set "ignoreWBlist":true
• The application MQTTX allows to see and delete retained messages in the UI
• Sending the, or a new retained white-list in MQTT Explorer will show the new retained white-list command in the commands sub-topic, from where it can also be deleted in MQTT Explorer - the only way I currently know of with version 0.3.5
Hope this helps and any of these will be easily applicable.
Thank you so much, this is exactly the information I was looking for!
I’m sorry I have another question regarding white/black listing.
I am taking another approch by blacklisting devices I want to exclude.
The LG soundbar of my neighbour is broadcasting BLE signal but it looks like it is changing its mac address and I have new entries showing up even though I am trying to blacklist this device.
I guess mac address is the only way to blacklist devices in OMG, do you have any tips how I could get rid of those specific devices broadcasting with rotating mac addresses ?
Thanks!
Then you really should use a white-list instead of a black-list, only including your own devices in the white-list, so that any other devices from neighbours or passer bys, with or without randomly changing MAC addresses, will not be picked up at all.
Ok I get it and I guess I can temporarily ignore the whitelist if I need to integrate additionnal devices.
By the way I would like to include my apple watch but I think it is also randomly rotating its mac address. I will seach the forum I guess there might be some topics on this one but if you have any tip (or you know this is just not possible) I would really appreciate it.
Thanks again for your time and support!
Exactly
to temporarily disable white/black list
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"ignoreWBlist":true}'
to enable white/black list back
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoBT/config -m '{"ignoreWBlist":false}'
The Apple Watch is currently only compatible with Theengs Gateway, not OpenMQTTGateway, as the Identity MAC address and IRK (Identity Resolving Key) definition for the random MAC address resolving is only available there.
This can be run nicely alongside OpenMQTTGateway though.
Have a look at
and
Very interesting, thanks!
The Theengs Gateway device you mention is this, correct?:
It is shipped from US right? I guess it is not possible to get it delivered to EU?
No, this hardware is the Theengs Bridge, actually running OpenMQTTGateway Theengs Gateway is our BLE Gateway software, running on Linux (Raspberry Pi etc.) and Windows
oh I see
Thanks I’ll definitely have a look, it could even replace my ESP32 running OMG