Open mitchell-pioneer opened 4 months ago
Yeah, that's a nice feature. Also your approach looks good to me. Here are some points for your consideration,
Your contribution is most welcome. Thanks.
Great suggestions.
I am also considering modifying the docker configuration. I'm using Portainer, and it allows you to specify environment variables from inside that tool. I think I should add it in the contributions section as it will break the existing system.
I added another change whereby mqtt messages are only sent when the value is outside of a range of values. Currently changes are sent if the two values are not equal. In practice, if the value is .0000001 different it will still send it. I added an upper or lower change by a percentage.
I made these src changes
-CSV file has a new column -New command line switch -New logic in modbus_task::modbus_publish
I'm testing it now. Let me know if this is something that you want to commit.