Comments (6)
When I leave {hostname} in configuration. Still I don't know if it should be replaced automatically, or I should edit that.
from rpi-reporter-mqtt2ha-daemon.
from rpi-reporter-mqtt2ha-daemon.
Are you using RaspberryPi OS from RaspberryPi.com / Pi Imager or some other version of it?
PiOS '11' is Bullseye so should just work.
Hostname it retrieved from
/bin/hostname -f
If that doesn't work, try fix that.
If you cannot then you change
# default domain to use when hostname -f doesn't return a proper fqdn
#fallback_domain = home
Remove the # and change home to whatever you want.
from rpi-reporter-mqtt2ha-daemon.
Are you using RaspberryPi OS from RaspberryPi.com / Pi Imager or some other version of it?
I have bullseye RaspberryPi OS.
PiOS '11' is Bullseye so should just work.
Hostname it retrieved from /bin/hostname -f If that doesn't work, try fix that.
I've already mentioned that I've fixed the problem with hostname -f
.
If you cannot then you change # default domain to use when hostname -f doesn't return a proper fqdn #fallback_domain = home
The comment in config.ini.dist
above sensor_name
should better state this:
"Should be left as is with the # to have it ignored in the program and send
the hostname the Pi itself has been given by you. "
Otherwise one may think that sensor_name = rpi-{hostname}
must be un-commented, and {hostname} will be replaced in runtime either by hostname or fallback_domain
.
Remove the # and change home to whatever you want.
Thanks. But what I aim here is to make this behavior more obvious - both in README.md (installation part) and in config.ini.dist
.
from rpi-reporter-mqtt2ha-daemon.
from rpi-reporter-mqtt2ha-daemon.
Remember this is his project for something he wanted, everything else is a bonus and tagged on for others :)
Yup, and this is very great project! I've already submitted 2 PR to it to make it more easier to use :)
First I wanted to see whether {hostname} should be dereferenced or not. I see those PR you have mentioned @bsimmo - Let's wait for PR review. Personally I would add better comments to config.ini.dist
to explain the behavior and what's the default.
Maybe let's keep this "bug" open so it could be discussed how to make it more obvious how to use it.
from rpi-reporter-mqtt2ha-daemon.
Related Issues (20)
- Buster not reporting, status of payload sometimes "offline", sometimes "online" HOT 4
- I'm struggling to get this workin on my pi4 HOT 1
- Ability for networking to show all connections HOT 2
- Discovery prefix is forced to lowercase HOT 1
- Feature Request: Adding wifi signal strength HOT 5
- This URL has been moved to https
- Reboot and shutdown buttons not working from Home Assistant. HOT 2
- RPi-Reporter doesn't work with paho-mqtt 2.0.0+ HOT 2
- systemctl stopped being able start process HOT 7
- Option for setting mqtt not to retain state... HOT 2
- Problems with MQTT coms when adding new Raspberry Pi or when changing name of RPi
- 3rd Party Data Collection to kz0q (dot) com HOT 1
- Self-contained package or add-on for Kodi/LibreELEC
- Positional argument missing HOT 3
- Complete uninstallation
- There is no data in the MQTT topic. Status only HOT 31
- Custom commands, error vcgencmd "not allowed" HOT 1
- MQTT subscripton to home/nodes/command/rpi-rpi4-4gb-b/+ disabled
- Daemon fails if it cant contact http://kz0q.com/daemon-releases HOT 1
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.