Skip to content

Compile time error #89

@RndmGlitch

Description

@RndmGlitch

With the updated hub, there is a compile error in the app in lines 457-460.

@CompileStatic void processParsedSsdpEvent(LinkedHashMap event) { String ipAddress = convertHexToIP(event?.networkAddress) String ipPort = convertHexToInt(event?.deviceAddress)

The built in compiler does not recognize the included libraries at compile time. To make this more compatible with Hubitat, the code could be changed to:

@CompileStatic void processParsedSsdpEvent(LinkedHashMap event) { String ipAddress = convertHexToIP((String) event?.networkAddress) String ipPort = convertHexToInt((String) event?.deviceAddress)

expressly casting these as "String". I had to do this and manually install the app. It was preventing it from being installed via bundles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions