Open andyboeh opened 3 years ago
Hi,
I am glad to hear that this might be of any help to your project. Regarding your questions:
Regards Timo
Thanks - this will be my summer project, I'll report back when I have something. I'm not familiar with the STM MCUs at all, but I do have quite some experience with other MCU families - let's see.
One more question: Does your implementation support direct associations between devices?
No, it does not. So far only OTA updates are fully implemented (and the underlying radio protocol which is working fine). Implementing specific commands and features should be straight forward. See for example https://github.com/trilu2000/NewAskSin how to implement peering. Good luck with your project - I am looking forward to hear about your progress.
I did some porting work and got the basics up and running: https://github.com/andyboeh/medion-hm-sec-sc
In case you are still working on your implementation: I did a few power consumption measurements and found a few occasions where the radio module is not reset to idle. I added a call to radio_write_reg(SI4430_OMFC1, 0);
in radio_received() and in radio_sent() (everywhere you set radio_state = radio_idle
), now the battery consumption is down to a few uA instead of 1.5mA.
Apart from that, the door/window contact implementation seems to be fairly complete now (periodic battery reporting is missing), including AES authentication and configuration. Peering is not supported.
Hey,
I have a bunch of Medion-branded MAX! door/window contacts which - in contrast to the original MAX! door/window contacts - are based on STM8 and Si4431 ICs. I was looking into porting it myself when I found your work here, so I will happily base my work on yours.
When skipping through the code, I found a few things that aren't exactly obvious:
Regards, Andreas
EDIT: I just disassembled one of the Medion MAX! radiator thermostats: Also STM8L052/Si4431-based. Cool, so I might be able to convert those to Homematic as well - only downside: The wall thermostats are Samsung-based and I don't want to replace the thermostats.