-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT translation #66
Comments
Can be done easily using a script like this (didn't check it, but should work):
|
Thank you so much, will try soon! |
I have tested the script you suggested, but unfortunately I could not make it work. I have tried: on init on topic local "cmnd/heater/relay/1" also tried with one more "do", like: on topic local "cmnd/heater/relay/1" I have used Netcat from Windoes Nc64.exe to upload the script. It seems to be fine as it shows the script with the "show script" command, however after reboot it cannot connect to the network. My test ssid is "24" and this message is repeated on serial port: After factory reset all works fine until I upload the script and reboot. BTW the script upload takes a long time for some reason. |
This works for me:
For some reason that I don't know yet, it has these problems you reported when there is no config line in the beginning. BTW: You can ^C the netcat, the script is still loaded. |
Works like a charm! I do not understand why can it connect to my wifi with the "config speed 160" in the script and cannot w/o, but it works. Thank you again |
First of all thank you for the excellent project. So far it works flawlessly. I have a noob question as I am not a programmer.
I have a thermostat scheduler that sends an MQTT message when the relay should turn on/off. A remote tasmotized device should receive the message and turn on/off its relay accordingly. The message that is being published "cmnd/heater/relay/1 1" however the tasmota device would expect "cmnd/heater/POWER1 1". On the publishing device I cannot change the "/relay/1" part of the topic and on the tasmota I cannot change the "POWER1" part of the topic. Can I somehow do a translation in the uMQTTBroker so that the MQTT message would be delivered? or my whole thinking is wrong?
Many thanks in advance!
The text was updated successfully, but these errors were encountered: