Comments (9)
@bsimmo Sincerely, thank you for all this detail. I'm cleaning this up now.
from rpi-reporter-mqtt2ha-daemon.
Changes committed and appear in v1.8.5 and later.
from rpi-reporter-mqtt2ha-daemon.
@bsimmo Please review the updates and let me know what you think.
https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/blob/master/RMTECTRL.md
from rpi-reporter-mqtt2ha-daemon.
@ironsheep, not OP but I'm still having a little trouble with this.
The docs suggest sudo chown daemon RPi-mqtt-daemon-script.sh
to update permissions of our reporter script. However there is no script of this name in the repo.
There is an rpi-reporter
but when I change ownership for that I still have entries in auth.log
that suggest the commands are being run by root and not daemon.
I hope this was the right place to post, sorry if I should have opened a new issue, but it seemed related to this documentation request.
from rpi-reporter-mqtt2ha-daemon.
^further assistance, please. I am stuck in the same position.
from rpi-reporter-mqtt2ha-daemon.
I did scan over it and it seemed much better. Just forgot to reply here.
I'll check see what your problem is
Ah. Had a read.
@FondledYeti and @Andystew94 are you looking at S4 section.
I believe that is for adding any of your own commands to run. So in the setup area you create another entry with the command to a script you may want to run (for example an update script). It is then that scrip/file you are altering the permissions on.
You do not need that for the default setup.
If it is not that, which section are you in?
from rpi-reporter-mqtt2ha-daemon.
So you may add an update script
[Commands]
#update_reporter = /usr/bin/sudo/ place/script/is/update-script.sh 'update request over MQTT'
You would then need to add that through the sections before and then check make it executable as daemon user.
I've not tried it, but that is my take on it.
It will show up as another button in HA.
(as a side note, such an updating script can be found in #87)
None of that is needed for the normal three Commands.
Just check they're in the config file, add to sudoers. Etc.
from rpi-reporter-mqtt2ha-daemon.
@Andystew94 and @FondledYeti Sheesh... I think I botched the instructions for that Step. I've updated them please review that step (S4) now and see if (1) the instructions now work and (2) they make sense.
from rpi-reporter-mqtt2ha-daemon.
Hi @ironsheep @bsimmo, thanks for your help clearing that up. @ironsheep the updated instructions work nicely. One thing to note: I tried adding a comment to the systemctl restart
command to see if it would show up in the logs like the others do and it causes the command to fail (though it does show up in the logs :)). It's not an issue since you haven't suggested doing that, but you may like to include an alternative suggestion for grep
ing the logs when using that command.
Once again, thanks for the help and thanks for publishing the project!
from rpi-reporter-mqtt2ha-daemon.
Related Issues (20)
- I don't understand how can I get datas on HomeAssistant HOT 3
- Pip3 install requirements txt error HOT 7
- Sensor to report system uptime HOT 1
- Missing /etc/rpimonitor Directory HOT 1
- Might be missing degree in oC HOT 2
- used and free diskspace messed up HOT 3
- Date format HOT 3
- Update script HOT 6
- ERROR: No matching distribution found for apt>=0.7.8 HOT 5
- Would like the ability to connect multiple Rpi's to display in HA. HOT 7
- Add monitoring tempfs partitions (drives section) HOT 3
- Add EEPROM version for Pi4/CM4 (and any future ones that use it) HOT 1
- "Release" file out of date HOT 5
- TypeError: 'NoneType' object is not callable HOT 5
- Latest system update to 6.1.21-v8+broke the RPi Reporter HOT 6
- change for non rpi- sensor names HOT 3
- python3 /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py file HOT 5
- No updates when running "in background" HOT 9
- Resubscribe to command topics when MQTT server restarts while service is active HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-reporter-mqtt2ha-daemon.