ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
472 stars 64 forks source link

Make this a component for Hassio #4

Open johro897 opened 4 years ago

johro897 commented 4 years ago

I am using multiple Hasssio installations and I am guessing more people are. Would it be possible to create this as a HACs integration as well? It would improve the posibility for a overview on my main installation.

Easy and quick to be able to utilize the information together with the lovelace card.

ironsheep commented 4 years ago

I have a number of small projects in the works... but I'll look into this after I complete a couple of them. Thanks for the suggestion. Normally I'd say just install this script but I do understand there are a couple of installation forms of home assistant that make this more difficult.

Thanks for the suggestion. More soon...

ironsheep commented 4 years ago

Question? What are you trying to solve by this being a HACs integration? I'm not sure I understand... I'm not sure what we'd be trying to make here. I'm willing to but I need to be really clear on what's being built.

johro897 commented 4 years ago

I have multiple instances of hassio to control various objects. I would like to be able to get all data from those into my main installation top have a good overview.

Since they use hassio, I can't use direct Linux command so I was thinking of instead having a custom component and install trough HACS, then user the Lovelace card to show the info.

jds11111 commented 4 years ago

Great software. I have it installed on several pis already. I can confirm that it also works with RPi0W. I wanted to point out a few small things about the documentation:

First, the commands in the CONFIGURATION section need sudo (at least on my Pi). It annoyed me mildly twice after modifying the config file, and then not being able to save it. I should know better, but apparently I don't.

Second, regarding the modifications for the config file. The comments say what the default port is, but I had to uncomment out the default port assignment for it to work. ~Same for the MQTT sensor name~

I also had issues with the Lovelace card, but I should probably post those there.

Thanks for the public code!

dalwhin commented 4 years ago

Hello ironsheep

Are there any news on this topic? I am asking because I would like to use your "RPi Monitor Card" but as there is no counterpart, it always says "not loaded".

Thanks for the reply

ironsheep commented 4 years ago

@jds11111 i have over 15 installs of my own and many users around the world. You are the first person to report that the default port number doesn't work. Can you please verify this? It's working for me in all on my RPi's and my Onion Omega2+'s...

ironsheep commented 4 years ago

@dalwhin no there's no progress on making this a component for HA. Most of my users are adopting the Supervised install form which this current script works well on. Still keeping an eye on things... but i've a number of small other projects which are occupying my time... don't we all? ;-)

jds11111 commented 4 years ago

@jds11111 i have over 15 installs of my own and many users around the world. You are the first person to report that the default port number doesn't work. Can you please verify this? It's working for me in all on my RPi's and my Onion Omega2+'s...

That was the odd thing with the RPi0W. I had to explicitly add the default port number to make it work. I did not change the actual port.

marima84 commented 4 years ago

Since I'm running homeassistant on Hass.io I would be very intrested on the development on the HACs integration. Thanks

Mark

zeit0dn1 commented 4 years ago

+1 for me... be nice to see this work with Hassio Pi's.

Thank you so much for this functionality, I love it!

metbril commented 4 years ago

I'm not a software developer and have little Python skills. What would be required to convert this script into a regular custom component?

gribouk commented 4 years ago

I am using multiple Hasssio installations and I am guessing more people are. Would it be possible to create this as a HACs integration as well? It would improve the posibility for a overview on my main installation.

Easy and quick to be able to utilize the information together with the lovelace card.

Ho do you install it under HA OS at all? Could you provide some directions, because I do not understand how to install it if I am deprived of direct access to Linux.

ironsheep commented 4 years ago

For those of you running on developer provided RPi image of home assistant, please see https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/19 for a possible solution.

metbril commented 4 years ago

If you mean adding some sensors with similar features that is not a viable solution for me. I don't read any solution to install a daemon on hass os.