Watching videos and googling, but I must be missing something…plus I have no clue what I am doing.
GOAL: I have a PC that I want to be able to ge sensors for. The idea is that when the PC temp hits a certain level, this fan I have kicks on (or when the PC is unlocked, it kicks on, either one).
I have MQTT added in my home assistant.
I do not see anything in the config yaml file regarding it.
HA is running on a VM in hyper-v.
I access it via CASA, as you can see in the pic below:
Also, I don’t think you can use your Nabu Casa hostname for the MQTT connection. I think Nabu Casa only forwards HTTPS (443), and won’t forward the 1883 MQTT messages.
So here I can only get this to connect if I use my CASA url.
If I try the http://homeassistant.local:8123, it wont connect.
If I use the IP of the machine the VM is running on, it wont connect.
If I use the IP of the actual VM that has HA, it wont connect.
On the box running the VM with HA, I have opened port 1883
If I try to setup the HA API on the client, it consistently failes unless I use CASA
I have tried http://IP of HA:8123, http://IP of server running the VM with HA :8123, nothing, all fail.
wow, I figured this out.
Just needed another hour of Google.
My HA instance was still on the 172 address.
After some research, I found that MQTT will not work through CASA as the other person said, and I realized I could not reach that HA instance without CASA.
Running Hyper-V so added a virtual switch, set to external, and assigned it the correect ethernet port on the main machine.
I now got a 192 address and mqtt is up and running.