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

[Need Help] Can't see sensors in Home Assistant #89

Closed
raviwarrier opened this issue Jun 1, 2021 · 0 comments
Closed

[Need Help] Can't see sensors in Home Assistant #89

raviwarrier opened this issue Jun 1, 2021 · 0 comments

Comments

@raviwarrier
Copy link

raviwarrier commented Jun 1, 2021

EDIT (40m later):
Okay, I can see them in my list now, but, all of them are unavailable. I guess Step 7 is not optional then.

Please mark it so. Also, for noobs like me, please mention "edit system_sensors.service to edit script path and settings.yaml..."

Marking it as closed. Sorry for the trouble.

W.

----- OP-----
Apologies if something was simple and easy, but I failed to understand/implement it. And if I can't explain things that are technically correct. Also, I didn't see any reddit, discord or other support page, hence asking for support here.

I can't see any of the sensors in my home assistant, checked config > entitities. And for safe measure, tried adding a card on the dashboard.

Here's what I did so far:

  1. Followed all steps except step Update script #7 (since I don't know where and how to do Update script #7.2, would like to know where to edit the script path and settings.yaml as instructed)
  2. Restarted HA.
  3. Rebooted rpi

My settings.yaml file (minus the user/pwd)
mqtt: hostname: 192.168.1.14 port: 1883 #defaults to 1883 user: xxxx password: xxxx deviceName: rwpi client_id: rwpi_sys timezone: Asia/Kolkata update_interval: 60 #Defaults to 60 check_wifi_strength: true check_available_updates: true external_drives: Drive1: /boot/

the script seems to be running fine:
pi@rwpi:~/system_sensors $ python3 src/system_sensors.py src/settings.yaml send config message Connected to broker ^CProgram killed: running cleanup code

and from MQTT broker log on HA:
1622521310: New connection from 192.168.1.14 on port 1883. 1622521310: New client connected from 192.168.1.14 as rwpi_sys (p2, c1, k60, u'xxxx').

my configuration.yaml (relevant section):
mqtt: discovery: true discovery_prefix: homeassistant

I know MQTT discovery works because it works for IOTLink and HASS Workstation Service (those entities/sensors are automatically available).

I don't know what else to do get these working. Please help.

Thanks,
W.

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

1 participant