martenjacobs / py-otgw-mqtt

Python OTGW MQTT bridge
MIT License
9 stars 16 forks source link

Max modulation setting (MM=) and other stuff. #17

Open mminehanNZ opened 5 years ago

mminehanNZ commented 5 years ago

Hi, I am very new to github so not sure if this is the right way to go about things.

I have modified my copies the scripts to allow setting of the maximum modulation (MM=) and max central heating setpoint (SH=). This is for the _main_py script.

I have also modified the opentherm.py to allow of bits 0 (fault), 8 (ch_enabled) and 9 (dhw_enabled). And added ttype 5 to capture the max relative modulation setting in system with a boiler only and no thermostat.

Not sure if this will be useful to you. But if you want a copy with my modifications let me know.

Marty.

mminehanNZ commented 5 years ago

Sorry...sorry!

I think I have inadvertently overwritten the main branch. I don't know how to undo that. I realized afterwards that I should have started a new branch.

My sincere apologies. I hope you can restore your master.

martenjacobs commented 5 years ago

Hi @mminehanNZ,

Don't worry, you can't change anything to my repo. You've created a fork and made changes in there. If you think your code is good enough to merge into the this repo, you can send me a pull request. I will then review your changes and if I agree I will merge it.

mminehanNZ commented 5 years ago

Hi @martenjacobs, Phew. I thought I had messed it all up. I'll test me code for a few weeks and see how it goes. Thansk, Marty.

martenjacobs commented 5 years ago

Any news?

mminehanNZ commented 5 years ago

Hi Marten, My modified script is working well. I can control the maximum modulation, water heating setpoint, central heating setpoint etc. Also I can see the boiler status (flame status, current modulation etc). I use HomeSeer for home automation. My setup: Boiler <-> otgw gateway <-> py-otgw-mqtt (Rasp Pi) <-> mosquito (Rasp Pi) <-> mscMQTT (Homeseer). I have attached an screen shot of the devices you can see in HomeSeer. Marty. 2019-04-17