Search found 18 matches

by mjray
Thursday 01 December 2022 18:33
Forum: MQTT Auto Discovery
Topic: need MQTT AD examples for all kinds of devices
Replies: 6
Views: 796

Re: need MQTT AD examples for all kinds of devices

If it helps, you can see what MQTT AD I am sending for Ecodan climate devices at https://github.com/mjray/melcloud-mqtt.py
by mjray
Thursday 24 November 2022 20:14
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 413
Views: 101182

Re: Python Plugin: Smart Virtual Thermostat

Frankly, I think the best you can do for your system is to use decent temp sensors, that read data in an fixed interval. I moved to control my heating with DHT11 sensors in conjunction with ESP8266 boards that report data every 300 seconds. After that, the range around the setpoint has reduced to ...
by mjray
Sunday 20 November 2022 18:59
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 413
Views: 101182

Re: Python Plugin: Smart Virtual Thermostat

Does anyone else find SVT is too aggressive when it switches from economy to normal? As in, it always seems to select 100% heating for the first decision, rather than try a lower % and test how that works, even for a few tenths of a degree undershoot. I've a system with fairly high inertia so picked ...
by mjray
Sunday 20 November 2022 17:05
Forum: Other questions and discussions
Topic: Is the database recording interval of 5 mins hard-wired?
Replies: 1
Views: 234

Re: Is the database recording interval of 5 mins hard-wired?

I'm fairly new here but I've not noticed any way. I use emoncms for more detailed energy analysis and I think that can cope with different intervals for different data feeds.
by mjray
Thursday 17 November 2022 15:46
Forum: Heating/cooling
Topic: Smart heating control algorithm - new, open-source
Replies: 18
Views: 3850

Re: Smart heating control algorithm - new, open-source

@mjray. I think that's a whole other application, rather like manipulating electricity use in line with solar generation and grid prices. Yes, that's what I'm doing. ;) The heater is an air-source heat pump, so as well as local production and grid prices, there is also the challenge that the energy ...
by mjray
Thursday 17 November 2022 15:18
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 413
Views: 101182

Re: Python Plugin: Smart Virtual Thermostat

@alfpresa, thanks for your appreciation. I am afraid your suggestion of proportional vs. binary (on/off) heating control will be difficult to implement: it would require a totally different logic than what the plugin is based on. The more I mull this over, the more it intrigues me. What would be ...
by mjray
Thursday 17 November 2022 13:40
Forum: Heating/cooling
Topic: Smart heating control algorithm - new, open-source
Replies: 18
Views: 3850

Re: Smart heating control algorithm - new, open-source

Would it be possible to adapt this to cope with heating cost varying over time? I could input reasonable estimates for the next 24 hours. Any tips, pointers or suggestions? Otherwise, I can manipulate the setpoint but that seems less good than using it to influence the flow temperature directly. The ...
by mjray
Wednesday 02 November 2022 20:01
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

Just to finish this off: I've published the melcloud-mqtt bridge at https://github.com/mjray/melcloud-mqtt.py and my Domoticz event script (triggering on Device changes) is this import DomoticzEvents as DE if ((DE.Devices["Pause Heating Decisions"].n_value == 0) and ((DE.changed_device.name ...
by mjray
Thursday 27 October 2022 18:55
Forum: MQTT Auto Discovery
Topic: Using mqtt auto discovery (or mqtt in general) to integrate devices from Home Assistant?
Replies: 12
Views: 3559

Re: Using mqtt auto discovery (or mqtt in general) to integrate devices from Home Assistant?

Is there any down side to letting domoticz also get the mqtt messages that Home Assistant gets and letting domoticz create duplicate controls from them? If either HA or Dz send a command over mqtt, the device will send a status update in response, changing (for example), the switch display on both ...
by mjray
Monday 24 October 2022 14:16
Forum: Others
Topic: TP-Link Tapo wifi plug
Replies: 62
Views: 19234

Re: TP-Link Tapo wifi plug

Someone use TAPO P110 with this plugins ? Compatible ? I have not used it but I've read the code for other reasons. It looks to me like it will be compatible with a P110 but only as a switch. It would need someone to extend the plugin to report the energy sensor data returned by the additional ...
by mjray
Saturday 08 October 2022 13:23
Forum: Blockly
Topic: Math operators and Blocking
Replies: 59
Views: 23509

Re: Math operators and Blocking

I was looking for the math blocks to do some simple maths with temperatures too, so I found this discussion. It looks from the end of https://github.com/domoticz/domoticz/issues/3724 that this is stuck because Domoticz needs code added to support the maths blocks. I think it might be to translate ...
by mjray
Friday 07 October 2022 19:38
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

I think the Autodiscovery protocol is not followed correctly by melcloud. All those attributes should be linked to a device in the config topic. Aren't all those attributes are linked to the climate device in the config topic? It looks correct to me according to https://www.home-assistant.io ...
by mjray
Wednesday 05 October 2022 20:40
Forum: Show your projects
Topic: Enigma 2 Set top Box Integration
Replies: 42
Views: 20375

Re: Enigma 2 Set top Box Integration

pacitzu wrote: Friday 15 December 2017 17:51 I have installed the xmltodict library with sudo apt install python-xmltodic
python-xmldict is the wrong package. Demoticz uses python3, so apt install python3-xmltodict
by mjray
Wednesday 05 October 2022 20:12
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

I think the Autodiscovery protocol is not followed correctly by melcloud. All those attributes should be linked to a device in the config topic. Aren't all those attributes are linked to the climate device in the config topic? It looks correct to me according to https://www.home-assistant.io ...
by mjray
Wednesday 05 October 2022 17:20
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

What kind of attributes are being published in melcloud/values/status that you want to see but not shown in the domoticz device log (button log)? See wiki https://www.domoticz.com/wiki/Managing_Devices#Show_Device_Log Here's a sample of melcloud/values/status. It would be nice to see most of them ...
by mjray
Wednesday 05 October 2022 16:41
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

If they are being recorded, how could I see the device attributes in Domoticz? Edit to add: https://github.com/domoticz/domoticz/blob/development/hardware/MQTTAutoDiscover.cpp seems to do something with it, but possibly only if there's also a json_attributes_template so I've added a null one ...
by mjray
Wednesday 05 October 2022 15:54
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Re: Where do the json_attributes go?

I will try to explain further. You may not have used MQTT but I've not used Domoticz before so I may be using terms incorrectly or meanings from another system, so please excuse/question any confusion. The MQTT autodiscovery is described in https://www.domoticz.com/wiki/MQTT#Add_hardware_.22MQTT ...
by mjray
Wednesday 05 October 2022 12:07
Forum: MQTT Auto Discovery
Topic: Where do the json_attributes go?
Replies: 12
Views: 1049

Where do the json_attributes go?

Hi I've connected Domoticz to MQTT Autodiscovery OK and it detects my device config and adds it, but where do the device attributes configured by the json_attributes_topic go? How can I access these from scripts or add them to the dashboard? Should I modify the device MQTT processing to configure ...