fritzbox-java-api
fritzbox-java-api copied to clipboard
Java API for managing FritzBox HomeAutomation
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 2 to 3. Release notes Sourced from gradle/wrapper-validation-action's releases. v2.1.3 What's Changed Update various NPM dependencies Update wrapper checksums to include Gradle 8.7 Full Changelog: https://github.com/gradle/wrapper-validation-action/compare/v2.1.2...v2.1.3 v2.1.2...
When trying to switch on a Fritz Dect 500 I'm getting a Response Code 500 Exception in thread "main" com.github.kaklakariada.fritzbox.http.HttpException: Request failed with response Response{protocol=http/1.1, code=500, message=Internal Server Error, url=https://192.168.178.1/webservices/homeautoswitch.lua?switchcmd=setswitchon&ain=13077%200171559&sid=3e0ee1169d88c622}...
`scanner.next()` throws NoSuchElementException if the `getswitchlist`-result is empty.  https://github.com/kaklakariada/fritzbox-java-api/blob/6e89250f1f7247b82f9d0ad0fc19936fc65dc69d/src/main/java/com/github/kaklakariada/fritzbox/mapping/Deserializer.java#L80
The tag-sequence "\\\...\" is mapped with the class SwitchState. The object may be null sometimes. The method Device().getSwitchState() currently requires it to be instantiated. Null is checked with SwitchState().isNull().
"alert" is described in the "AVM Home Automation HTTP Interface" - Doc 1.36 from 2020/09/16 and is shown for me with the device "blind". Sample: ``` \ \0\ \1637521201\ \...
Currently, the TLS certificate of the FritzBox is not validated, which makes the library vulnerable to machine-in-the-middle attacks. It would be better to support some kind of certificate pinning by...
To reduce external dependencies we should migrate from OkHttp to Java 11's HTTP client.
a command line interface would be good
some unit tests for the functions would be helpful
some documentation on the setup would be helpful see http://wiki.bitplan.com/index.php/Fritzbox-java-api for a start