Skip to content

Commit

Permalink
Update audio receiver skill and plugin
Browse files Browse the repository at this point in the history
Add monitoring plugin to Pi dependencies
Update audio module version to include metrics
Remove deprecated metrics handler from skills service
  • Loading branch information
NeonDaniel committed Nov 17, 2023
1 parent e5eb507 commit 22a7225
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
13 changes: 0 additions & 13 deletions neon_core/skills/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,19 +156,6 @@ def run(self):
self.register_wifi_setup_events()
announce_connection()

def _initialize_metrics_handler(self):
"""
Start bus listener for metrics
"""
def handle_metric(message):
report_metric(message.data.pop("name"), **message.data)

if self.config.get("server", {}).get('metrics'):
LOG.info("Metrics reporting enabled")
self.bus.on("neon.metric", handle_metric)
else:
LOG.info("Metrics reporting disabled")

def _register_intent_services(self):
"""
Start up the all intent services and connect them as needed.
Expand Down
2 changes: 1 addition & 1 deletion requirements/core_modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ neon_messagebus~=1.1,>=1.1.1a5
neon_enclosure~=1.6,>=1.6.1a3
neon_speech~=4.2,>=4.2.1a3
neon_gui~=1.2,>=1.2.2
neon_audio~=1.4,>=1.4.1a2
neon_audio~=1.4,>=1.4.1a3
5 changes: 3 additions & 2 deletions requirements/pi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ neon-tts-plugin-coqui~=0.7,>=0.7.3a4
ovos-stt-plugin-vosk~=0.1,>=0.1.4

# PHAL Plugins
neon-phal-plugin-audio-receiver>=0.0.3
neon-phal-plugin-monitoring>=0.0.1a2
neon-phal-plugin-audio-receiver>=0.0.3,>=0.0.4a1
neon-phal-plugin-reset~=0.4
neon-phal-plugin-core-updater~=1.3
neon-phal-plugin-device-updater~=0.1
Expand All @@ -54,7 +55,7 @@ neon-skill-update~=2.1
ovos-skill-homescreen~=0.0.2,>=0.0.3a6
ovos-skill-setup~=0.0.1
ovos-skill-volume~=0.0.1
skill-markII-audio-receiver>=0.0.4
skill-markII-audio-receiver>=0.0.5a1

# Backwards-compat
ovos-skills-manager~=0.0.13 # TODO: Remove in 2024

0 comments on commit 22a7225

Please sign in to comment.