Betatest - Renault ZE Services Binding

@sihui and @loyd I also just noticed this error…

Looks like the python chaps have extracted the new api key.

I can update the code but this is a pain… maybe I should make this a configuration variable… in the next version.

Updating the key using the new one from Update default Kamereon API key (#552) · hacf-fr/renault-api@03f4dbd · GitHub worked on my computer…

Here is a new version of the jar with the new key if you need this now:
https://drive.google.com/file/d/1soR_i3yxqkTUzzQPneW67cscmiwqx37t/view?usp=sharing

I will submit this change as a merge request and do a configuration variable of this value so that it can be updated quicker in future…

The new key has been merged to the main branch. ([renault] API key update. by dougculnane · Pull Request #12487 · openhab/openhab-addons · GitHub) I guess new openhab 3.3.0-SNAPSHOTs will be OK for a year.

@sihui Thanks for the clue about the fix.

I will work on a new version that has this value as a configuration parameter sometime before it changes again… this will allow this to be updated without updating the binding.

2 Likes

the new jar is working perfectly
and it’s a good idea to make this a variable
thanks for the quick action :slight_smile:

New versions of the renault binding will have the Kamereon API key as a parameter to make updates when it changes easier and quicker. This is the PR that just got merged: [renault] API key to configuration parameter and rule update. by dougculnane · Pull Request #12636 · openhab/openhab-addons · GitHub

I hope the renault-API project continues to extract this key so we can quickly update it.

2 Likes

I have been playing with openHAB UI3 and it is awesome. Here is an example interface for the Renault Car (Zoe) with Auto Charger and Charge Limit controls.

Here is the code if you want to add this and modify it.

config:
  label: Zoe
  order: ""
  sidebar: true
blocks:
  - component: oh-block
    config: {}
    slots:
      default:
        - component: oh-grid-cells
          config: {}
          slots:
            default:
              - component: oh-cell
                config:
                  color: blue
                  action: toggle
                  actionItem: AutoCharge
                  actionCommand: ON
                  actionCommandAlt: OFF
                  item: AutoCharge
                  title: Auto Charge
                  stateAsHeader: true
              - component: oh-label-cell
                config:
                  action: options
                  actionItem: RenaultCar_HVACStatus
                  item: RenaultCar_HVACStatus
                  title: HVAC Status
                  stateAsHeader: true
                  expandable: false
                  actionOptions: ON
        - component: oh-grid-row
          config: {}
          slots:
            default:
              - component: oh-grid-col
                config:
                  width: "100"
                  xlarge: "55"
                  large: "35"
                  medium: "70"
                slots:
                  default:
                    - component: oh-list-card
                      config:
                        mediaList: true
                      slots:
                        default:
                          - component: oh-slider-item
                            config:
                              item: RenaultCar_ChargeLimit
                              icon: f7:forward_end
                              title: Charge Limit
                              min: 60
                              max: 100
                              label: true
                              scale: true
                              unit: "%"
                              releaseOnly: true
                          - component: oh-label-item
                            config:
                              action: analyzer
                              actionAnalyzerItems:
                                - RenaultCar_BatteryLevel
                              item: RenaultCar_BatteryLevel
                              title: Battery Level
                              icon: oh:Battery
                              actionAnalyzerChartType: month
                              actionAnalyzerCoordSystem: time
                          - component: oh-label-item
                            config:
                              action: analyzer
                              actionAnalyzerItems:
                                - RenaultCar_EstimatedRange
                              item: RenaultCar_EstimatedRange
                              title: Estimated Range
                              fallbackIconToInitial: true
                              icon: pressure
                              actionAnalyzerChartType: month
                              actionAnalyzerCoordSystem: time
                          - component: oh-label-item
                            config:
                              action: analyzer
                              actionAnalyzerItems:
                                - RenaultCar_BatteryEnergyAvailable
                              item: RenaultCar_BatteryEnergyAvailable
                              title: Battery Energy Available
                              fallbackIconToInitial: true
                              icon: energy
                              actionAnalyzerCoordSystem: time
                              actionAnalyzerChartType: month
                          - component: oh-label-item
                            config:
                              item: RenaultCar_ChargingStatus
                              title: Charging Status
                              fallbackIconToInitial: true
                              icon: f7:car_fill
                          - component: oh-label-item
                            config:
                              item: RenaultCar_PlugStatus
                              title: Plug Status
                              fallbackIconToInitial: true
                              icon: material:power
                          - component: oh-label-item
                            config:
                              action: options
                              actionItem: RenaultCar_ChargingMode
                              item: RenaultCar_ChargingMode
                              title: Charging Mode
                              fallbackIconToInitial: true
                              icon: f7:list_bullet
                          - component: oh-label-item
                            config:
                              action: analyzer
                              actionAnalyzerItems:
                                - RenaultCar_ChargingTimeRemaining
                              item: RenaultCar_ChargingTimeRemaining
                              title: Charging Time Remaining
                              icon: oh:Time
                          - component: oh-label-item
                            config:
                              actionItem: RenaultCar_HVACStatus
                              item: RenaultCar_HVACStatus
                              title: HVAC Status
                              fallbackIconToInitial: true
                              icon: f7:power
                          - component: oh-label-item
                            config:
                              action: analyzer
                              actionAnalyzerItems:
                                - RenaultCar_Odometer
                              item: RenaultCar_Odometer
                              title: Odometer
                              fallbackIconToInitial: true
                              icon: f7:sum
                              actionAnalyzerChartType: year
                              actionAnalyzerCoordSystem: time
              - component: oh-grid-col
                config:
                  xlarge: "45"
                  large: "65"
                  medium: "30"
                  width: "100"
                slots:
                  default:
                    - component: oh-image-card
                      config:
                        item: RenaultCar_ImageURL
masonry: null
grid: []
canvas: []

2 Likes

Hi @all,
is ist possible to send a „start charge“-command?

THX
DJFlaxi

Hi @DJFlaxi

No is the sort answer, but here is also a longer one…

You can change the charging mode from schedule to instant. (If you set a dummy schedule that is not ever active this is effectively OFF) Setting to instant charge is then ON.

There is an example of this at the bottom of this page: Renault - Bindings | openHAB

Normally (in my case at least) the charger controls the supply turning it ON and OFF and setting the maximum amps. You need a smart charger for this like the GoE (Go-eCharger - Bindings | openHAB)

Hi community,

installed the binding and the sitemap.

What do I wrong?
Do I need items for the channels?

getting the following…

user/pass VIN,… has been entered correctly

2022-08-04 08:18:02.570 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.571 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.573 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.575 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.578 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.580 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.582 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.584 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.586 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.588 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.591 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:02.593 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:02.595 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:02.597 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:02.599 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:02.601 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:08.099 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:08.102 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:08.104 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:08.106 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.108 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.110 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.113 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.115 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.117 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.119 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.122 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.124 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.126 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.129 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.131 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.133 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.136 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:08.138 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:08.140 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:08.142 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:08.145 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:08.147 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:23.905 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:23.907 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:23.910 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ImageURL' for widget org.openhab.core.model.sitemap.sitemap.Image
2022-08-04 08:18:23.912 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.915 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.916 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.919 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.921 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.924 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.925 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_ChargingMode' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.928 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.930 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.932 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.935 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.937 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.939 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.941 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACStatus' for widget org.openhab.core.model.sitemap.sitemap.Selection
2022-08-04 08:18:23.943 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:23.946 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:23.948 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:23.950 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:18:23.952 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'RenaultCar_HVACTargetTemperature' for widget org.openhab.core.model.sitemap.sitemap.Setpoint
2022-08-04 08:19:11.552 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: ac_timer_on_off
2022-08-04 08:19:11.556 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined
2022-08-04 08:19:12.256 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: ac_timer_on_off
2022-08-04 08:19:12.260 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined
2022-08-04 08:29:03.742 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: AutoCharge
2022-08-04 08:29:03.744 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_HVACStatus
2022-08-04 08:29:03.746 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargeLimit
2022-08-04 08:29:03.749 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_BatteryLevel
2022-08-04 08:29:03.751 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_EstimatedRange
2022-08-04 08:29:03.753 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_BatteryEnergyAvailable
2022-08-04 08:29:03.755 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargingStatus
2022-08-04 08:29:03.757 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_PlugStatus
2022-08-04 08:29:03.759 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargingMode
2022-08-04 08:29:03.761 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargingTimeRemaining
2022-08-04 08:29:03.763 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_Odometer
2022-08-04 08:29:03.765 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ImageURL
2022-08-04 08:29:15.599 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: AutoCharge
2022-08-04 08:29:15.601 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_HVACStatus
2022-08-04 08:29:15.603 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargeLimit
2022-08-04 08:29:15.605 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_BatteryLevel
2022-08-04 08:29:15.607 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_EstimatedRange
2022-08-04 08:29:15.608 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_BatteryEnergyAvailable
2022-08-04 08:29:15.610 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargingStatus
2022-08-04 08:29:15.612 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_PlugStatus
2022-08-04 08:29:15.613 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: RenaultCar_ChargingMode

Hi @Pinocchio

Q: Do I need items for the channels?
A: Yes

If you are using openHAB version 3 then adding then “Create Item” from the binding channel should give you the Default Item names that are set in the sitemap called: RenaultCar_* If you use your own item name you will need to update the site map.

hi, is this binding still working for everybody else?

Since a couple days I only get

2022-08-30 17:01:45.936 [WARN ] [lt.internal.api.MyRenaultHttpSession] - Kamereon Response: [502] Bad Gateway <html>

Nothing has changed on my end or the account in use.

Hi @JensA It works on my computer!

Looking at the error the Kamereon server responded with a HTTP 502 response. So I would guess that it has an internal server error. Hopefully this was just a temporary thing?

@Doug_Culnane more like stupid user error - in the end. I still had an old snapshot jar in the local addons folder! I assume that version had an invalid kamereon api key?

The only mystery: why did it not fail much earlier, if it was due to invalid kamereon key?

Now I also have the api key input field in the properies. Thanks for your updates!

Since a couple of days the Renault binding is offline. I get the following error:

COMMUNICATION_ERROR
java.net.UnknownHostException: accounts.eu1.gigya.com: No address associated with hostname

What is wrong, is there something I can do? openHAB 3.3.0 Release with latest updates and the KAMEREON_APIKEY is the latest one.

Hi,

i also face a problem since some days:

2022-09-28 07:07:16.486 [WARN ] [ault.internal.handler.RenaultHandler] - Error My Renault Http Session.
java.util.concurrent.ExecutionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at org.eclipse.jetty.client.util.FutureResponseListener.getResult(FutureResponseListener.java:118) ~[?:?]
	at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:101) ~[?:?]
	at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:730) ~[?:?]
	at org.eclipse.jetty.client.HttpClient.FORM(HttpClient.java:407) ~[?:?]
	at org.eclipse.jetty.client.HttpClient.FORM(HttpClient.java:392) ~[?:?]
	at org.openhab.binding.renault.internal.api.MyRenaultHttpSession.login(MyRenaultHttpSession.java:91) ~[?:?]
	at org.openhab.binding.renault.internal.api.MyRenaultHttpSession.initSesssion(MyRenaultHttpSession.java:74) ~[?:?]
	at org.openhab.binding.renault.internal.handler.RenaultHandler.getStatus(RenaultHandler.java:217) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:353) ~[?:?]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:296) ~[?:?]
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:291) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) ~[?:?]
	at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) ~[?:?]
	at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:654) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1061) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.lambda$fill$1(SslConnection.java:835) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[?:?]
	... 1 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:276) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:141) ~[?:?]
	at org.openhab.core.io.net.http.internal.ExtensibleTrustManagerImpl.checkServerTrusted(ExtensibleTrustManagerImpl.java:123) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1335) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) ~[?:?]
	at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) ~[?:?]
	at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:654) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1061) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.lambda$fill$1(SslConnection.java:835) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[?:?]
	... 1 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~[?:?]
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~[?:?]
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[?:?]
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:276) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:141) ~[?:?]
	at org.openhab.core.io.net.http.internal.ExtensibleTrustManagerImpl.checkServerTrusted(ExtensibleTrustManagerImpl.java:123) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1335) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) ~[?:?]
	at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) ~[?:?]
	at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) ~[?:?]
	at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1074) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask$DelegatedAction.run(SSLEngineImpl.java:1061) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at sun.security.ssl.SSLEngineImpl$DelegatedTask.run(SSLEngineImpl.java:1008) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.fill(SslConnection.java:654) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.flush(SslConnection.java:1061) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) ~[?:?]
	at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:378) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.lambda$fill$1(SslConnection.java:835) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[?:?]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[?:?]
	... 1 more

