Projects/Spacestate: Difference between revisions

From Hackerspace Amersfoort
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
root@service:/opt/spacestate# tree
root@service:/opt/spacestate# tree
.
.
├── bin
│   ├── apc-switch
│   └── poe-switch
├── bitlair_closed.d
├── bitlair_closed.d
│   ├── 10_log
│   ├── 10_log
│   ├── 10_mqtt
│   ├── 10_mqtt
│   ├── 20_ledboard_poweroff
│   ├── 20_music_poweroff
│   ├── 20_music_poweroff
│   ├── 20_phone_on
│   └── 80_twitter
│   └── 80_twitter
├── bitlair_open.d
├── bitlair_open.d
│   ├── 10_log
│   ├── 10_log
│   ├── 10_mqtt
│   ├── 10_mqtt
│   ├── 20_ledboard_poweron
│   ├── 20_music_poweron
│   ├── 20_phone_off
│   └── 80_twitter
│   └── 80_twitter
├── djo_closed.d
├── djo_closed.d
└── djo_open.d
│   ├── 20_ledboard_poweroff -> ../bitlair_closed.d/20_ledboard_poweroff
│   └── 20_music_poweroff -> ../bitlair_closed.d/20_music_poweroff
├── djo_open.d
│   ├── 20_ledboard_poweron -> ../bitlair_open.d/20_ledboard_poweron
│   └── 20_music_poweron -> ../bitlair_open.d/20_music_poweron
└── README
</pre>
</pre>



Revision as of 17:10, 19 September 2016


Project Spacestate
Name Spacestate
Start 2016/09/19
End
Contact User:Polyfloyd, User:AK47
Website
Information Opvolger van SpaceNotifier
Status Alpha


Het huidige systeem wat de spacestate beheert en dingen in- en uitschakelt is een beetje een warboel. Let's fix it!

Ideeën

  • Gebruik run-parts
  • Fysieke (3-standen) knop voor Bitlair/DJO spacestate

Voortgang

root@service:/opt/spacestate# tree
.
├── bin
│   ├── apc-switch
│   └── poe-switch
├── bitlair_closed.d
│   ├── 10_log
│   ├── 10_mqtt
│   ├── 20_ledboard_poweroff
│   ├── 20_music_poweroff
│   ├── 20_phone_on
│   └── 80_twitter
├── bitlair_open.d
│   ├── 10_log
│   ├── 10_mqtt
│   ├── 20_ledboard_poweron
│   ├── 20_music_poweron
│   ├── 20_phone_off
│   └── 80_twitter
├── djo_closed.d
│   ├── 20_ledboard_poweroff -> ../bitlair_closed.d/20_ledboard_poweroff
│   └── 20_music_poweroff -> ../bitlair_closed.d/20_music_poweroff
├── djo_open.d
│   ├── 20_ledboard_poweron -> ../bitlair_open.d/20_ledboard_poweron
│   └── 20_music_poweron -> ../bitlair_open.d/20_music_poweron
└── README

Twitter

Gebruik bitlair-tweet <message> in /usr/local/bin om een bericht over Twitter te sturen. De gebruiker moet hiervoor in de twitter groep zitten.