Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ban-hammer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/clients/client30393/web41744/web/wp-includes/functions.php on line 6121
Reageer op: Kodi – bedienen met Rns-e | Audi CanBus – Raspberry Pi

Reageer op: Kodi – bedienen met Rns-e

Skin beschikbaar voor Kodi Krypton!! Forums Audi Can-Bus Forum Kodi – bedienen met Rns-e Reageer op: Kodi – bedienen met Rns-e

#425
Janssuuh
Sleutelbeheerder

Hi Eric,

I’ve been searching my can-dump logs.
Pressing the big knob generates the “461 # 37 30 01 00 10 00” message, each 100ms you keep pressing it.
Releasing the knob sends the “461 # 37 30 04 00 10 00” message 5 times!

So in the script.service.JanssuuhRnseBediening.zip plugin you should change the #Press part of the code into (not yet tested);

elif msg == (“37 30 01 00 10 00”): #Press
_____press+=1
elif msg == (“37 30 04 00 10 00”): #Press Release
_____if pressrls>4:
__________if press<5: #Press Kort
_______________xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.Select","id":1}')
__________else: #Press Lang
_______________xbmc.executebuiltin('XBMC.ActivateWindow(Contextmenu)')
__________press=0
__________pressrls=0
_____else:
__________pressrls+=1

(_____ = indent, forum removes them :(. )
Also don't forget to declare the integer at the start of the script (pressrls=0).

You also need to edit the skin, because the Contextmenu screen (DialogContextMenu.xml) has a false lay-out, because I didn't yet fitted it for Rns-e.

The "Car Info" screen and it's code (and the mid-fis content) isn't published in the LITE skin nor the plugins (rns-e bediening / rns-e to fis) on the website. I'm still planning on packaging a full version of all plugins / skin and maybe ask a small fee for it. (€5,- to €10,-) Though, some functions would only work on a monochrome (red) FIS!

Hope it helps 😉

Kind Regards
Jeroen