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

Extracting values to HA #27

Open
solarhome opened this issue May 1, 2022 · 2 comments
Open

Extracting values to HA #27

solarhome opened this issue May 1, 2022 · 2 comments

Comments

@solarhome
Copy link

Temp sensor in HA gives "unknown"

image

And MQTT Explorer gives

image

ASUS_CPU sensor is working but that ASUS_TEMP is not working? What should I do? What am I missing there?

  - platform: mqtt
    name: "ASUS_CPU"
    state_topic: "psmqtt/cpu_percent"
    
  - platform: mqtt
    name: "ASUS_TEMP"
    state_topic: "psmqtt/sensors_temperatures"
    value_template: "{{ value_json.asus }}"
    json_attributes_topic: "psmqtt/sensors_temperatures"
@eschava
Copy link
Owner

eschava commented May 2, 2022

You can try value_template: "{{ value_json.asus[0] }}" because that value is an array

@f18m
Copy link
Collaborator

f18m commented May 7, 2024

I guess this ticket can be closed right @solarhome ?

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

3 participants