Closed bonaas closed 3 months ago
Hi
Which region did you choose when logging into MyLeaf app?
Did you try to issue docker pull kamikac/leaf2mqtt:latest
before docker compose
?
Do you have any special characters in your login/password?
BR
Marcin
Hi Marcin,
In the MyLeaf app, I use Region: Europe.
docker pull kamikac/leaf2mqtt:latest
/Docker$ docker pull kamikac/leaf2mqtt:latest
latest: Pulling from kamikac/leaf2mqtt
Digest: sha256:841ce1630bab07a1fde73141b4aa96dbda913b3d31f6889f06b4d77add1983c8
Status: Image is up to date for kamikac/leaf2mqtt:latest
docker.io/kamikac/leaf2mqtt:latest
Regarding the password. Yes, I use an exclamation mark "!" in the password, as it is an requirement when changeing password (one special character (!@#$%&*)).
BRG, Bjørn
Hi
Please try to change image to kamikac/leaf2mqtt:v0.0.3-edge
.
BR Marcin
Hi Marcin,
Seem to be working very good. Thanks for the support :-)
~/Docker$ docker pull kamikac/leaf2mqtt:v0.0.3-edge
v0.0.3-edge: Pulling from kamikac/leaf2mqtt
95e9e7e4ec7f: Already exists
c869eccc3755: Pull complete
Digest: sha256:73b4f0ae125885e9160cd8f26a9d0d2a81a47001f0043daee68d57980dd7c39e
Status: Downloaded newer image for kamikac/leaf2mqtt:v0.0.3-edge
docker.io/kamikac/leaf2mqtt:v0.0.3-edge
~/Docker$ docker compose up leaf2mqtt
[+] Running 1/0
✔ Container leaf2mqtt Recreated 0.0s
Attaching to leaf2mqtt
leaf2mqtt | INFO: 2024-06-14 05:22:30.412362: main: Version: v0.0.3-edge
leaf2mqtt | INFO: 2024-06-14 05:22:30.412421: MqttClientWrapper: Creating MQTT client with 192.168.1.16:1883 listening on leaf.
leaf2mqtt | INFO: 2024-06-14 05:22:30.412517: MqttClientWrapper: Connecting...
leaf2mqtt | INFO: 2024-06-14 05:22:30.413206: MqttClientWrapper: Mqtt connection code: MqttConnectReturnCode.connectionAccepted
leaf2mqtt | INFO: 2024-06-14 05:22:30.413213: main: Logging in.
leaf2mqtt | INFO: 2024-06-14 05:22:59.935877: main: Login successful
leaf2mqtt | INFO: 2024-06-14 05:22:59.935907: main: MQTT connected.
leaf2mqtt | INFO: 2024-06-14 05:22:59.935915: MqttClientWrapper: Subscribing to command topics
BRG, Bjørn
Solved with build v0.0.4 (#23) image: kamikac/leaf2mqtt:v0.0.4
Please remember to update the version tag in https://github.com/kamiKAC/leaf2mqtt/blob/main/addon/config.json
Thanks for the reminder. I've corrected release-please config so tag gets updated automatically :)
The addon update showed up in HA. But cannot update due to an "unknown manifest" :-S
I ended up running the docker container directly. But just letting you know that the addon still does not work
I don't use HA so I cant test. I found tag was leaf2mqtt-v0.0.4
instead v0.0.4
. Its fixed now.
Could you please check once again?
Still not working. Have a look at the config file inside the addon folder. You've changed it from "v0.0.3" (which was working) to "0.0.4" (which is not working). Try with "v0.0.4"
@Jopand Thanks for pointing the right direction 👍
Unfortunately release-please does not support extra-files with version format including v
so I had to make a workaround.
Next time it should update add-on version properly 😄
Describe the bug The docker container is unable to login. Only returning "An error occured while logging in.". It used to work with "yp87/leaf2mqtt". "My Leaf" from Tobias is working fine. I have verified that the username/email and password is the same in "My Leaf" as the local_settings_leaf.env.
LEAF_TYPE LEAF_TYPE=olderEurope Leaf 2018. Europe.
Expected behavior Successful connection.
docker-compose.yaml
local_settings_leaf.env
Log