Giter Site home page Giter Site logo

Comments (5)

geerlingguy avatar geerlingguy commented on May 24, 2024

And on another note... to not have to install Ansible on any of the Pis themselves, I'm going to redo everything assuming you're configuring all Pis (once they're networked and in a fresh state) from a separate workstation running Ansible. That way I can have one playbook that configures all Pis at the same time on your network. Much simpler for setup, much simpler for ongoing maintenance.

I'd also like to add in my geerlingguy.security role to harden the Pis a little, and maybe the geerlingguy.firewall role as well.

from temperature-monitor.

geerlingguy avatar geerlingguy commented on May 24, 2024

I have most of the master configuration wrapped up in Ansible now. Need to figure out the best/simplest way to daemonize the Python scripts, though.

from temperature-monitor.

geerlingguy avatar geerlingguy commented on May 24, 2024

This is sooo close to perfect. Going to do a little more testing, but this makes the entire configuration take a couple minutes instead of sitting around tweaking all kinds of junk. Also, turning the pi-temps.py script into a daemonized service makes this a lot more resilient!

from temperature-monitor.

geerlingguy avatar geerlingguy commented on May 24, 2024

Need to also add modifications (using lineinfile) to /boot/config.txt:

dtoverlay=w1-gpio
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off

And add the following line (using lineinfile) to /etc/rc.local:

/usr/bin/tvservice -o

from temperature-monitor.

geerlingguy avatar geerlingguy commented on May 24, 2024

Just added a new Raspberry Pi Ansible role to support the above changes: https://galaxy.ansible.com/detail#/role/6445

Committing changes to this project in a minute, and that will be the end of this issue!

from temperature-monitor.

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.