MIPLUG(1)

πŸ“¦ version 0.5.0.1, in debian bookworm, ubuntu jammy

✨ MIPLUG β€” the miplug(1) glow-up ✨

okay bestie, welcome to the User Commands section of the manual, and yes we are talking about miplug today πŸ’… it's a little tool that lets you boss around a Xiaomi Smart Plug, and honestly? she's iconic for it πŸŽ€


🌸 NAME 🌸

miplug β€” a tool to command Xiaomi Smart Plug. no cap, that's the whole job. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

miplug [OPTIONS] COMMAND [ARGS]...

🌈 DESCRIPTION 🌈

A tool to command Xiaomi Smart Plug. that's it, that's the mission statement. you point her at a plug, you give her the tea (aka a token), and she does the plug things for you. main character energy fr fr πŸ‘‘


✨ OPTIONS ✨

  • --ip TEXT β€” hand over the IP as text. she needs to know where the plug lives, bestie 🏠
  • --token TEXT β€” the token, also as text. keep it cute, keep it secret 🫢
  • -d, --debug β€” turn on debug mode so you can see all the behind-the-scenes drama πŸ”
  • --help β€” show this message and exit. your little escape hatch when you're lost πŸ™ˆ

πŸŽ€ Commands: πŸŽ€

  • discover β€” search for plugs in the network. it's giving detective era πŸ”Žβœ¨
  • off β€” power off. bye bye electricity πŸ’€
  • on β€” power on. let there be light, periodt πŸ”₯
  • raw-command β€” run a raw command. no filter, no vibes check, just raw 🫣
  • status β€” returns the state information. the vibe check, basically 🌸

lowkey reminder: discover is how you go find your plugs, and the rest of the commands are how you actually do stuff to them. every single one of these is a COMMAND up in that synopsis, so yeah, miplug [OPTIONS] COMMAND [ARGS]... really is the whole plot πŸ’œ

and that's the whole page, bestie πŸ’– this was miplug, version 0.5.0.1, dated September 2021, living in the MIPLUG(1) manual. slay, go turn a plug on or something πŸŒŸπŸ’…

πŸ“¦ where this page comes from