IOTLink is not generating any entities, configuration file error?

Im new to MQTT and I’m trying to setup a way to remotely shutdown my Windows 10 PC from HA installed on a RPi. I followed a guide to setup IOTLink and am using the Mosquitto broker and the mqtt integration in HA. I was able to use MQTT explorer to connect to my HA MQTT broker and it seems to be fine. However, I cannot seem to get any entities on my HA related to the Windows 10 PC running MQTT.

I believe the problem lies in the IOTLink having an issue with the configuration file (as can be seen in the logs below) however I am unsure how to fix this issue.

[WORKGROUP\DESKTOP-BK0BQEN][2022-07-12 02:05:33 +02:00][ERROR][IOTLinkAPI.Configs.ConfigurationManager]: Configuration file not found: C:\ProgramData\IOTLink\Configs\configuration.yaml
[WORKGROUP\DESKTOP-BK0BQEN][2022-07-12 02:05:33 +02:00][INFO][IOTLinkAPI.Configs.ConfigurationManager]: Configuration file C:\ProgramData\IOTLink\Configs\configuration.yaml cannot be reloaded.

This is the guide I followed: Using IOT Link to control and monitor Windows 10/11 computers from Home-Assistant - Flemming's Blog

In this configuration.yaml, did you add the necessary credentials and host (ip) of your mqtt instance?
You may need to restart the iolink service (is not always stable) on your PC and via MQTT explorer you should see below


image

Thanks for the reply.
Here is my config with my home assistant user credentials removed. I use the local IP of my RPi that runs homeassistant.

I’ve tried reinstalling iotLink, installing it with admin privileges and restarted the service multiple times.

config

pic

And what do the iotlink logs tell you?

So the logs in my original post are the logs I got from iotLink at first. I just tried to restart the service, and it created a new empty log file.

image

Step 1 remains to have no entries referring to configuration.yaml not being loaded
Change the log level in the configuration.yaml to e.g. 7 and restart the service go up even higher in level if nothing is returned
And…since my laptop also showed start/restart issues, do restart the service from the services window

If you followed the instructions as per the link then I donot see why this could go wrong, possibly reinstall

Another thing I just noticed… please put a space between host: and your IP and restart

1 Like

I feel like a fool, you caught my mistake. Thanks so much!

Not a fool… many make formatting mistakes…myself included :slight_smile:

1 Like