rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

Request for Help Running on Server #83

Closed KeepSummerSaf3 closed 5 years ago

KeepSummerSaf3 commented 7 years ago

I would like to try to running this on an x86 based server. So far I have performed a few modifications, but I am hoping to have a bit of help with debug and "porting" of this wonderful gem! Why would I want to do this? I would prefer to use an Arduino as the actual valve controller, but the server on a centralized machine (running several other programs for various other purposes). Intent is to send commands to the Arduino (through simple HTTP GET messages) in place of the GPIO commands on the PI.

 2017/04/12 01:16:43 Starting v1.0.9..
2017/04/12 01:16:43 Reseting EEPROM
2017/04/12 01:16:43 Prepare Failure (no such table: versions)
2017/04/12 01:16:43 Creating SQLite Schema: 2017/04/12 01:16:43 Failure
SQL Error (unable to open database file)
2017/04/12 01:16:43 Turning Off All Zones
2017/04/12 01:16:43 Listening on Port 5775
2017/04/12 01:16:43 Turning Off All Zones
2017/04/12 01:16:43 Failed to open settings file
2017/04/12 01:16:57 Got a client
2017/04/12 01:16:57 Page:
2017/04/12 01:16:57 Serving Page: /web/index.htm
2017/04/12 01:16:57 Got a client
2017/04/12 01:16:57 Page:favicon.ico
2017/04/12 01:16:57 Serving Page: /web/favicon.ico
2017/04/12 01:17:26 Got a client
2017/04/12 01:17:26 Page:
2017/04/12 01:17:26 Serving Page: /web/index.htm
2017/04/12 01:17:26 Got a client
2017/04/12 01:17:36 ERROR!
2017/04/12 01:17:36 Got a client
2017/04/12 01:17:46 ERROR!
2017/04/12 01:17:54 Got a client
2017/04/12 01:17:54 ERROR!
2017/04/12 01:17:54 Got a client
2017/04/12 01:18:04 ERROR!
2017/04/12 01:18:04 Got a client
2017/04/12 01:18:14 ERROR!
2017/04/12 01:18:14 Got a client
2017/04/12 01:18:14 Page:
2017/04/12 01:18:14 Serving Page: /web/index.htm
2017/04/12 01:22:24 Got a client
2017/04/12 01:22:24 Page:web/index.php
2017/04/12 01:22:24 Serving Page: /web/web/index.php
2017/04/12 01:22:24 Got a client
2017/04/12 01:22:34 ERROR!
2017/04/12 01:22:34 Got a client
2017/04/12 01:22:40 ERROR!
2017/04/12 01:22:40 Got a client
2017/04/12 01:22:40 Page:web/web/web/index.php
2017/04/12 01:22:40 Serving Page: /web/web/web/web/index.php
2017/04/12 01:22:57 Got a client
2017/04/12 01:22:57 Page:
2017/04/12 01:22:57 Serving Page: /web/index.htm
2017/04/12 01:23:07 Got a client
2017/04/12 01:23:17 ERROR!