Skip to content
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

Unknown sensors #2

Open
mhoogenbosch opened this issue Apr 4, 2024 · 3 comments
Open

Unknown sensors #2

mhoogenbosch opened this issue Apr 4, 2024 · 3 comments

Comments

@mhoogenbosch
Copy link

The program is connected:

image

But sensors stay empty:

image

Last logs:

2024-04-04 23:10:59.111 +02:00 [DBG] Published auto-discovery config for cpu_usage
2024-04-04 23:10:59.111 +02:00 [DBG] Published auto-discovery config for total_ram
2024-04-04 23:10:59.111 +02:00 [DBG] Published auto-discovery config for free_ram
2024-04-04 23:10:59.111 +02:00 [DBG] Published auto-discovery config for used_ram
2024-04-04 23:10:59.175 +02:00 [INF] Failed to connect: Error while connecting with host '192.168.20.72:1883:1883'.
2024-04-04 23:10:59.175 +02:00 [INF] Disconnected from MQTT broker.
2024-04-04 23:11:05.808 +02:00 [INF] Disconnected from MQTT broker.
2024-04-04 23:11:05.808 +02:00 [INF] Failed to connect: Error while connecting with host '192.168.20.72:1883:1883'.
2024-04-04 23:11:10.817 +02:00 [INF] Failed to connect: Error while connecting with host '192.168.20.72:1883:1883'.
2024-04-04 23:11:10.817 +02:00 [INF] Disconnected from MQTT broker.
2024-04-04 23:11:15.832 +02:00 [INF] Failed to connect: Error while connecting with host '192.168.20.72:1883:1883'.
2024-04-04 23:11:15.832 +02:00 [INF] Disconnected from MQTT broker.
2024-04-04 23:11:19.868 +02:00 [DBG] SaveSettings_Click: Save Settings ClickedPC2MQTT.AppSettings
2024-04-04 23:11:19.875 +02:00 [DBG] SetStartupAsync: Startup options set
2024-04-04 23:11:19.885 +02:00 [DBG] SaveSettingsAsync: MQTT settings have changed. Reconnecting MQTT client...
2024-04-04 23:11:37.064 +02:00 [INF] Logger Created
2024-04-04 23:11:37.125 +02:00 [DBG] Set Folder Path to C:\Users\MHOOGEN82\AppData\Local\PC2MQTT
2024-04-04 23:11:37.254 +02:00 [DBG] Settings file path is C:\Users\MHOOGEN82\AppData\Local\PC2MQTT\settings.json
2024-04-04 23:11:37.569 +02:00 [INF] MQTT client initialized.
2024-04-04 23:11:37.597 +02:00 [INF] MQTT client started.
2024-04-04 23:11:37.598 +02:00 [INF] MQTT event handlers set up.
2024-04-04 23:11:37.665 +02:00 [DBG] Published auto-discovery config for cpu_usage
2024-04-04 23:11:37.665 +02:00 [DBG] Published auto-discovery config for total_ram
2024-04-04 23:11:37.665 +02:00 [DBG] Published auto-discovery config for free_ram
2024-04-04 23:11:37.665 +02:00 [DBG] Published auto-discovery config for used_ram
2024-04-04 23:11:37.696 +02:00 [INF] Connected to MQTT broker.
@jimmyeao
Copy link
Owner

jimmyeao commented Apr 6, 2024

hmm. what happens if you restart the app?

@mhoogenbosch
Copy link
Author

Nothing:

New logs:

2024-04-06 22:09:00.697 +02:00 [INF] Logger Created
2024-04-06 22:09:00.795 +02:00 [DBG] Set Folder Path to C:\Users\MHOOGEN82\AppData\Local\PC2MQTT
2024-04-06 22:09:01.004 +02:00 [DBG] Settings file path is C:\Users\MHOOGEN82\AppData\Local\PC2MQTT\settings.json
2024-04-06 22:09:01.768 +02:00 [INF] MQTT client initialized.
2024-04-06 22:09:02.067 +02:00 [INF] MQTT client started.
2024-04-06 22:09:02.068 +02:00 [INF] MQTT event handlers set up.
2024-04-06 22:09:02.172 +02:00 [DBG] Published auto-discovery config for cpu_usage
2024-04-06 22:09:02.173 +02:00 [DBG] Published auto-discovery config for total_ram
2024-04-06 22:09:02.174 +02:00 [DBG] Published auto-discovery config for free_ram
2024-04-06 22:09:02.175 +02:00 [DBG] Published auto-discovery config for used_ram
2024-04-06 22:09:02.208 +02:00 [INF] Connected to MQTT broker.

When checking with MQTT explorer they do show:

image

I'll try and remove them and readd

@mhoogenbosch
Copy link
Author

Removed / restarted a couple of times. Also removed the prefix. Then it enteres the hostname of the laptop as prefix.

image

Something wrong in the connection to HA. Aagina in MQTT-explorer it shows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants