Remeha eTwist

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

User avatar
gizmocuz
Posts: 2706
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Remeha eTwist

Post by gizmocuz »

Thanks for reporting. Here it is also working again!
Yes, that is the idea of the refresh token, to become a new token each time :lol:
Quality outlives Quantity!
User avatar
winner61
Posts: 14
Joined: Friday 02 August 2024 12:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Friesland / NL
Contact:

Re: Remeha eTwist

Post by winner61 »

Hello. At first thank you @Tuk90 for this plugin. Always nice to keep track over a period of time and be able to tweak the system to maximize the output.
I seem to have no output anymore since I switched on the Elga Ace today. Had it whtiched off for the summer. Seems to have happened when updating Domoticz somewhere in august. Domoticz restarted ofcourse and all remeha counters were in red. Thought that was normal because I cut off the power to the Elga Ace so no communication was possible. This is what I found in the logfile:

2025-09-11 11:16:23.776 Error: Remeha hardware (11) thread seems to have ended unexpectedly

Anyone familiar with this error? Are there other places to look and see what's going wrong?
I use this build of domoticz: Version: 2025.1 (build 16777)

Thank you, hope to get some positive response.
User avatar
winner61
Posts: 14
Joined: Friday 02 August 2024 12:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Friesland / NL
Contact:

Re: Remeha eTwist

Post by winner61 »

I found some more after stopping and starting device and going right into the log:

2025-09-11 16:26:48.832 Error: Remeha: (RemehaHome) failed to load 'plugin.py', Python Path used was '/opt/domoticz/userdata/plugins/RemehaHome-Domoticz/:/usr/lib/python311.zip:/usr/lib/python3.11:/usr/lib/python3.11/lib-dynload:/usr/local/lib/python3.11/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.11/dist-packages'.
2025-09-11 16:26:48.843 Error: Remeha: Traceback (most recent call last):
2025-09-11 16:26:48.843 Error: Remeha: File "/opt/domoticz/userdata/plugins/RemehaHome-Domoticz/plugin.py", line 23, in <module>
2025-09-11 16:26:48.843 Error: Remeha: import requests
2025-09-11 16:26:48.843 Error: Remeha: ModuleNotFoundError: No module named 'requests'

I did not change anything from when it worked. Maybe this gives some clues :)
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Remeha eTwist

Post by waltervl »

The request python module seems to be removed. Did you update the Domoticz container? Because then you have to reinstall all the python modules of the plugin again. Or make a docker custom start script as explained on the docker to install the python modules at container update: wiki https://wiki.domoticz.com/Docker
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
gizmocuz
Posts: 2706
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Remeha eTwist

Post by gizmocuz »

The 'requests' python library is included as default since the beginning of the docker container.

It seems it cannot find it anymore.

I updated my docker container to the latest (beta) version, and I can still use this plugin.

From which version did you update?

Currently I have nothing in the customshart.sh script that installs additional python libraries, sure not for this plugin

Did you try updating the plugin as well?
Quality outlives Quantity!
User avatar
winner61
Posts: 14
Joined: Friday 02 August 2024 12:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Friesland / NL
Contact:

Re: Remeha eTwist

Post by winner61 »

Thanks for your suggestions guys. Sorry for the NOOB questions but Linux is not my strongpoint and can not always make sense of folder structures. This is a synology NAS but should follow the same basics of Linux I presume.
my docker is installed in: VOLUME2/docker
in this folder I have these:
foldersdocker.png
foldersdocker.png (5.24 KiB) Viewed 103 times
download/file.php?mode=view&id=34320&si ... 1401be0bfb

Domoticz container variables are:
"env_variables" : [
{
"key" : "PATH",
"value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
},
{
"key" : "LOG_PATH",
"value" : "/opt/domoticz/userdata/domoticz.log"
},
{
"key" : "DATABASE_PATH",
"value" : "/opt/domoticz/userdata/domoticz.db"
},
{


So, I have no Userdata folder and still it works, exept for the remeha plugin offcourse. I presume /opt is the root of the docker container itself?
It worked when I installed the plugin somewhere in april or so. Ik have also some other stuff running like mqttmapper, homewizzard and some stuff I'm experimenting with but not all are active.
Attachments
plugins.png
plugins.png (9.21 KiB) Viewed 103 times
foldersdmtcz.png
foldersdmtcz.png (10.32 KiB) Viewed 103 times
User avatar
winner61
Posts: 14
Joined: Friday 02 August 2024 12:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Friesland / NL
Contact:

Re: Remeha eTwist

Post by winner61 »

I reinstalled the plugin but still it's not working. The last timestamp it still worked was aug 12 around 21.00, can not remember if I did updates then. The version before was version 2024.7 build 16325 with Python 3.9.2 active. Now I have version 2025.1 build 16777 with Python 3.11.2 .
domover.png
domover.png (64.31 KiB) Viewed 92 times
some pointers are much appreciated, thank you.
User avatar
winner61
Posts: 14
Joined: Friday 02 August 2024 12:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Friesland / NL
Contact:

Re: Remeha eTwist

Post by winner61 »

OK, finally I found a way. I think the updates made a turn somewhere with python. For anyone who has the same issue this is probably the solution.
Go into the Container-Manager and choose the domoticz one under 'Container'. Under 'Action' in the right upper corner you can open a terminal make and do the commands (Tab 'Terminal' -> Make and click the 'Bash' tab)
Run the following commands:

apt install python3
apt install python3-requests

after this I restarted Domoticz and the remeha plugin works again. Maybe the first is not necessary but any way.

Hope this can help someone.

Cheers!
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Remeha eTwist

Post by jvdz »

I am having issue with Remeha connection again since 16:45 and still having issues to connect.
Others having the same issue with the plugin or is it me?
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Remeha eTwist

Post by jvdz »

Believe the problem is related to the worldwide microsoft problem. App is also failing.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest