Hi,
I am aware I could try IPP and I have in past with no success. So I downloaded a SNMP Walker Tool called Paessler SNMP Tester to scan for and try to get info on the printer. Its giving me alot of OID, but I am still not sure the value returned will be what I need. I am just looking for suggestions as to how this is coming together. Its in early stages and there is more to go such as defining entities. Stuff I commented out I am not sure I can get. Help appreciated
# Printer information via SNMP
# Black toner
# - platform: snmp
# name: 'e120n_black_capacity'
# host: 192.168.2.6
# baseoid: 1.3.6.1.2.1.43.11.1.1.6.1.1
# baseoid: 1.3.6.1.2.1.43.11.1.1.8.1
# accept_errors: true
# scan_interval: 90
# #unit_of_measurement: '%'
# - platform: snmp
# name: 'e120n_black_remaining'
# host: 192.168.2.6
# baseoid: 1.3.6.1.2.1.43.11.1.1.9.1.1
# accept_errors: true
# scan_interval: 90
# #unit_of_measurement: '%'
# - platform: template
# sensors:
# cp1515n_black_level:
# friendly_name: "Black Tomer Level"
# unit_of_measurement: '%'
# value_template: "{{ (states('sensor.cp1515n_black_remainig')|float / # states('sensor.cp1515n_black_capacity')|float * 100) | round(0) }}"
e120n_printer_error:
friendly_name: "Printer Error"
value_template: >-
{% if is_state('sensor.e120n_printer_error_code', '0') %}
Paper Jam
{% elif is_state('sensor.e120n_printer_error_code', '1') %}
Cover Open
{% elif is_state('sensor.e120n_printer_error_code', '2') %}
Toner Status
{% else %}
Unknown
{% endif %}