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

RPI - reporter via REST API #11

Closed
ulfur8149 opened this issue Aug 13, 2020 · 1 comment
Closed

RPI - reporter via REST API #11

ulfur8149 opened this issue Aug 13, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@ulfur8149
Copy link

Hello,

I like your RPI reporter a lot. However I dont work with MQTT at home. I prefer working with REST-API's using swagger documentation. So that I can expose the info as an output on the Raspberry Pi that I monitor and collect the input via the sensor configuration on my Home automation.
I have this currently set up on my raspberry pi's. Is this something you are interested in, in seeing working?

Regards,

Thomas

@ironsheep ironsheep added the wontfix This will not be worked on label Aug 13, 2020
@ironsheep
Copy link
Owner

ironsheep commented Aug 13, 2020

Hi, thanks for writing. Glad you like the RPi reporter concept.

I prefer a push/notify info distribution over pull/polling. For many different reasons.

What you are wanting is not difficult to do but would take some time. My daemon code would show you how to gather the information needed by your HTTP server running on the RPi. But you would still need something to poll all of your REST devices and post that information within HA. HA would then expose the sensors internally, I guess, and the RPi Card would then see the updates. I'm theorizing here as I've not done things that way. Seems like this would put a very different load on your device running HA but we all build things we are comfortable with and learn from, right?

I have many more devices/projects in my home to work on which will keep me busy but please feel free to use any parts of my offering that will help you, abiding by the licensing of each, of course.

Also, I'll be posting (have already) one or more scripts that also feed the RPi Monitor cards since it can be used for many IoT devices with similar characteristics (needs security/software updates, has storage, and other attributes indicating the health of the device, etc) If you have heard of the Onion Omega2 devices, they are now also supported with their own daemon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants