Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.64 KB

REQUIREMENTS.md

File metadata and controls

42 lines (34 loc) · 1.64 KB

lms2mqtt daemon


Notation:

  • requirement is implemented and tested.
  • requirement is not implemented or tested, ideas for future versions.

Objectives

  • use information about Logitech Media Player (LMS) and connected players in home automation applications
  • in particular, support defiition of home automation actions in response to events related to SqueezeBox alarms (alarm starts, snooze, alarm off)
  • explore what information is made available by LMS Telnet interface

Requirements

Connectivity

  • R01.01 connect to LMS via Telnet interface to retrieve status information
  • R01.02 connect to MQTT broker, to publish notifications about LMS events

Debugging

  • R02.01 ability to run daemon from the command line, and end gracefully when Ctrl-C is pressed
  • R02.02 when run from command line, show all communication from LMS

Configuration

  • R03.01 name of host running LMS is configurable, in source code
  • R03.02 name of host running MQTT broker is configurable, in source code
  • R03.03 configuration items common to multiple daemons (e.g. MQTT host) are configurable in one place

Reporting

  • report information re playlists and start/stop playing
  • report information re volume changes
  • report information re power on/off
  • report information re alarms
  • do not report information re menu navigation on SqueezeBox
  • do not report information re display updates on SqueezeBox