bastinat0r / Spaceapi_Visualisation

Visualisation for Data scraped from the Spaceapi
http://spaceapi-stats.n39.eu/
MIT License
20 stars 7 forks source link

Always shows open for FabLab Nürnberg #22

Open mgmax opened 8 years ago

mgmax commented 8 years ago

Your visualisation website shows FabLab Nürnberg as open for the few last days, although the raw spaceapi obviously says closed now:

{
    "api": "0.13",
    "space": "FabLab Nürnberg",
    "logo": "http://files.fablab-nuernberg.de/Pressekit/logo_hd.png",
    "url": "http://fablab-nuernberg.de/",
    "location": {
        "address": "Fab Lab Nürnberg e.V., Muggenhofer Straße 141, 90429 Nürnberg, Germany",
        "lat": 49.4604503,
        "lon": 11.0292046
    },
    "state": {
        "icon": {
            "open": "http://api.fablab-nuernberg.de/open.png",
            "closed": "http://api.fablab-nuernberg.de/closed.png"
        },
        "open": false,
        "lastchange": "1448888671",
        "message": "BETA! Also check calendar!"
    },
    "contact": {
        "issue_mail": "YWRtaW5AZmFibGFiLW51ZXJuYmVyZy5kZQ==",
        "phone": "+49 911 93277580",
        "twitter": "@FabLabNbg",
        "facebook": "https://www.facebook.com/FabLabNuernberg",
        "irc": "irc://chat.freenode.net/#fln",
        "keymasters": [
            {
                "name": "Jürgen Weigert",
                "phone": "+49 179 2069677"
            },
            {
                "name": "Michael 'Mose' Mosburger",
                "phone": "+49 171 7090732"
            },
            {
                "name": "Markus Mattern",
                "phone": "+49 176 84200913"
            }
        ]
    },
    "issue_report_channels": [
        "issue_mail"
    ],
    "feeds": {
        "wiki": {
            "type": "atom",
            "url": "http://wiki.fablab-nuernberg.de/index.php?title=Special:RecentChanges&feed=atom"
        },
        "calendar": {
            "type": "ical",
            "url": "https://www.google.com/calendar/ical/1vpegi1lhn9ejbkqq0s6tmumro%40group.calendar.google.com/public/basic.ics"
        }
    },
    "projects": [
        "https://github.com/fablabnbg",
        "http://wiki.fablab-nuernberg.de/index.php?title=Special:AllPages&namespace=502"
    ],
    "sensors": {
        "total_member_count": [
            {
                "name": "full members",
                "value": 102
            },
            {
                "name": "sustaining members",
                "value": 16
            }
        ]
    },
    "open": false,
    "icon": {
        "open": "http://api.fablab-nuernberg.de/open.png",
        "closed": "http://api.fablab-nuernberg.de/closed.png"
    }
}
electronicfreak commented 8 years ago

same problem in Hackerspace Bielefeld e.V

bastinat0r commented 8 years ago

@mgmax have you set the correct time in lastchange? The one you pasted points to 2015. Lastchange field is evaluated as correct timestamp for your open/close event.

mgmax commented 8 years ago

The time I posted is 30.11.2015 - 14:04:31 UTC, I posted it exactly the same date, so it is most probably correct.

bastinat0r commented 8 years ago

Oh, I didn't realise this -,-