Skip to content

Commit

Permalink
Remove unreliable system vitals
Browse files Browse the repository at this point in the history
Update `pyrh` to commit sha
Replace hosted device info from shared to pydantic model
Make `root_password` optional for Linux
  • Loading branch information
dormant-user committed Jun 29, 2024
1 parent b5f0c8f commit c11ccd3
Show file tree
Hide file tree
Showing 21 changed files with 446 additions and 500 deletions.
7 changes: 7 additions & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,13 @@ Models
:members:
:undoc-members:

Squire
======

.. automodule:: jarvis.modules.models.squire
:members:
:undoc-members:

----------Modules----------
===========================
Audio
Expand Down
53 changes: 36 additions & 17 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ <h2 id="_">_</h2>
<li><a href="index.html#jarvis.modules.models.models._main_process_validations">_main_process_validations() (in module jarvis.modules.models.models)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.bot._make_request">_make_request() (in module jarvis.modules.telegram.bot)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings._platform_info">_platform_info (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.tv.lg.LGWebOS._reconnect">_reconnect (jarvis.modules.tv.lg.LGWebOS attribute)</a>
</li>
Expand Down Expand Up @@ -334,7 +336,7 @@ <h2 id="C">C</h2>
</li>
<li><a href="index.html#jarvis.modules.peripherals.channel_type">channel_type (in module jarvis.modules.peripherals)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.channel_validator">channel_validator() (in module jarvis.modules.models.classes)</a>
<li><a href="index.html#jarvis.modules.models.squire.channel_validator">channel_validator() (in module jarvis.modules.models.squire)</a>
</li>
<li><a href="index.html#jarvis.modules.microphone.graph_mic.Settings.channels">channels (jarvis.modules.microphone.graph_mic.Settings attribute)</a>
</li>
Expand Down Expand Up @@ -510,12 +512,12 @@ <h2 id="D">D</h2>
</li>
<li><a href="index.html#jarvis.executors.todo_list.delete_todo">delete_todo() (in module jarvis.executors.todo_list)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.executors.todo_list.delete_todo_items">delete_todo_items() (in module jarvis.executors.todo_list)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.webhook.delete_webhook">delete_webhook() (in module jarvis.modules.telegram.webhook)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.exceptions.DependencyError">DependencyError</a>
</li>
<li><a href="index.html#jarvis.modules.utils.support.detect_lookup_date">detect_lookup_date() (in module jarvis.modules.utils.support)</a>
Expand All @@ -529,6 +531,8 @@ <h2 id="D">D</h2>
<li><a href="index.html#jarvis.modules.microphone.graph_mic.Settings.device">device (jarvis.modules.microphone.graph_mic.Settings attribute)</a>

<ul>
<li><a href="index.html#jarvis.modules.models.classes.Settings.device">(jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Thermostat.device">(jarvis.modules.models.classes.Thermostat attribute)</a>
</li>
</ul></li>
Expand All @@ -537,6 +541,8 @@ <h2 id="D">D</h2>
<li><a href="index.html#jarvis.executors.ios_functions.device_selector">device_selector() (in module jarvis.executors.ios_functions)</a>
</li>
<li><a href="index.html#jarvis.executors.location.directions">directions() (in module jarvis.executors.location)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings.disk">disk (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.location.distance">distance() (in module jarvis.executors.location)</a>
</li>
Expand All @@ -545,6 +551,8 @@ <h2 id="D">D</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.distance_unit">distance_unit (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.enums.DistanceUnits">DistanceUnits (class in jarvis.modules.models.enums)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings.distro">distro (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.settings.Document">Document (class in jarvis.modules.telegram.settings)</a>
</li>
Expand Down Expand Up @@ -850,7 +858,7 @@ <h2 id="G">G</h2>
</li>
<li><a href="index.html#jarvis.api.squire.stockmonitor_squire.get_daily_alerts">get_daily_alerts() (in module jarvis.api.squire.stockmonitor_squire)</a>
</li>
<li><a href="index.html#jarvis.executors.system.get_distributor_info_linux">get_distributor_info_linux() (in module jarvis.executors.system)</a>
<li><a href="index.html#jarvis.modules.models.squire.get_distributor_info_linux">get_distributor_info_linux() (in module jarvis.modules.models.squire)</a>
</li>
<li><a href="index.html#jarvis.modules.speaker.speak.Speaker.get_english_voices">get_english_voices() (jarvis.modules.speaker.speak.Speaker method)</a>
</li>
Expand Down Expand Up @@ -998,7 +1006,7 @@ <h2 id="G">G</h2>
<h2 id="H">H</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.handle_multiform">handle_multiform() (in module jarvis.modules.models.classes)</a>
<li><a href="index.html#jarvis.modules.models.squire.handle_multiform">handle_multiform() (in module jarvis.modules.models.squire)</a>
</li>
<li><a href="index.html#jarvis.executors.restrictions.handle_restrictions">handle_restrictions() (in module jarvis.executors.restrictions)</a>
</li>
Expand All @@ -1025,8 +1033,6 @@ <h2 id="H">H</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.home">home (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.car.Operations.honk">honk() (jarvis.executors.car.Operations method)</a>
</li>
<li><a href="index.html#jarvis.executors.system.hosted_device_info">hosted_device_info() (in module jarvis.executors.system)</a>
</li>
<li><a href="index.html#jarvis.modules.utils.support.hostname_to_ip">hostname_to_ip() (in module jarvis.modules.utils.support)</a>
</li>
Expand Down Expand Up @@ -1538,15 +1544,15 @@ <h2 id="J">J</h2>
<li><a href="index.html#module-jarvis.executors.robinhood">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
jarvis.executors.simulator

<ul>
<li><a href="index.html#module-jarvis.executors.simulator">module</a>
</li>
</ul></li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li>
jarvis.executors.static_responses

Expand Down Expand Up @@ -1832,6 +1838,13 @@ <h2 id="J">J</h2>

<ul>
<li><a href="index.html#module-jarvis.modules.models.models">module</a>
</li>
</ul></li>
<li>
jarvis.modules.models.squire

<ul>
<li><a href="index.html#module-jarvis.modules.models.squire">module</a>
</li>
</ul></li>
<li>
Expand Down Expand Up @@ -2167,10 +2180,10 @@ <h2 id="M">M</h2>
</li>
</ul></li>
<li><a href="index.html#jarvis.modules.crontab.expression.CronExpression.MINUTES">MINUTES (jarvis.modules.crontab.expression.CronExpression attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.exceptions.MissingEnvVars">MissingEnvVars</a>
</li>
<li><a href="index.html#jarvis.modules.facenet.face.FaceNet.MODEL">MODEL (jarvis.modules.facenet.face.FaceNet attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings.model_post_init">model_post_init() (jarvis.modules.models.classes.Settings method)</a>
</li>
<li>
module
Expand Down Expand Up @@ -2379,6 +2392,8 @@ <h2 id="M">M</h2>
<li><a href="index.html#module-jarvis.modules.models.classes">jarvis.modules.models.classes</a>
</li>
<li><a href="index.html#module-jarvis.modules.models.models">jarvis.modules.models.models</a>
</li>
<li><a href="index.html#module-jarvis.modules.models.squire">jarvis.modules.models.squire</a>
</li>
<li><a href="index.html#module-jarvis.modules.peripherals">jarvis.modules.peripherals</a>
</li>
Expand Down Expand Up @@ -2531,10 +2546,10 @@ <h2 id="O">O</h2>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.ollama_timeout">ollama_timeout (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.executors.offline.ondemand_offline_automation">ondemand_offline_automation() (in module jarvis.executors.offline)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.open_gmail_pass">open_gmail_pass (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.open_gmail_user">open_gmail_user (jarvis.modules.models.classes.EnvConfig attribute)</a>
Expand All @@ -2554,8 +2569,12 @@ <h2 id="O">O</h2>
<li><a href="index.html#jarvis.lib.installer.os_agnostic">os_agnostic() (in module jarvis.lib.installer)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.WiFiConnection.os_errors">os_errors (jarvis.modules.models.classes.WiFiConnection attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings.os_name">os_name (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.lib.installer.os_specific_pip">os_specific_pip() (in module jarvis.lib.installer)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.Settings.os_version">os_version (jarvis.modules.models.classes.Settings attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.models.enums.EventApp.OUTLOOK">OUTLOOK (jarvis.modules.models.enums.EventApp attribute)</a>
</li>
Expand All @@ -2572,6 +2591,8 @@ <h2 id="P">P</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.parse_birthday">parse_birthday() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
<li><a href="index.html#jarvis.modules.meetings.ics.parse_calendar">parse_calendar() (in module jarvis.modules.meetings.ics)</a>
</li>
<li><a href="index.html#jarvis.modules.models.squire.parse_ignore_hours">parse_ignore_hours() (in module jarvis.modules.models.squire)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.parse_microphone_index">parse_microphone_index() (jarvis.modules.models.classes.EnvConfig class method)</a>
</li>
Expand Down Expand Up @@ -2630,11 +2651,11 @@ <h2 id="P">P</h2>
<li><a href="index.html#jarvis.executors.guard.politely_disable">politely_disable() (in module jarvis.executors.guard)</a>
</li>
<li><a href="index.html#jarvis.modules.telegram.bot.poll_for_messages">poll_for_messages() (in module jarvis.modules.telegram.bot)</a>
</li>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.porcupine_key">porcupine_key (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.porcupine_key">porcupine_key (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.modules.tv.roku.RokuECP.PORT">PORT (jarvis.modules.tv.roku.RokuECP attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.lights_squire.preset">preset() (in module jarvis.executors.lights_squire)</a>
Expand Down Expand Up @@ -3110,8 +3131,6 @@ <h2 id="S">S</h2>
<li><a href="index.html#jarvis.modules.models.classes.EnvConfig.sync_meetings">sync_meetings (jarvis.modules.models.classes.EnvConfig attribute)</a>
</li>
<li><a href="index.html#jarvis.executors.system.system_info">system_info() (in module jarvis.executors.system)</a>
</li>
<li><a href="index.html#jarvis.executors.system.system_vitals">system_vitals() (in module jarvis.executors.system)</a>
</li>
</ul></td>
</tr></table>
Expand Down
Loading

0 comments on commit c11ccd3

Please sign in to comment.