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

Tester code for temperature/humidity/pressure sensor (currently working) #63

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Luthiraa
Copy link

No description provided.

@sgbaird sgbaird linked an issue Oct 4, 2024 that may be closed by this pull request
@Luthiraa
Copy link
Author

Luthiraa commented Oct 19, 2024

Update temperatureSensor with related libraries (WIP)
commit a0b12aee1b3c547b79b12064d4f4347e5e8ee98e

@sgbaird
Copy link
Member

sgbaird commented Oct 24, 2024

Lmk if/when I should merge.

@sgbaird
Copy link
Member

sgbaird commented Nov 7, 2024

Do you mind addressing the formatting issues? Instructions for pre-commit are available at https://ac-training-lab.readthedocs.io/en/latest/contributing.html#create-an-environment.

@sgbaird
Copy link
Member

sgbaird commented Dec 6, 2024

@Luthiraa can you resolve the issues with .gitignore?

@Luthiraa
Copy link
Author

Luthiraa commented Dec 8, 2024

@Luthiraa can you resolve the issues with .gitignore?

They have been addressed. Should I merge?

@sgbaird
Copy link
Member

sgbaird commented Jan 6, 2025

Seems to still have some kind of issues that's blocking merging

@sgbaird
Copy link
Member

sgbaird commented Jan 7, 2025

Is there no micropython implementation for this sensor? Also, is this already set up with mqtt and a corresponding web app?

@Luthiraa
Copy link
Author

Luthiraa commented Jan 7, 2025

Is there no micropython implementation for this sensor? Also, is this already set up with mqtt and a corresponding web app?

I'll check over the issues again. In terms of the sensor program itself, it is a micropython implementation. The webapp is a streamlit app. How should I merge the webapp to this repository as it is currently implemented here.

@sgbaird
Copy link
Member

sgbaird commented Jan 7, 2025

Okay, thanks for clarifying that it's micropython. I just invited you to the hugging face organization, you can create a new hugging face space there, similar to the other ones. More instructions at https://ac-training-lab.readthedocs.io/en/latest/devices/setup_iolt_devices.html

@Luthiraa
Copy link
Author

I created a streamlit web app under AC's hugging face and updated it with the code from my repo. I also made a folder with the scripts for the temperature sensor. However, I'm a little fuzzy on how it works autonomously... Correct me if I'm wrong but are the scripts loaded onto the device and set up in a permanent spot in the office and the web app can be used to retrieve the sensor data? If so, there might be an issue with the traffic so should I consider adding a limit to the data it transmits?

@sgbaird
Copy link
Member

sgbaird commented Jan 11, 2025

Do you mind taking a look at the other examples?

https://huggingface.co/collections/AccelerationConsortium/hardware-control-66a4506f9876e9781c8a0808

Yes, the microcontroller should be running the microcontroller code and constantly publishing data to the corresponding topic. I'm not worried about the traffic.

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

Successfully merging this pull request may close these issues.

Temperature / humidity / pressure / gas sensor
2 participants