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

integrate into other monitoring systems #2

Open
DOliana opened this issue Aug 5, 2020 · 4 comments
Open

integrate into other monitoring systems #2

DOliana opened this issue Aug 5, 2020 · 4 comments

Comments

@DOliana
Copy link
Contributor

DOliana commented Aug 5, 2020

I would like to monitor the Power Pi via OpenHab instead of node red. Could you provide some guidance on how monitoring of the Power Pi can be achieved so that it can be integrated into other systems like OpenHab?

@tjohn327
Copy link
Owner

tjohn327 commented Aug 5, 2020

The status of Power Pi is being published as UDP message on the port 127.0.0.1:40001 by ups.service.

The messages are JSON formatted as follows:
{
"BatteryPercentage": 87,
"BatteryVoltage": 4.08,
"ChargeCurrent": 0,
"ChargeStatus": "Not Charging",
"InputVoltage": 2.6,
"PowerInputStatus": "Not Connected",
"TimeRemaining": 76
}

@DOliana
Copy link
Contributor Author

DOliana commented Aug 8, 2020

thanks for the info - I will look into that. Maybe I can forward that port to something within a docker container that can then redirect it to openhab. I am thinking of building a small PowerPi to MQTT service.

Have you thought about integrating MQTT directly?

@poindexter12
Copy link

+1 for mqtt

@DOliana
Copy link
Contributor Author

DOliana commented May 2, 2021

If anybody is interested in testing/improving MQTT support - I added MQTT-Support in a PR. Please review/improve it.

corbolais pushed a commit to corbolais/raspberry_pi_ups that referenced this issue Jun 17, 2021
Added more information about the variables used
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

3 participants