TasmoManager
TasmoManager copied to clipboard
no devices
Hi .. I am connecting to my iobroker on the port I have the sonoff adapter .. using the password defined there too .. but I cannot get any devices to show. I must be missin gsome magic. Could someone point me into the right direction?
Hmmm, this seems weird. I'm guessing you're using ioBroker as an MQTT broker right? https://www.iobroker.net/#en/adapters/adapterref/iobroker.mqtt/README.md
If so, I'll try to reproduce the issue and see what could be happening. Also, could you tell me the tasmota firmware version of the sonoff adapter? Thanks for reporting btw!
in port 1883 only my sonoff adapter is listening .. which is in fact also an mqtt broker. I have the adapter you show additionally but that is listening on 1888 .. which I cannot use in your app .. since it limits port setting to 1883. I have the newes version on my device .. 9.3.1
Yep, this is a bug! 😅
I've just released a software update that fixes this. You can update by going into Settings > Software Update and changing the update channel to Alpha. You should be able to change the sever port once updated.
I can now change the port .. but still I find no devices .. using neither of the two adapters
On the tasmota devices, do you have Home assistant discovery set to 1 by any chance? (SetOption19)
{"SetOption19":"OFF"}
Okay, I've just installed iobroker on a Debian system and installed the mqtt adapter (https://www.iobroker.net/#en/adapters/adapterref/iobroker.mqtt/README.md).
I've gone ahead and set the username, password and port and set the type to be a "Server/Broker" and TasmoManager seems to connect and discover the 1 device (which I've added to the server) without any issues.
On iobroker, could you go into Objects > mqtt and check to see if there is a tasmota object. There should also be a discovery object too (screenshots would be useful) Thanks!

Hmm .. ok .. if it has to be the mqtt adapter .. I don't have my sonoff topics in there (I use it differently) .. could you possibly try the sonoff adapter .. that should be the one to address in iobroker.
Ah okay I've tried Sonoff Adapter and found out what's going on. Sonoff Adapter doesn't allow any clients to read topic information. https://github.com/ioBroker/ioBroker.sonoff/issues/107
In summary, TasmoManager can't read discovery information from Sonoff Adapter's MQTT server (or any information for that matter). If you wanted to use TasmoManager (or anything which needs to connect to an MQTT server and read from it), I would download and install a separate mqtt broker, (the one that's bundled with MQTT Adapter doesn't work that well), like Mosquitto and use MQTT Adapter as a client and connect to it from that.
In my opinion, its a pain that Sonoff Adapter doesn't allow for reading of topics but there are work arounds 🤷♂️.
Thanks for investigating .. maybe worth an issue in the adapter's git?
I think it's already been mentioned on there however, I think I'll mention it on the GH page anywas.