#pid_controller hacs integration not working

1 messages · Page 1 of 1 (latest)

scenic axle
#

Hi, I'm trying to get the pid_controller integration to work, but unfortunatly the entry in the configuration.yaml won't create any new "hello" entity. Also I don't see any log entry related to this integration in system - logs:

Entry in the configuration.yaml

pid_controller:
sensor:
- platform: pid_controller
name: hello
enabled: '{{ states("input_boolean.enabled") }}'
set_point: '{{ states("input_number.set_point") }}'
p: '{{ states("input_number.proportional") }}'
i: '{{ states("input_number.integral") }}'
d: '{{ states("input_number.derivative") }}'
entity_id: input_number.reading
invert: '{{ states("input_boolean.invert") }}'
precision: '{{ states("input_number.precision") }}'
minimum: '{{ states("input_number.minimum") }}'
maximum: '{{ states("input_number.maximum") }}'
round: '{{ states("input_select.round") }}'
sample_time: '{{ states("input_number.sample_time") }}'
windup: '{{ states("input_number.windup") }}'

input_boolean:
invert:
name: Invert
initial: no
enabled:
name: Enabled

input_select:
round:
initial: Round
options:
- Floor
- Ceil
- Round

input_number:
sample_time:
name: Sample Time
initial: 0
min: 0
max: 30
step: 1

minimum:
  name: Minimum
  initial: 0
  min: 0
  max: 5
  step: 1

maximum:
  name: Maximum
  initial: 5
  min: 0
  max: 20
  step: 1

reading:
  name: Reading
  initial: 0
  min: 0
  max: 30
  step: 1

set_point:
  name: Set Point
  initial: 15
  min: 0
  max: 30
  step: 1

...

Any suggestions?

coral kraken
#

Do you have any other warnings in the logs? For example the names of your inputs are generic as hell, could easily see them clashing with other inputs

scenic axle
#

No any log outputs. I will use less generic names. I just took the example from the setup instructions.

#

I have added pid_ as prefix to all to all inputs, but still no luck. Maybe it is because the integration saw no updates during the last two years.

coral kraken
#

Have all the inputs loaded properly?

scenic axle
#

I don't see any of these input entities

#

The log also mentions nothing related to pid_

coral kraken
#

Hmmm... Have you restarted home assistant/reloaded the config file?

#

Also if you wouldn't mind changing your post to use code formatting (3x ` at the start and end of the block) - it makes it much easier to check for errors

urban quail
# scenic axle I don't see any of these input entities

Hi @scenic axle,
Did you restart after adding the integration from HACS? It needs to load into the core in order to be able to add the integration and use it.
You may not even have the platform available to give you entities.