Opened 7 months ago
Closed 8 weeks ago
#162 closed enhancement (done)
have a staleness signal on the website
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cyberspace | Keywords: | |
Cc: |
Description
We want to be able to signal that our calendar is up to date and there are people in the space keeping it alive & lived in somehow.
other hackerspaces that stagnate / go into hibernation sometimes keep their website up and it looks like they're doing things but in reality they aren't.
Attachments (2)
Change History (13)
comment:1 by , 7 months ago
comment:2 by , 7 months ago
I've added spaceapi to homeassistant via https://www.home-assistant.io/integrations/spaceapi/. can't figure out how to expose the http://homeassistant.devhack.net/api/spaceapi endpoint successfully.
need to figure out what a good presence detection is. either front door opened, carbon dioxide. or a physical action. see: #164
comment:3 by , 6 months ago
bluetooth device presence detection might work? like ESPresense. “last time an abnormal amount of bluetooth devices showed up at the space: 3h ago (165 devices)”
comment:4 by , 2 months ago
Got stuff up and running at https://devhack.net/spaceapi.json, although not committed yet because I need to store homeassistant tokens somewhere for the nginx config.
Gonna make a widget for the front page to pull from that & add it to the spaceapi directory
comment:5 by , 2 months ago
Technologia Incognita has a physical button to control their spaceapi state. this probably makes the most sense? Let people manually say the space is open? (picture attached of their button)
comment:6 by , 8 weeks ago
Updated website to display with commit 8c462507b60b33f2cbb4f4f07a04be892a785c4c (attaching screenshot)
comment:7 by , 8 weeks ago
devhack.net PR here: https://git.devhack.net/devhack/core-infra/pulls/108
comment:8 by , 8 weeks ago
current spaceapi hass config looks like this, needs work since our door state controller went down:
spaceapi: space: /dev/hack logo: https://devhack.net/favicon.ico url: https://devhack.net location: address: "4534½ University Way NE, Seattle WA" contact: email: hello@devhack.net issue_report_channels: - email state: entity_id: binary_sensor.front_door
comment:9 by , 8 weeks ago
i've changed it to use lights for now (the way that the Telegram bot works):
state: entity_id: binary_sensor.all_lights_helper sensors: temperature: - sensor.median_temperature
comment:11 by , 8 weeks ago
Resolution: | → done |
---|---|
Status: | new → closed |
this could be done with spaceAPI occupancy sensors hooked up to CO2 or bluetooth or wifi or something within homeassistant. or javascript checking webpage last modified / deployed date.