Posts: 652
Threads: 18
Joined: Aug 2015
Reputation:
22
Thanks for the test report.
I will look into the missing log entries.
By the way I have taken a quick look at your moisture_sensor plugin. I really like how it can accept sensor data from different sensor types through additional plugins.
<p><br></p>
Posts: 33
Threads: 7
Joined: Dec 2023
Reputation:
0
The code change looks like it should work, if you need help testing let me know.
I have completed my testing and only found one issue, where I think we had a misunderstanding concerning the functionality of gv.rn. It does not make sense for the moisture_sensor_control plugin to have any influence on manual schedules, i.e. RUN NOW and RUN ONCE, however gv.rn is only set for RUN NOW and not for RUN ONCE. If you run a schedule manually it should not be blocked by a plugin.
Apart from this issue and the ones mentioned in the previous post as far as I'm concerned the pull request containing the moisture_sensor_data_mqtt and the moisture_sensor_control plugins can be merged.
Posts: 652
Threads: 18
Joined: Aug 2015
Reputation:
22
I pushed the plugin_manager change and added the jmespath/ module to the SIP install.
<p><br></p>
Posts: 33
Threads: 7
Joined: Dec 2023
Reputation:
0
In my opinion there is still a bug in the sub directory creation code of install_plugins() as the code assumes that all sub directories will be created under plugins/. The new plugins however required sub directories under data/
I have provided a PR with a proposed fix and a few other minor changes/improvements.
On another subject any ideas why email notifications from the forum do not work?
Posts: 652
Threads: 18
Joined: Aug 2015
Reputation:
22
Thank you for the bug fix and code improvements. Your work on the new plugins is greatly appreciated. They add some amazing capabilities.
The forum is graciously provided by a SIP user and I don't have full admin rights so I can't address the email notification problem.
<p><br></p>
Posts: 652
Threads: 18
Joined: Aug 2015
Reputation:
22
I installed the moisture_sensor_data_mqtt plugin and tried submitting the settings without adding a topic. This resulted in an "internal server error" page to be shown.
Could there be a more user friendly way to indicate this type of error such as an alert box?
<p><br></p>