Can’t find anything via HA. Added the code to config and get integration errors. Listened via MQTT using wildcard and nothing is picked up. Either the Pi install in not correct or I’m not sure where to go from here. Don’t suppose anyone has a found a video of the install?
The command: python3 src/system_sensors.py src/settings.yaml already fails so first fix that. I can’t see the whole output but I think there’s something wrong with your settings.yaml file.
I also think it would be better for you to read a bit about linux and python because we can help you to fix all the errors but next time when a new error occurs you can’t fix it yourself.
Read a bit about basic Linux commands and yaml(because HASS used to be only yaml and it’s still used a lot)
If you copy your settings.yaml here (rightly formatted) I will check what’s wrong
Yes, I think I messed up with naming of the file. When I placed the ‘nano’ command, it brings up a menu. That’s where I went wrong in renaming I think. So will read up on that. Couldn’t see an option to rename in that section, so saved options and then renamed.
That’s normal nano is just a text editor you edit the settings_example.yaml file with nano and afterwards you “rename” the file with the mv (move command) by executing mv settings_example.yaml settings.yaml
All was going fine, thanks to your inuts and advice. But step 6 just sat there for an hour and nothing happened. Not sure if it crashed or it just takes a while. Currently testing on a Pi Zero
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:592
Integration: Sensor (documentation, issues)
First occurred: 01:05:45 (12 occurrences)
Last logged: 01:05:46
Platform mqtt does not generate unique IDs. ID gpio_bridge_2_sensor_disk_use already exists - ignoring sensor.gpio_bridge_2diskuse
Platform mqtt does not generate unique IDs. ID gpio_bridge_2_sensor_memory_use already exists - ignoring sensor.gpio_bridge_2memoryuse
Platform mqtt does not generate unique IDs. ID gpio_bridge_2_sensor_cpu_usage already exists - ignoring sensor.gpio_bridge_2cpuusage
Platform mqtt does not generate unique IDs. ID gpio_bridge_2_sensor_swap_usage already exists - ignoring sensor.gpio_bridge_2swapusage
Platform mqtt does not generate unique IDs. ID gpio_bridge_2_sensor_last_boot already exists - ignoring sensor.gpio_bridge_2lastboot
EDIT: fixed by stopping the sensors service, deleting retained mqtt configuration messages/topics, restarting Home assistant, restarting the sensors service then updating my automations and graphs to use the new sensors.
Does anyone have an actual layman write up.
I’ve tried the ssh admin and it does nothing. I have an iOS app that tells me everything I need by simply logging in via ssh called “PiHelper”
Yeah when I created the tool there wasn’t an option to send the unique id so sometimes Hass doesn’t recognize the entity as the same and creates a new entity and tries to add the entity with the unique id the same as the name. But that ID already exists so it creates this message.
I should update the tool the include a unique id but need to find some time
I don’t think it’s that big a problem. I updated from a much older version (probably one of your first releases). The entity_ids you generate now have an underscore in places that did not used to have it, e.g. ...cpuuse is now ...cpu_use. So that was the cause of the issue. No biggie. Easy fixed. Thanks for the monitor!
I am not sure how more simple it could be than the instructions that are there. There a number of commands to simply cut and paste into a terminal on your remote pi.
What do you mean? How do you normally control your remote pi?
You are aware these are not commands you type into home assistant, you install into the remote pi that you want to monitor.