2023 Sep 05, 01:36 PM
Dan,
Your correct. I saw the new 5.0 release and decided to upgrade to that. So now I'm rethinking how I do it. As a newbie, I have not used Git in the past. But will look at that. At one point in the past you indicated that I could fake the rain_sensed using gv.sd[u"rst"] but I could not figure out how to make that work.
Re-evalutating things it almost looks simpler to load a different version of check_rain module from the rain sensor emulation plugin that I'm writing versus the one from helpers. That limits the changes to sip.py and the plugin. I just do a detect if plugin loaded to set this up.
There are also a couple of gpio emulator packages out there that use a GUI to emulate state of gpio pins. I plan to take a look at that as well, that would eliminate the need to change code if I can integrate it into the plugin.
Thanks,
Bryan
Your correct. I saw the new 5.0 release and decided to upgrade to that. So now I'm rethinking how I do it. As a newbie, I have not used Git in the past. But will look at that. At one point in the past you indicated that I could fake the rain_sensed using gv.sd[u"rst"] but I could not figure out how to make that work.
Re-evalutating things it almost looks simpler to load a different version of check_rain module from the rain sensor emulation plugin that I'm writing versus the one from helpers. That limits the changes to sip.py and the plugin. I just do a detect if plugin loaded to set this up.
There are also a couple of gpio emulator packages out there that use a GUI to emulate state of gpio pins. I plan to take a look at that as well, that would eliminate the need to change code if I can integrate it into the plugin.
Thanks,
Bryan