ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
442 stars 62 forks source link

HA sensor setup #66

Open jasondreher opened 1 year ago

jasondreher commented 1 year ago

I got this running perfectly on one pi, but when I moved on to another pi I cant get bot sensors to show in HA.

Can you just show how to set up a sensor manually in HA so it will work? I tried the below but it would not work.

- name: "testpi"
  state_topic: "home/nodes/sensor/rpi-mqttnodered/monitor"  

And I definitely have two items in MQTT image image

FYI, my MQTT is separate from my HA so not sure if that is causing issues

bsimmo commented 1 year ago

Did you change the name etc on the second Pi? It should not be the same as on your first pi. It then just shows up under MQTT on HA.

On Tue, 16 Aug 2022, 2:52 pm jasondreher, @.***> wrote:

I got this running perfectly on one pi, but when I moved on to another pi I cant get bot sensors to show in HA.

Can you just show how to set up a sensor manually in HA so it will work? I tried the below but it would not work.

  • name: "testpi" state_topic: "home/nodes/sensor/rpi-mqttnodered/monitor"

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXNZ3GDOTBAGPQRLAS4LVZOMKJANCNFSM56V5VTRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jasondreher commented 1 year ago

Both host names were originally different, one "Office" the other the default "raspberrypi". I did change the "Office" to "RA-Office" as it is running room assistant, just to be more clear. image image I changed it back to see what would happen, but the second one still has nothing image

jasondreher commented 1 year ago

any way to set this up as just a sensor? I set up the below and it pulls info but does not provide the right info

- name: "testpi"
  state_topic: "home/nodes/sensor/rpi-mqttnodered/monitor"  
  json_attributes_topic: "home/nodes/sensor/rpi-mqttnodered/monitor"