Tracking headaches in HA?

I’m looking for a way of tracking headaches in HA.
Ideally i want a series of buttons i can click from 1 - 10 which will log the pain level somewhere and allow me to see it over time.

Is this easily achievable through anything already built into HA?

Failing that, could i set up a button to send a value to InfluxDb?

Any advice would be much appreciated.
Oli

Just use an input_number to track it. You can define the value range (from 1 to 10) and track the state (=number) of it. You can use ten buttons or a slider or an input_select to trigger it.

The rest depends on how and where you want that value to be safed. Meaning, you can store it in InfluxDB or just in the HA database, but you need to set up both to store the value for a longer time.

You can do this:

  slider:
    name: headache
    min: 0
    max: 10
    step: 1

Thanks both, will take a look at these options.
Much appreciated

1 Like