Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Please add the number of unknown users to !users #83

Open
jurkov opened this issue Nov 7, 2015 · 3 comments
Open

Please add the number of unknown users to !users #83

jurkov opened this issue Nov 7, 2015 · 3 comments

Comments

@jurkov
Copy link
Contributor

jurkov commented Nov 7, 2015

Please add the number of unknown users to !users

@suicider
Copy link
Member

suicider commented Nov 8, 2015

The number of devices are known. It makes no sense to show unknown users because the script reads MAC addresses: see Bytespeicher/space-status and Bytespeicher/space-status/issues/1

There are some ideas with flags in the connected_users script of the space-status that can distinguish between opt-in users for public announcement and unknown users with combined devices (e.g. 1 Smartphone, 1 Laptop).

In a first step the Bytebot can show the public connected_devices number.

@suicider
Copy link
Member

A quick solution is to add the "status" information to the "state" output:

    Der Space ist offen! 10 devices connected

But it's mixed German and English because of the fixed status message in Bytespeicher/space-status/blob/master/generate_spaceapi. The code was changed in spacestatus.py in line 31:

irc.msg(channel, '\tDer Space ist offen! ' + str(data['status']))

@suicider
Copy link
Member

suicider commented Dec 2, 2015

See my proposal at Bytebot/tree/spacestatus-devices

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants