rzarajczyk / hp-to-mqtt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HP PhotoSmart B209a-m status to MQTT

Usage in docker compose

version: '3.2'
services:
  hp-to-mqtt:
    container_name: hp
    image: rzarajczyk/hp-to-mqtt:latest
    volumes:
      - ./config/hp-to-mqtt.yaml:/app/config.yaml
    restart: unless-stopped

Configuration

mqtt:
  broker: <hostname>
  port: <port>
  username: <username>
  password: <passqord>

fetch-interval-seconds: 600 # How often should the printer be checked 

hp:
  id: printer-scanner # how will the device be identified in MQTT
  url: <printer-ip>

About

License:MIT License


Languages

Language:Python 96.7%Language:Dockerfile 3.3%