Volvo Binding in OH3

Hi there!

I am using the Volvo on Call Binding. Since I migrated to the stable release of OH3, the binding seems not to trigger actions anymore properly.

The thing and the bridges are online, I also get information like location etc… just when I want to trigger the actions, it seems like the actions are not available anymore.
I use the following rule which is pretty much taken from the documentation:

rule "Fahrzeug klimatisieren"
when
            Item iVoCKlimaImStand changed from OFF to ON or
             Item iVoCKlimaImStand received command OFF
then
     
     val actions = getActions("volvooncall","volvooncall:vehicle:XXXXX")

     if(null === actions) {
            logInfo("actions", "Actions not found, check thing ID")
            return
     }
     else {
            if (iVoCKlimaImStand.state == ON) {
            
                 actions.preclimatizationStartCommand()
                 logInfo("actions", "Preklima gestartet")

                 createTimer(now.plusMinutes(30), [ | 
                     iVoCKlimaImStand.postUpdate(OFF) 
                 ])
             }
            else {
                 actions.preclimatizationStopCommand()
                logInfo("actions", "Preklima gestoppt")
            }
 }
 
end

The error shown is:
2021-01-09 16:08:14.402 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'Fahrzeug-1' failed: 'preclimatizationStartCommand' is not a member of 'org.openhab.core.thing.binding.ThingActions'; line 13, column 13, length 24 in Fahrzeug

This also happens if I just replace the preclimatization command by several other commands, e.g. openCarCommand(). It was all working fine with OH2. logInfo(“actions”, “Actions not found, check thing ID”) is not triggered.

In the configuration it shows that prelimatization is available (“true”).

Someone has similar issues?

Thanks and best regards,
Matthias

Hi there,

I have the same issue with heaterStartCommand() and I did not find a solution foir this issue yet.
Did you?

I remember, that in the past there were problems when using a custom ThingID instead of the official VIN number.
Maybe @glhopital has an idea what might have changed to OH3?

EDIT:
It works when switching the switch in MainUI direct:
volvooncall:vehicle:XC60:xxx:other#remoteHeater

EDIT II:
Actually there is no need for an action anymore.
You just can start the action with a regular switch.
In my case:

Switch          CarHeater           "Standheizung"                      (G_jdbc,G_Car,Group_HabPanel_Dashboard)                             {channel="volvooncall:vehicle:XC60:xxx:other#remoteHeater"}