I changed nothing :frowning:
I unterstand the error, but i dont now what i can do!

sounds like a problem with a certificate. Did they change a certificate ?
To debug instructions at

may help

Found the error
COMMUNICATION_ERROR
java.net.UnknownHostException: accounts.eu1.gigya.com: No address associated with hostname

Of course a DNS problem, my PiHole blocked the name resolution, I added accounts.eu1.gigya.com to the white list.

2 Likes

Maybe you need to do a system update to get the latest Certificate Authority Certs?

I thought the same thing, but as if by magic, the problem has been solved…

So it was the API after all :frowning:

1 Like

Hello everybody,

with our new car (Renault Megane E-Tech EV60) the binding is working fine, but there is a warning with every poll to the car shown in the log-Viewer.

2022-12-12 15:20:38.495 [WARN ] [lt.internal.api.MyRenaultHttpSession] - Kamereon Response: [404] Not Found {“type”:“FUNCTIONAL”,“messages”:[{“code”:“err.func.404”,“message”:“{"errors":[{"status":"Not Found","code":"404 NOT_FOUND","detail":"vnext error http_code=404"}]}”}],“errors”:[{“errorCode”:“err.func.404”,“errorMessage”:“{"errors":[{"status":"Not Found","code":"404 NOT_FOUND","detail":"vnext error http_code=404"}]}”}],“error_reference”:“FUNCTIONAL”}