Skip to content

Wifi not available on battery ? #22

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

Open
YannDanthu opened this issue Jul 28, 2024 · 2 comments
Open

Wifi not available on battery ? #22

YannDanthu opened this issue Jul 28, 2024 · 2 comments
Assignees

Comments

@YannDanthu
Copy link

Hello,

first of all thank you for making the OpenCO2 sensor.

Quick question related to the wifi, as it is only available while on power and not on battery.
Is this because of energy consumption ?

Also, while on power the temperature is messed up and not accurate anymore, probably by the heat generated by the charging battery.

Do you plan to allow wifi on battery in the future ?

@davidkreidler
Copy link
Owner

Hey @YannDanthu thanks for reaching out.

The current Wi-Fi implementation is only active if power is connected. You are correct this is for energy saving reasons. There are no hardware limitations that limit the activation on Battery, but a good energy saving implementation like ESP-NOW would be recommended.

There is one esphome implementation by Yourigh available with some limitations (no LED / Menu / limited Fonts)
https://github.com/Yourigh/OpenCO2_Sensor_esphome/tree/main

Other then that my main focus until now was not on enabling WiFi on Battery. This is because the use case was to use the OpenCO2 Sensor on Battery while being on the go and plugging it back in when coming Home, automatically enabling WiFi.

While charging elevated temperatures are expected because of the used TP4065 which lowers the 5V USB Voltage to the current Battery voltage via dissipating heat. Charging from empty to full should be completed after less then 1:50 h.

Hope this helps,
David

@davidkreidler davidkreidler self-assigned this Jul 28, 2024
@YannDanthu
Copy link
Author

thanks for the answer.

One last question, I didn't dig into it yet but would it be easy to publish the metrics to an endpoint from the CO2Sensor (instead of pulling from another device)

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