Hello again
I confirm that problem was with stable version. Now I installed the latest beta and charts is the same as yours.
Moderator: leecollings
Hello again
Usually they offer packages with a thermostat included when you buy a new boiler. This is often a relatively basic thermostat, so in this way you don't pay too much. In my case, there was a special offer where the thermostat (Remeha iSense) was included for free with my Remeha Calenta boiler. From the OTGW website, I knew this thermostat was known to work, which made it an easy choice for me.janvangent2 wrote: ↑Tuesday 22 January 2019 8:44 OK, so in fact I need to buy a thermostat+boiler, with either direct compatibility in domoticz, or with openthermgateway.
I guess I should be looking for a "dumb" thermostat, since I'll be "fooling" the thermostat anyway by altering the setpoint through domoticz. I won't need any of the "smart" functions of a NEST or similar thermostats (self-learning, geofencing,...).
Anyone has any ideas on which thermostat would work with modulating boilers, but is cheap and dumb?
Code: Select all
return {
on = {
-- timer riggers
timer = {
-- timer triggers.. if one matches with the current time then the script is executed
'every 30 minutes',
},
},
execute = function(domoticz, timer)
-- domoticz.log('Maxcube The rule that triggered the event was: ' .. timer.trigger')
local myValves = {58, 60, 62, 64, 66, 68, 70}
domoticz.log('Maxcube -- Time based event update RadTherms to switch mode')
for n, Valve in pairs(myValves) do
local ThModeSetting = domoticz.devices(Valve).level
if ThModeSetting == 0 then tempsetting = 10 else tempsetting = 0 end
domoticz.devices(Valve).switchSelector(tempsetting)
domoticz.devices(Valve).switchSelector(ThModeSetting).afterMin(3)
end
end
}
But what is too often?
I restart it once a week, before I did that, my Cube would "forget" all its setting every few weeks or months.waltervl wrote: ↑Wednesday 30 January 2019 18:51But what is too often?
I read people have it switch off every day by switching off power to the Cube. So it resets and keep on running. Is that still necessary?
I have an old fashioned clock switch lying around somewhere (just moved .. so I will have to dig in some boxes )
You're welcome.
I have been running the plugin for a couple of months now, without resetting the cube. So I don't think it's required for this plugin anymore.mvzut wrote: ↑Thursday 31 January 2019 16:01I restart it once a week, before I did that, my Cube would "forget" all its setting every few weeks or months.waltervl wrote: ↑Wednesday 30 January 2019 18:51But what is too often?
I read people have it switch off every day by switching off power to the Cube. So it resets and keep on running. Is that still necessary?
I have an old fashioned clock switch lying around somewhere (just moved .. so I will have to dig in some boxes )
I poll my Cube every 5 minutes (plus of course when I change a thermostat setpoint). In combination with my weekly reset, this seems to work fine. I don't think polling a couple of times extra per hour (for the temperature logging trick) should be a problem.
By the way, if you intend to use an old fashioned clock switch, be aware that they can normally only be set to switch per quarter of an hour or so (at least the analog ones). So that means your Cube will be "dead" for 15 minutes per day... If you have the opportunity to use a 433 MHz/Zigbee/Z-Wave/WiFi switch, I would always use that, since you are much more flexible that way.
Code: Select all
The S Message
The incoming 'S' message response looks like this:
S:00,0,31
This can be decoded as following
Description Length Example Value
=====================================================================
Duty Cycle 2 00
Command Result 1 0
Free Memory Slots 2 31
Duty Cycle
868MHz radio comms is limited to 1% transmission, i.e. 36 seconds in each hour. The cube monitors this, and returns the hex representation of the permitted duty cycle as a percentage. When this percentage reaches 100% it will queue S commands in memory or reject additional commands.
Command Result
0: command processed
1: command discarded
Code: Select all
2019-07-22 08:58:17.694 Error: (MAX1) 'onHeartbeat' failed 'TypeError':'unsupported operand type(s) for *: 'NoneType' and 'int''.
2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 318 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function onHeartbeat
2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 289 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function onHeartbeat
2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 135 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function UpdateDevice
I just noticed your post, have you solved this issue already? It seems others (including myself) are still using the plugin without any issues, so I suspect it must be something that changed on your system?Gonetolunch wrote:Since tonight this MAX! Plugin works no more. Instead, I regularly receive only these error messages:
A restart of Domoticz and the MAX!Cube did not change anything. I already have the MAX! Plugin deleted and reinstalled, but still the same error.Code: Select all
2019-07-22 08:58:17.694 Error: (MAX1) 'onHeartbeat' failed 'TypeError':'unsupported operand type(s) for *: 'NoneType' and 'int''. 2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 318 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function onHeartbeat 2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 289 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function onHeartbeat 2019-07-22 08:58:17.694 Error: (MAX1) ----> Line 135 in '/home/pi/domoticz/plugins/MaxCube/plugin.py', function UpdateDevice
If I start the program belonging to the MAX! Cube instead, it will work as well as all the thermostats. In this respect, I exclude a hardware error.
How can I fix this error?
Thanks for your reply!mvzut wrote: ↑Friday 13 September 2019 9:41 I use the second option already for a few years now, it works fine. In theory you are probably right, it is not perfect. The Opentherm thermostat in the living room may get confused when you give it a high setpoint that it will never be able to reach since there are no radiators on in the living room. But in practice it works just fine for me.
Hello,haajee wrote: ↑Wednesday 31 October 2018 1:43 I want to say that i have also your script running on a Synology NAS! Important is to have a Domoticz version with Python from www.jadahl.com
If you are there with SSH you can give the following comands:Code: Select all
/usr/local/domoticz/var/plugins
You need to restart your NAS or only Domoticz before the plugin should be found.Code: Select all
wget https://github.com/mvzut/maxcube-Domoticz-plugin/archive/master.zip 7z x master.zip cd maxcube-Domoticz-plugin-master/ cp -R * ../ cd .. chmod +x plugin.py
But do you see something in the log of Domoticz. Like: 2019-10-12 13:07:45.621 Status: PluginSystem: Started, Python version '3.6.8'. ? And if you install the plugin from 0 and added the devices do you see also something in the log?fiskuss wrote: ↑Saturday 12 October 2019 11:51Hello,haajee wrote: ↑Wednesday 31 October 2018 1:43 I want to say that i have also your script running on a Synology NAS! Important is to have a Domoticz version with Python from www.jadahl.com
If you are there with SSH you can give the following comands:Code: Select all
/usr/local/domoticz/var/plugins
You need to restart your NAS or only Domoticz before the plugin should be found.Code: Select all
wget https://github.com/mvzut/maxcube-Domoticz-plugin/archive/master.zip 7z x master.zip cd maxcube-Domoticz-plugin-master/ cp -R * ../ cd .. chmod +x plugin.py
i have SYN 918+ running Domoticz plugin domoticz_apolloloake - 6.2_4.0.10717-8. I have installed python plugin according your guide, but MAX! devices are not recognized in Domoticz. MAX!Devices are imported via backup, like others. All others devices are working.
Not info about python nor E-max! cube issue in Domoticz log.
I have also Domoticz VM in Proxmox and also in RPI and there python plugin is working w/o problems.
Could you or somebody help with this please? I'm total noob in Synology.
Thank you!
Users browsing this forum: Google [Bot] and 1 guest