-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with AVR 270 #9
Comments
A 500 error is a generic PHP error. You may want to increase the PHP log level or take a look at the error log to see the exact error message. Without a message, this could be anything, from a missing PHP extension, missing autoloader/dependencies or a version compatibility problem. |
Thanks for your reply. You are right, my mistake. I just tried it on my local machine and it works. I did not know composer so that is definitely one reason that it did not work. Strange thing is that the lightppd server has issues with serving these php files. I would not expect that extensions might be a reason for it. Do you know of something specific which is required? Then I would try to install it. As I am using lightppd for pihole I am not in the mood to switch to nginx for compatibility reasons. You did not create a docker image out of curiosity? Idea could be the following:
FYI, if you want to add it to the list, AVR 270/2700 seams to be compatible. For the heart-alive call I get this back:
|
I Just tried to use it on local pi zero2 with a lighttpd webserver with php 7.4.
But I only get a 500 when I open the example or simpler versions.
The webserver and php works for me. So the question is, did I miss anything else?
$hk = new \HKAPI\API('192.168.178.7', 10025, new \HKAPI\Devices\AVR());
I don't get any response after this call. Only the 500. Also if I put an echo() afterwards. The server just gives the 500 back. If I put the echo before the call the echo will be shown.
The text was updated successfully, but these errors were encountered: