[Script request]: Station Weather to MQTT integration for local/standard Home Assistant integration #4405
Unanswered
Tikilou
asked this question in
Request script
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Application Name
Ecowitt2mqtt
Website
https://github.com/bachya/ecowitt2mqtt
Description
Hello, one of the main problems with personal weather stations at the moment is their dependence on the Internet to communicate with open source tools such as Home Assistant, which makes no sense, especially as the ecowitt system built into these stations can only communicate with one server at a time.
I'm currently using a tool called Ecowitt2mqtt which standardizes all this by converting the data sent for an Ecowitt server to MQTT so that these stations can be used locally and on any standard MQTT broker and integrated into a local home automation system.
However, I was unable to install it on ubuntu 24.04, the tool is currently running on ubuntu 22.04.
Could someone look into this and come up with a ready-to-use script with station/sensors detection ? :-)
This is a little (not full) example of service :
`/etc/systemd/system/ecowitt2mqtt.service
[Unit]
Description=Ecowitt to MQTT Service
After=network.target
[Service]
ExecStart=/usr/local/bin/ecowitt2mqtt --mqtt-broker=192.168.1.1 --mqtt-topic=ecowitt2mqtt/device_1 --output-unit-temperature= C --output-unit-speed=m/s --output-unit-pressure=hPa --output-unit-precipitation-rate=mm/h --output-unit-distance=km --output-unit-accumulated-precipitation=mm --output-unit-illuminance=W/m
User=root
Group=root
[Install]
WantedBy=multi-user.target
`
Due Diligence
Beta Was this translation helpful? Give feedback.
All reactions