Get working scanning over rgpiod

This includes getting a list of chips, their line numbers, enumerating
the properties of the lines/pins, and providing to the user the list of
valid pins to connect to relays.

It also includes reworking the fake relay system and the configuration
file.

I believe this ends the rampant refactoring and I'll now stabilize out
some features.
This commit is contained in:
Eli Ribble 2023-05-26 09:28:39 -07:00
parent cbffa327b9
commit dd637c2eaa
5 changed files with 158 additions and 38 deletions

View file

@ -6,7 +6,7 @@
<h2>Relays</h2>
<ul>
{% for relay in relays %}
<li><a href="/relay/{{ relay.id }}">{{ relay.name }}</a> - {{ relay.state }}</li>
<li><a href="/relay/{{ relay.id }}">{{ relay.name }}</a> - {{ relay.state }}</li>
{% endfor %}
</ul>
{% endif %}