Page 1 of 1

Weather parser for HomeAutomation

Posted: Fri Mar 17, 2023 9:45 am
by tom_rosenback
I recently released v0.1 of the Weather parser for use with HomeAutomation, and now it is time for the next release, v0.2. This version has got support for wview, cumulus and owfs formats. This version can handle multiple systems at the same time so if you have say wview and owfs in use these can be parsed at the same time with one call to parser.php.

Files that needs to be configured
- parser_config.php, here you configure which systems you want to parse and also the root path of HomeAutomation (without HomeAutomation this parser is useless)
- wview.php, cumulus.php, owfs.php, these files are in the system_config folder and here you configure from where to fetch the data and what data to fetch (wview and cumulus). cumulus_fields.php should not be edited but is good for reference when configuring cumulus.php

The parser can be accessed from the browser for debugging but is meant to be used with crontab or Windows scheduler. To run the parser from crontab or Windows Scheduler just add the following line to the job (of course with correct paths)

Code: Select all

php parser.php
Download the parser from HomeAutomation homepage.