ok. I did a test there.
topic= paradoxdCTL/hassio/Arm
Payload (template allowed) = 1 ON
topic to subscribe = #
Message 2 received on paradoxdCTL/hassio/Arm at 8:50 PM: = ON
let me tell you which is my goal.
I need to integrate my alarm with ParadoxRs232toMqtt
I have added to my config.yaml the following as per instuctions of the the above page (wiki)
HA can see the modes but when I add the card in lovelace I get a status unknown and I can’t alter anything
I am wondering how can I check that I have setup correctly the MQTT first and if it is connected correct to see what else I could do in HA configuration.
Ant ideas how to confirm that MQTT is connected with esp8266?
Hi.
I did read the link you send me
I did post a test message and it seems that it is working.(see photo)
Now I am having trouble on how to connect my wemo d1 pro with home assistant so as to listen each other. A friend f mine gave it to me (d1) for my paradox alarm. He said I just have to connected it with MQTT.
when I set up the wemo d1 to my network with my phone it gave me a ip address and a port.
don’t I suppose to declare them somewhere in HA?
how HA will communicate with the d1?
Well, that’s why I sent you to MQTT docs.
Everything there works through a broker.
If Wemo wants to pass some information, it posts it to a state MQTT topic (i.e sends it to the broker which will keep it).
If HA wants to know what’s posted to a specific topic, there are special MQTT integrations like MQTT sensor - they subscribe to a given topic and will receive whatever appears there because the broker will send it to every subscriber.
Indirect communication, you see?
So your goal is to configure your Wemo to work with the MQTT broker and then choose and configure an appropriate HA sensor (or whatever else on HA side) to listen to the Wemo’s state topic.
Did you point the Wemos D1 to the IP-Adress of your Home Assistant server? Did you configure the username and password on the Wemos D1 to be the same as you configured the MQTT Broker in Home Assistant?
This is the part I am missing. The Wemos D1 was configured from a friend here in Greece but he never asked for these credentials. He is working mainly with openhub.
Here I think that it is clear that these credentials are “blank”
So now I have to 3 questions.
1 Is there a way to modify the wemos d1 with my credentials?
2 Yesterday I tried 2 times to install mqtt integration. The first one I did set username & password, but I didn’t the second time (at least I don’t remember that I did) Is there a way to confirm that I have the right credentials?
3. In the configuration of Mosquitto broker, suggest to delete the port 1883. which I did. Should I enable it?
Disable listening on insecure (1883) ports
Remove the ports from the add-on page network card (set them as blank) to disable them.
There has to be a way, I just don’t use a Wemos D1 or similar, so can’t help you here.
You can configure it with or without password. To check if a password is set, try to publish something to a topic from another machine without a password and see if it works.
That depends, at least one of the ports needs to be enabled. If you disable 1883, you also need to change the port in the Wemos D1 settings, otherwise it can’t connect to the broker.
Enter mosquitto_pub -m "test message" -t "test_topic"
If you configured a password, this should not work. Otherwise you should see a message “test message” in the topic “test_topic”. Then enter the following to test the password:
I new from the begging that this would be one the most difficult tasks and tried to avoid it. The last 2 days
I am trying to read something that’w interrupted from various questions and searches.
mqtt,arduino ide and how to setup it,libraries etc