-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Only "is_present" and "is_home" sensors are being set in HomeAssistant via MQTT #1019
Comments
Hi @jcss2503 , This should be fixed in the next release. It would be great if you could test this. Can you please switch to the Thanks in advance, |
I have tested the change:
I have wait for 1h, NetAlertX discover again all my network but this time no devices are being added to HomeAssistant. Logs in MosquitoBroker HA shows that the connection via MQTT are correct (user/password combination is correct)- |
Hi @jcss2503 , Could you try to clear the MQTT objects from Integrations -> Plugins -> MQTT? Only new objects are synced over. More info here: https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/_publisher_mqtt/ |
Hi j Cleared all objects from MQTT Plugins and repeated all the process. Same result. I went back to the production version of NetAlertX, clean every thing and deveces are populated to HA but again attributes keep not updated. Let me know if I can make some other checks Thanks! |
Hi @jcss2503 , Could you please post your log file entries of some MQTT samples from the dev version, such as:
Please note the log shoudl contain messages in this format when tehy are sent to MQTT:
If you only see Alternatively try setting up a new empty install fro the dev container only and test it there if you can. |
This is the log with dev brach. 02:06:01 [Plugin utils] --------------------------------------------- Seems that no device message is sent... |
Hi @jcss2503 , Seems like the messages are sent. I don't see an issue in your log. Do you have I would recommend you to use the same config for MQTT you used before, here are my sample settings which seem to work fine. Please check all the MQTT settings one by one. |
Also, can you let me know teh answer to this?
|
Thanks for confirming! Just realized I had a debugging statement uncommented that would short-circuit the MQTT execution for faster testing. I removed it so it should work again. If you re download the Thanks fir testing and the patience! |
Great - just keeping it open for others to see until the next release :) |
Is there an existing issue for this?
The issue occurs in the following browsers. Select at least 2.
Current Behavior
Only the sensors "is_present" and "is_home" present the correct info in HomeAssistant. Other sensors like "mac_address" or "last_ip" show "unknown" value. I have checked that HomeAssistant receive the info via MQTT but the entities attributes are not updated
Expected Behavior
The attributes has to be updated
Steps To Reproduce
All applications and plugins are at the latest version
app.conf
docker-compose.yml
What installation are you running?
Production (netalertx)
app.log
No response
Debug enabled
The text was updated successfully, but these errors were encountered: