Open cyclemat opened 2 years ago
Hello,
I tried to build a docker image with this repo, but unfortunatelly had some java error... I can't fix it, don't know if it is related to a wrong docker build image or anothet application issue ?
Here is my Dockerfile (quite simple) https://github.com/pifou25/Thinq-MQTT-Proxy/blob/master/Dockerfile
The built result is available on Docker Hub : https://hub.docker.com/r/pifou25/thinq_mqtt And... doesn't work:
$ docker run -ti pifou25/thinq_mqtt init
Error: Could not find or load main class ThinqMqttProxy
Caused by: java.lang.ClassNotFoundException: ThinqMqttProxy
@pifou25 I got it working. You just missed to copy some files. I sent you a pull request (if you want it): https://github.com/pifou25/Thinq-MQTT-Proxy/pull/1
@pifou25 are you currently using ThinqMqttProxy as a docker container? I have the issue, that after some time no update is sent until I restart the container. This seems to happen after some hours. I had one time where I used my dryer 3 times in a row and during the third run at some point there were no updates anymore. I also tried simply restarting the container some time after midnight, but that did not help. I made some changes (like adding LWT for the local MQTT server and publishing missing Information) so I wanted to ask if you have similar issues. My next step would be, testing this without a container. I would appreciate if you could give me some feedback here.
Hello @dkneisz I don't use it because I don't have any compatible LG device. I will ask some users to do so. Can you provide some logs around when the container stop working ?
@pifou25 sorry for the late reply, but I was very busy last week. Regarding logs, there are none. It just doesn't do anything at some point in time. The container is still running, but I don't get any updates or log entries (even with loglevel set to all/debug). I also added some kind of polling, that sends an update every 30 minutes. I'm getting values every 30 minutes, but when my dryer is running I don't get any regular updates. I suspect it is loosing the connection to the remote MQTT server, where it get's the updates from.
Hi @dkneisz , check logs into your container with this command
docker logs name_of_your_running_container
There are plenty of logs into the container, you should have it also :)
can you create a docker container for this and your feature releases ?