GithubHelp home page GithubHelp logo

Update script about rpi-reporter-mqtt2ha-daemon HOT 6 OPEN

ddppddpp avatar ddppddpp commented on September 24, 2024 1
Update script

from rpi-reporter-mqtt2ha-daemon.

Comments (6)

ironsheep avatar ironsheep commented on September 24, 2024

Is your intent now to create a button in HA to do the full os upgrade sequence but unattended?:

sudo apt-get update
sudo apt-get dist-upgrade

from rpi-reporter-mqtt2ha-daemon.

ddppddpp avatar ddppddpp commented on September 24, 2024

No, not really, only RPi-Reporter

from rpi-reporter-mqtt2ha-daemon.

ironsheep avatar ironsheep commented on September 24, 2024

Ok, I'm misunderstanding, sorry. So, do you want the reporter project itself to be updated?

Since there are a number of ways it could be installed this would have to be a script created by the user and then identified to the daemon. The script would do the installation specific to the users' install technique. The daemon would tell the system to launch the script asynchronously as the Daemon couldn't launch the script directly since it would be being replaced... hmm... need to ponder this and do some research.

from rpi-reporter-mqtt2ha-daemon.

armin-gh avatar armin-gh commented on September 24, 2024

Using the attached script since a while, nothing fancy, installation location and service name are not really flexible, but it is doing the job when updating this project .

Forgot to mention: The file is of course kept outside the installation-folder for RPI-Reporter, I'm starting it from the "home"-folder for my standard user on the Raspberry.

Armin
rpi-reporterupdate.txt

from rpi-reporter-mqtt2ha-daemon.

ironsheep avatar ironsheep commented on September 24, 2024

Thanks for the script... more when I decide how to handle this...

from rpi-reporter-mqtt2ha-daemon.

bsimmo avatar bsimmo commented on September 24, 2024

One thing that update script doesn't do, as I just used it thankyou :-), is merge the config.ini files.
So some new features can are not used/easy to edit afterwards.

from rpi-reporter-mqtt2ha-daemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.