Configuring of docker version #65
Replies: 11 comments 5 replies
-
Hi @LarsKoeppel, Regarding the docker configuration, I strongly recommend to have a look at the wiki.
For the log file, as explained in the wiki, run docker with this additional option:
Now regarding the problem, I think this is not an issue neither on my side nor on HA side. This is well known and it happens from cover to cover. Some may report the correct position while others may report inverted position. I have some ideas to better deal with such cases at ha_enoceanmqtt level though. |
Beta Was this translation helpful? Give feedback.
-
Hi @LarsKoeppel, Anything new ? |
Beta Was this translation helpful? Give feedback.
-
Hi @mak-gitdev, unfortunately I didn't had time to work on it this weekend. I'll get back to it in a few days. To set the direction of a shutter, I could imagine a parameter in the config. Something like "reversed". |
Beta Was this translation helpful? Give feedback.
-
Hi @mak-gitdev, I managed to start the docker container with the appropriate options and write the log. Since I wanted to do this from the TrueNas Scale interface, it was a bit more cumbersome to achieve. For everyone who is interested: But I still have problems with the template. I'm brand new to HA and don't really know much about it. So far I have copied this from the documentation. Could you possibly help me a bit?
I would be very happy about any help. |
Beta Was this translation helpful? Give feedback.
-
Hi @LarsKoeppel, As in the end, this is not an issue, I will convert it to a discussion. |
Beta Was this translation helpful? Give feedback.
-
First, I think instead of Then regarding actions, may be you could explain in further details what is your current behavior so that we can better understand what needs to be changed. |
Beta Was this translation helpful? Give feedback.
-
Hi @mak-gitdev, I implemented your suggested changes, but I couldn't display any data in HA. That's why I've added the following two parameters to the mapping file for now:
That inverts everything in HA. It is currently not a problem for me that all shutters are now inverted, as I currently only have one with enocean. |
Beta Was this translation helpful? Give feedback.
-
While trying to implement the control, I probably found a bug with the virtual switches. For a
Here is the log of my current pysical switch. I think bouth should habe the same data and status.
|
Beta Was this translation helpful? Give feedback.
-
Hi @LarsKoeppel, Yes I know that |
Beta Was this translation helpful? Give feedback.
-
Hi @mak-gitdev, could you point me to the point, where this should be implementet? |
Beta Was this translation helpful? Give feedback.
-
Hi @mak-gitdev, for my model of shutter it looks like, that the status bits are relevant. Without them, it does not respond. I tested it with the DolphinView App from EnOcean. So i tried to implement it in HA_enoceanmqtt. For this i did the following steps: I changed in the
And the log shows, that the information was processed correctly. But in the generation of the byte arrays it was ignored.
I diged down to the enoceanmqtt/communicator.py in line 461 where the byte array is created. And for a quick look i counld not figure out, why it would not set the status bits. Because all the other functions are already setting it correctly up. Can you help me at this point? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use enoceanmqtt's docker image.
Since some things don't work as expected, I tried to use logging and custom mappings. Is there a way to set the paths to these files in the config?
I have already tried the following:
The problem I'm trying to figure out is a misrepresented cover.
Although it reports position 0, it is represented as closed in HA. Is this a problem of enoceanmqtt or of HA?
Beta Was this translation helpful? Give feedback.
All reactions