Thank you for this wonderful project, which can be set up and run in no time. Wonderful functionality, but sometimes it is confusing. Just want to add my 5 cents :) in the future release it would be nice to have ssh turned on by default - it will make adding other programs easier.
I would like to add some wireless sensors ( soil moisture and temp) probably rc433mhz - could you please point out which files needed to be changed?
Hi There,
Regarding the SSH, well it should be already enabled by default ... I never attach a monitor to RPI :).
About the SW structure, the part relevant to the hardware management might look a little strange but for one specific reason: At the beginning of the project I used the RPI connected to an Arduino in client server architecture where the Arduino was the server managing the Analog part.
Afterward I removed the Arduino from the hardware, but I decided to preserve this architecture in the SW because I thought it was a good way to decouple hardware functions. On top of that, I started the project without a clear SW structure idea, just because I did not expect the SW to grow in the way it is today.
Anyway in few words, the SW orkflow is as follow: the module Hardwaremod.py is responsible for collecting the call to the Hardware, it created the string of text in this format xx:xx:xx:xx which is used as commands provided to the module HWcontrol.py, which is responsible for real execution at hardware level.
The module Hardwaremod.py also read the hardware setup from the file in databese\hwdata.txt.
If you wish, please fork my project in github so we can cooperate to develop this additional functions. I was also looking to add this type of wireless functionality to the project but it requires a certain amount of effort.
Side note: At the end I'm not a SW engineer but a Telecommunication engineer specialized in wireless, I think going to 433MHz is a very wise idea, this frequencies propagates very well and have decent distances so they are a good choice when the datarate requirements are low. (and just to say, I hate LORA)
Hope this was helpful,
Regards
Angelo