Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] <Can we make the device names more consistent> #14

Open
Botato12 opened this issue Dec 5, 2024 · 1 comment
Open

[Feature] <Can we make the device names more consistent> #14

Botato12 opened this issue Dec 5, 2024 · 1 comment

Comments

@Botato12
Copy link

Botato12 commented Dec 5, 2024

Is your feature request related to a problem? Please describe.

Currently, there are many variants of device names, some with a dash between brand and number, some with a dash and spaces, and some with just a single space. Also, there is "Airtings - 4" with a missing "h". Is it possible to rename them to a more consistent format on our end, or must we contact the API provider?

If possible, I'd love to remove all spaces and have just a single dash between brand and number:
"Airthings-2"
"uHoo-3.2"
Airlys are named with six digits, maybe we can keep it as is for now.

Thanks,
Bowen

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@sphamba
Copy link
Collaborator

sphamba commented Dec 9, 2024

The sensor names are indeed provided by the APIs, and they correspond to the names that were input by the person who added the sensors to the dashboards. They probably should not be changed there, as it would mess up the data currently saved in our database.

Still, if you would need it, I can adapt the Python fetching interface so that asking for Airthings-2 would retrieve data for Airthings - 2 in a transparent manner. There is already a similar behavior for querying fields that have synonyms (eg asking for temperature retrieves temp and temperature)

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

No branches or pull requests

2 participants