mothercros.blogg.se

Opensprinkler log file
Opensprinkler log file











opensprinkler log file
  1. #Opensprinkler log file install
  2. #Opensprinkler log file code

Hope this clears up some of the confusion. The following new options are available since 1.8: The OpenSprinkler HTTP API is documented here. If the device is down what good what that do? Just curious here. Which import button are you referring to because that is only used for the configuration. The installer attempts to add the script to crontab otherwise alerts you it couldn’t. The data is therefore stored with the html/php files such as config.php (SprinklerChanges.txt). This means the data is not interpreted but rather actual logged data. Once complete, you will need to restart Home Assistant from Supervisor > System > Reboot Host.

#Opensprinkler log file install

Then, click Install this repository in Hacs. Search for the OpenSprinkler integration for Home Assistant. When you open View Logs, that log is parsed for the selected date range and values are returned. Part 1: Install OpenSprinkler via HACS Navigate to HACS > Explore & Add Repositories. My mobile app (the PHP version) polls the OpenSprinkler every minute and logs changes.

#Opensprinkler log file code

It is possible within a webapp to build a manifest list and force the phone to cache the code however the HTML files contain dynamic PHP code thus caching is somewhat difficult.Īs it stands, the OpenSprinkler does not log anything. First, the app doesn’t open because it’s code is on a web server. Going to try to address your issues sequentially. I will see what I can do to improve that. Update: Now that you mention it thought I suppose that export/import situation is a bit misleading. The smaller button on the right with the icon does actual file export/import. Clicking the longer side saves it to your browser. I have basic weather checking to activate rain delay if raining however past that I currently do not have plans on making the system more robust (ex: precipitation, etc).įor the backup and import functions on my mobile app, you will notice the button is split. Additionally, the mobile app would be able to parse it and graph it for you. In regard to the log file, if that becomes something stored on the SD card then a simple HTTP request would retrieve it. As for the host it can be any OS however Windows seems to have the most issues (currently hammering them out). As for the firmware side of things, I can’t comment as I only develop the mobile application. I then parse this log and render a graph for users via the mobile app. I chose to handle it with a PHP script on crontab logging the status.

opensprinkler log file

The logging feature currently is separate from the OpenSprinkler and thus handled externally. Next you will see the Controller Status, including the Operation status, Rain Delay and Rain Sensor status, Water Level/Percentage, and a Lastrun log (which.













Opensprinkler log file