Project website: pi4j.com.
This service provides the following end-points on https://api.pi4j.com:
- Vaadin UI
/web
- Header view only:
/web/header?name=HEADER_40
- OpenAPI/Swagger documentation
/api/docs/pi4j
/swagger-ui/index.html
- APIs
- Can be tested on Postman.
- Service
/api/service/actual
/api/service/board
/api/service/memory
- Raspberry Pi Info
/api/raspberrypi/board
/api/raspberrypi/board/{MODEL}
- e.g.
/api/raspberrypi/board/MODEL_4_B
- e.g.
sdk use java 18.0.1-zulu
mvn clean package -Pproduction
See https://www.baeldung.com/linux/run-java-application-as-service
If you have and idea to extend and improve this project, please first create a ticket to discuss how it fits in the project and how it can be implemented.
If you find a bug, create a ticket, so we are aware of it and others with the same problem can contribute what they already investigated. And the quickest way to get a fix? Try to search for the cause of the problem or even better provide a code fix!
You want to become a member of the Pi4J-team? Great idea! Send a short message to [email protected] with your experience, ideas, and what you would like to contribute to the project.
Pi4J Version 2.0 and later is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.