Python plugin: ELV/EQ-3 MAX!

For heating/cooling related questions in Domoticz

Moderator: leecollings

fiskuss
Posts: 2
Joined: Monday 23 October 2017 23:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by fiskuss »

Hi,

no, I did not see anything in the log about python.
I decided to remove domoticz and install it again and then I have seen in log "Python EventSystem: Initalizing event module."
So I installed maxcube plugin and restored backup.
After this the cube was recognized and all is working now.

Thank you!
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by waltervl »

waltervl wrote: Tuesday 29 January 2019 19:51 Just saying thanks to mvzut for creating this plugin!!
I am running 7 radiator thermostats now since 2 weeks. The only thing I would like to be added in the plugin is the more frequent update of the measured temperatures.
I now programmed the dzVents script below for doing this. The lua script did not work for me. Also I set the time between the mode switch of 3 minutes (the same as the inventors of this scan function proposed in LINK. Also made this script run every 30 minutes. As I understand communication is very limited I set switch every 30 minutes. It is doing the trick for me, see screenshot.
Just an update about my experiences after almost a year. I updated my script a little bit. I have it run every hour and made a delay in switching all the thermostats as more than 2 at the same time made the plugin fail with a error (something with heartbeat stopped). I also just hardcoded setting from auto back to manual as I allways have them on manual and havve Domoticz set the temperatures.

I also made the Cube reset every week by a zigbee power sitch (ikea) because I lost all the thermostats at one time.

So new dzvents code:

Code: Select all

return {
	on = {
		-- timer triggers
		timer = {
			'at *:46',
		},
	},

	execute = function(domoticz, timer)
            local myValves = domoticz.devices().filter({58, 60, 62, 64, 66, 68})
	    local delay = 0

	    domoticz.log('Maxcube -- Time based event update RadTherms to switch mode')
            myValves.forEach(function(device)
                delay = delay + 20
                device.switchSelector(0).afterSec(delay)
                device.switchSelector(10).afterSec(180+delay)
            end)
	end
}
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by DarkG »

My Cube crashed last night. Got to reconfigure it.

For now I have to read everything again, runs with no problems for a year.
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
mvzut
Posts: 443
Joined: Thursday 12 November 2015 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Python plugin: ELV/EQ-3 MAX!

Post by mvzut »

DarkG wrote:My Cube crashed last night. Got to reconfigure it.

For now I have to read everything again, runs with no problems for a year.
Unfortunately many of us have had this, often more than once. Since I do a weekly (hard) restart of the Cube via an automated switch, I haven't had this problem anymore. Did you do something like that as well?
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
DarkG
Posts: 89
Joined: Friday 15 September 2017 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10076
Location: Germany
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by DarkG »

No nothing. Installed the plugin and never touched it again. With the 5 min poll it worked for a year.

I bought a new house which will get a new boiler. I am looking now for a Solution. The new generation of boilers have bus systems. I think this will help a lot instead of simple switching on and off.
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
Gonetolunch
Posts: 8
Joined: Thursday 22 December 2016 14:33
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by Gonetolunch »

I use the MAX-plugin for several rooms with radiator controls and wall thermostats. It works great.

Now I've bought some more radiator-controller for some more rooms, but without the wall-thermostats. These are unfortunately no longer available. Also for these rooms, the MAX-plugin works great. However, now these error messages appear in my log every 5 minutes (update interval). Can I turn off these error messages somehow?

Code: Select all

2019-11-20 17:05:22.843 Error: (MAX2) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'RoomHasThermostat''.
2019-11-20 17:05:22.844 Error: (MAX2) ----> Line 318 in '/home/pi/domoticz/plugins/Maxcube/plugin.py', function onHeartbeat
2019-11-20 17:05:22.844 Error: (MAX2) ----> Line 280 in '/home/pi/domoticz/plugins/Maxcube/plugin.py', function onHeartbeat
Lahim
Posts: 12
Joined: Tuesday 02 January 2018 23:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by Lahim »

Have the same:

Code: Select all

2019-11-21 20:28:25.099 Error: (eQ3 MAX!) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'RoomHasThermostat''.
2019-11-21 20:28:25.099 Error: (eQ3 MAX!) ----> Line 318 in '/home/pi/domoticz/plugins/eq3max/plugin.py', function onHeartbeat
2019-11-21 20:28:25.099 Error: (eQ3 MAX!) ----> Line 280 in '/home/pi/domoticz/plugins/eq3max/plugin.py', function onHeartbeat
raspberrypi 4.19.66-v7+
Version: 4.10717
Build Hash: b38b49e5
Compile Date: 2019-05-09 13:04:08
dzVents Version: 2.4.19
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
Sherco49
Posts: 12
Joined: Saturday 24 March 2018 17:54
Target OS: Linux
Domoticz version:
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by Sherco49 »

Hi
just installed the plugin in my Synology/Domoticz system, easily, all my devices was created.
I renamed them, as the built_in names are quite long !
Really great work, i was looking for such an integration since years, wrong search i guess !
marivesel
Posts: 4
Joined: Saturday 28 November 2020 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python plugin: ELV/EQ-3 MAX!

Post by marivesel »

Hello, first to say I have just registered to say THANK YOU @mvzut for this plugin!
I have 5 installed MAX! valves, and will soon install more on most of the radiators (10+), the plugins seems to work great.

I have a few questions:
1. Is there an option to include the "BATTERY LOW" indicator of the Cube to be included in Domoticz? This way we can set an alarm/notification to email to change batteries in the valves/thermostats.
2. Is there a way to improve the wireless range of the Cube? I have 3 floors and thick walls, there are some problematic rooms without Cube coverage, although I've installed it on the middle of the 2nd floor.
3. What is the best way do add new MAX! devices to the Domoticz/plugin? I want to install door/window sensors, I will add them to the original MAX! software, but then what? Do I have to "Update" the plugin in the "Hardware" section of Domoticz, or completely delete it and install again? It's not much of a problem, but if there is a easier way...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest