Skip to content

Remotestart-Item from Readme produces syntax error #17

@redeye86

Description

@redeye86

Hello,

i installed the robonect binding and copied the configuration from the readme/wiki page (https://www.openhab.org/addons/bindings/robonect/).

Unfortunately
Switch mowerOneHourJob "Start mowing for one hour from now" {channel="robonect:mower:automower:job",remoteStart=REMOTE_1,afterMode=AUTO,duration=60}
gives me this error in openhab.log:

Configuration model 'robonect.items' has errors, therefore ignoring it: [13,121]: mismatched input 'REMOTE_1' expecting RULE_STRING
[13,140]: mismatched input 'AUTO' expecting RULE_STRING
[13,154]: extraneous input '60' expecting RULE_STRING
[14,26]: mismatched input 'Error' expecting '}'
[24,31]: mismatched character '<EOF>' expecting '"'

If i comment that out, everything else (battery status, mode, etc.) works.
Other question: Is it even possible to set the parameters (remotestart, after-mode and duration) dynamically? Either by items or even better by sending a command in a rule?

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