Changed to not spit out login details to stdout (only prints response on error)
Fixes to make it run under MacOS as well (the Mac date command is kinda limited, and it apparently doesn't like reading the cookie file out of /var/tmp for some reason)
Refresh time is now adjustable
Changed default powerwall address to powerwall instead of some arbitrary IP (so it doesn't need to be changed if somebody has already set up their DNS/hosts file as described in the README)
date
command is kinda limited, and it apparently doesn't like reading the cookie file out of/var/tmp
for some reason)powerwall
instead of some arbitrary IP (so it doesn't need to be changed if somebody has already set up their DNS/hosts file as described in the README)