-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error: Unknown board revision a22082 #2
Comments
This project uses an outdated version of the Try setting the version of |
yeah, I had to fiddle around a lot to get it running! haven't had a chance to test the GPIO yet, the relay is being shipped right now and I'll get it on Monday. I hope I can still use your package, it looks the best on the github market!
|
Thanks! I hope it works for you too. I kinda just wrote it for me (hence why I'm not very good at keeping it updated, and why there's no documentation), but I hope it works for you too!
You would want to do something like this: {
"mode": "program",
"overrideState": "day",
"schedule": [
{
"name": "Sunrise",
"type": "dynamic",
"event": "sunrise",
"state": "day"
},
{
"name": "Sunset",
"type": "dynamic",
"event": "sunset",
"state": "off"
}
]
} This will set the lights to turn off at sunset, instead of switching to night mode. Essentially, you're not using the night setting. You'll still need to specify a "night" pin in the other config file, but it doesn't need to be connected to anything since it won't be used.
Yeah, the server exposes a REST API, which you can see at https://github.com/nebrius/aquarium-control/blob/master/server/src/server.js, which defines three endpoints: GET /api/schedule To be honest, I actually forgot how each endpoint works though 😅. The client web code that consumes this endpoint is at https://github.com/nebrius/aquarium-control/blob/master/client/src/api.js (oh BTW, this project ships with a web client for viewing/configuring the lights, just point it to the IP of the Pi and the port specified at https://github.com/nebrius/aquarium-control/blob/master/conf/config.json#L6). I'd recommend opening the aquarium site in a web browser, do some stuff in the page, and then use the browser's debug tools to see the format of the REST calls. |
After a lot of troubles that involved downgrading to v0.10, I get this error:
Can I use
pins = BPLUS;
since the RPI 3 doesn't look to be on there?The text was updated successfully, but these errors were encountered: