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
441 stars 62 forks source link

Setup problem in volumio after OS update #119

Open redlingg opened 7 months ago

redlingg commented 7 months ago

Checklist:

Release with the issue: Raspbian GNU/Linux 10 (buster) Last working release (if known): .. Hardware, Operating System, Python version: PiZero, Python 3.7.3

Description of problem: pi does not provide data to mosquito.

Run our report script 'genBugInfo' on your failing device and include the output here: cannot run this

Python errors shown in the logs (if applicable):

Additional information:

bsimmo commented 7 months ago

You are going to have to work through the setup again, check and see where it fails.

Test you can also just send to the mqtt server and see it outside of the program. Use a monitoring program.

Run all of this again and what errors does it say, error messages, what works etc.

Something for us to go on. As far as I can tell it could be that you have not turn the server on at the power.

On Sat, 18 Nov 2023, 17:07 redlingg, @.***> wrote:

Checklist:

  • I updated to the latest version available
  • I checked that my MQTT broker is otherwise working

Release with the issue: Raspbian GNU/Linux 10 (buster) Last working release (if known): .. Hardware, Operating System, Python version: PiZero, Python 3.7.3

Description of problem: pi does not provide data to mosquito.

Run our report script 'genBugInfo' on your failing device and include the output here: cannot run this

Python errors shown in the logs (if applicable):

Additional information:

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN7UVG7GO4GN64AK3NDYFDTN5AVCNFSM6AAAAAA7RDA6QSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDANJQGI3DAMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

redlingg commented 7 months ago

Fresh istall of OS:

sudo apt-get install git python3 python3-pip python3-tzlocal python3-sdnotify python3-colorama python3-unidecode python3-apt python3-paho-mqtt python3-requests Reading package lists... Done Building dependency tree
Reading state information... Done Package python3-apt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Unable to locate package python3-pip E: Unable to locate package python3-tzlocal E: Unable to locate package python3-sdnotify E: Unable to locate package python3-colorama E: Unable to locate package python3-unidecode E: Package 'python3-apt' has no installation candidate E: Unable to locate package python3-paho-mqtt

bsimmo commented 7 months ago

If you're still using the old buster. Then these would get installed by pip3 method later

https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon?tab=readme-ov-file#now-finish-with-the-script-install

Though RaspberryPi OS 'Buster' is not longer supported on the RaspberryPi by themselves.

You did sudo apt update first

On Sat, 18 Nov 2023, 19:10 redlingg, @.***> wrote:

Fresh istall of OS:

sudo apt-get install git python3 python3-pip python3-tzlocal python3-sdnotify python3-colorama python3-unidecode python3-apt python3-paho-mqtt python3-requests Reading package lists... Done Building dependency tree Reading state information... Done Package python3-apt is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Unable to locate package python3-pip E: Unable to locate package python3-tzlocal E: Unable to locate package python3-sdnotify E: Unable to locate package python3-colorama E: Unable to locate package python3-unidecode E: Package 'python3-apt' has no installation candidate E: Unable to locate package python3-paho-mqtt

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/119#issuecomment-1817601200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXN7VSBLOY4YGDBOWEALYFEB2LAVCNFSM6AAAAAA7RDA6QSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGYYDCMRQGA . You are receiving this because you commented.Message ID: @.***>

redlingg commented 7 months ago

Well… this is the volumio os so I dont know if it is old buster or not… What is the pip3 method?

bsimmo commented 7 months ago

You need to just work through the setup. Read what you are doing and you'll see. Ignore the apt errors for now. See if it works.

Other than that you'll need to go ask Volumio why things are not installing on their OS.

On Sat, 18 Nov 2023, 22:50 redlingg, @.***> wrote:

Well… this is the volumio os so I dont know if it is old buster or not… What is the pip3 method?

— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/119#issuecomment-1817669165, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYAXNYH7UDBQBGIUTB4GTLYFE3TNAVCNFSM6AAAAAA7RDA6QSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGY3DSMJWGU . You are receiving this because you commented.Message ID: @.***>