CRIT: udp_command: no data received (recv)CRIT: udp_command: no data received (recv)CRIT: udp_command: no data received (recv)Could not read from printer.
Could not get ink level.
Any idea how I may be able to get this to work, printer info is accessible from Remote UI in web browser after login.
I too had a similar issue when I first install ink. I restarted my pi and restarted the printer then I started getting values. However you might want to look into the supported devices for ink. If that doesn’t work you might be able to access some other way, but I wouldn’t be familiar.
Oh and looks like the developer of libinklevel does take information from users like you who might know how to retrieve info from a certain printer. Then he incorporates it, read through the aforementioned page for details on that.
@Rodolfo_Vieira not without an addon to provide the ink command. I currently don’t use hass.io at my house, but it is possible I might be interested in doing an addon for this if I change to hass.io in the future. I do use hass.io for a rental property and have made one addon for that already. But as of right now, sorry no.
I went using the drivers from HP for my HP printer. It gives a tonne of info besides ink for your HP printer via command line, so I just made command line sensors for the 4 different inks.
Obviously this only works with HP printers. Not sure if other manufactures do the same.
@cjsimmons you could fairly easily convert that to a custom component if you wanted. That is all my component does, converts command line output to a bunch of sensors.