Reaper DAW integration - Smart Home meets Home Recording
If you like my work please consider supporting:
REAPER is a complete digital audio production application for computers, offering a full multitrack audio and MIDI recording, editing, processing, mixing and mastering toolset. REAPER supports a vast range of hardware, digital formats and plugins, and can be comprehensively extended, scripted and modified.
Though I admire your effort. I do have this question: what is the use case for this? In my experience with another DAW Iām either working in that DAW or not. Iām donāt even want my phone (read HA) near my Mac when using my DAW.
I love this. Iām a Studio One user, and wish something like this existed for that DAW. Iād love to be able to have my AC turn off when recording and back on afterwards (if I do this manually, I always forget), turn on /off preamps / outboard gear, etc. The HA Companion App gets close with the audio input and frontmost app sensors but not quite thereā¦
Hi I had the integration running some time ago, but I canāt seam to get it to work now. This is in the log:
Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 11:29:34 (8 occurrences)
Last logged: 12:10:19
Error setting up entry 192.168.178.59 for reaper
Traceback (most recent call last):
File ā/usr/src/homeassistant/homeassistant/config_entries.pyā, line 586, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ā/config/custom_components/reaper/init.pyā, line 43, in async_setup_entry
coordinator = ReaperDataUpdateCoordinator(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ā/config/custom_components/reaper/init.pyā, line 91, in init
self.update_interval = update_interval
^^^^^^^^^^^^^^^^^^^^
File ā/usr/src/homeassistant/homeassistant/helpers/update_coordinator.pyā, line 207, in update_interval
self._update_interval_seconds = value.total_seconds() if value else None
^^^^^^^^^^^^^^^^^^^
AttributeError: āintā object has no attribute ātotal_secondsā
Same error here, new to HA, not sure how to resolve it.
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/reaper/__init__.py", line 43, in async_setup_entry
coordinator = ReaperDataUpdateCoordinator(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/reaper/__init__.py", line 91, in __init__
self.update_interval = update_interval
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 218, in update_interval
self._update_interval_seconds = value.total_seconds() if value else None
^^^^^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'total_seconds'
For now Iāve just edited the hass-config/custom_components/reaper/init.py file and replaced line 91 self.update_interval = update_interval
with self.update_interval = timedelta(seconds=update_interval)
and reloaded the configuration.