-
Notifications
You must be signed in to change notification settings - Fork 5
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
MQTT support #12
Comments
Hello @P1-Ro & thank you for reaching out regarding this. Currently its enabled via a special firmware or via your own build by enabling it here: https://github.com/davidkreidler/OpenCO2_Sensor/blob/main/OpenCO2_Sensor.ino#L40C10-L40C10 How to install it:
Connect again to the "OpenCO2 Sensor" network and insert your home network credentials and MQTT settings under "Configure WiFi". |
Super stoked about that. I'll let you know when I have time to play with it :) |
Currently playing around with the MQTT enabled firmware, but already run into a problem: The device was previously joined to a WiFi (so it does not open its own AP and show up under 192.168.4.1 any more), but I can ping its home wifi client IP. How do I get the WiFiManager configuration web form now to enter the MQTT data? It does not seem to listen on port 80. Update: found it out: one can erase all the flash via the arduino IDE option, then, after enabling WiFi via the OpenCO2 menu, it will start from scratch. |
I found this on Tindie and I am extremely interested.
Would it be possible to add MQTT support? That way it could be easily connected to Home Assistant.
It could work or example something like this: when screen information refreshes, check if mqtt is configured, if yes then publish message to it.
The text was updated successfully, but these errors were encountered: