Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT discovery missing #1009

Closed
greinet opened this issue Aug 3, 2023 · 3 comments
Closed

MQTT discovery missing #1009

greinet opened this issue Aug 3, 2023 · 3 comments
Labels
ha-addon Question related to Home Assistant addon

Comments

@greinet
Copy link

greinet commented Aug 3, 2023

Type of request

Bug

HAOS version

2023.8.0

wmbusmeters version

1.14.0

Your message goes here

When I run the Home Assistant addon, i get the error message
[23:00:23] INFO: MQTT Discovery ... tar: wmbusmeters-master/ha-addon/mqtt_discovery: not found in archive

It seems that the mqtt_discovery was moved to the addon repository at https://github.com/wmbusmeters/wmbusmeters-ha-addon/tree/main/wmbusmeters-ha-addon/mqtt_discovery at some point if I am not mistaken, so of course when running
wget -O - https://github.com/wmbusmeters/wmbusmeters/archive/refs/heads/master.tar.gz 2> /dev/null | tar xz --strip=3 "wmbusmeters-master/ha-addon/mqtt_discovery" -C $templatedir || true
in the mqtt_discovery.sh script inside the Home Assistant addon the directory can not be found as it is not in the main wmbusmeters repository anymore.
Is this feature not used or ist this a bug?

Greetings,
Andy

@greinet greinet added the ha-addon Question related to Home Assistant addon label Aug 3, 2023
@VoyteckPL
Copy link

Same here

BIBOLV added a commit to wmbusmeters/wmbusmeters-ha-addon that referenced this issue Aug 9, 2023
@BIBOLV
Copy link
Collaborator

BIBOLV commented Aug 9, 2023

Tnx for reporting - URL was changed.

@BIBOLV BIBOLV closed this as completed Aug 9, 2023
@mikkel75
Copy link

mikkel75 commented Dec 7, 2023

Just installed latest version: 1.14.0 - I still get this error:

.....
[11:12:27] INFO: CONFIG_CONF ...
[11:12:27] INFO: {"device":"/dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb_018D112F-if00-port0:im871a:t1,c1","donotprobe":"/dev/ttyAMA0","format":"json","logfile":"/dev/stdout","loglevel":"verbose","logtelegrams":false,"shell":"/wmbusmeters/mosquitto_pub.sh "wmbusmeters/$METER_NAME" "$METER_JSON""}
[11:12:27] INFO: CONFIG_METERS ...
[11:12:27] INFO: []
[11:12:27] INFO: Syncing wmbusmeters configuration ...
[11:12:27] INFO: Registering meters ...
[11:12:27] INFO: Generating MQTT configuration ...
[11:12:27] INFO: Broker core-mosquitto will be used.
[11:12:27] INFO:
MQTT Discovery ...
tar: wmbusmeters-master/ha-addon/mqtt_discovery: not found in archive
[11:12:28] INFO: MQTT Discovery cleanup...
[11:12:29] INFO: Starting web configuration service.
[11:12:29] INFO: Running wmbusmeters ...
(wmbusmeters) using log file /dev/stdout
(wmbusmeters) version: 1.14.0
(config) using device: /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb_018D112F-if00-port0:im871a:t1,c1
(config) number of meters: 0
......

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ha-addon Question related to Home Assistant addon
Projects
None yet
Development

No branches or pull requests

4 participants