Open usauerbrey opened 3 years ago
Hi Uwe, no problem. I forgot to mention that you need also to install the VIS (Visualization) plugin which provides an UI editor and alows to import the javascript views. The github icon is in the icon bar in the upper left side of the adapters section in IOBroker. You need to enter the url to the vw-connect github in order to install the latest version. You can create the user-defined variables when you go the Objects section in IOBroker, select the top object 0_userdata.0, then click on the + (plus) icon and then enter the variables one by one as they are used in the blockly javascript code.
Hi Steve
Thanks for your answer, but:
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-01-14T07_32_15_384Z-debug.log ERROR: host.raspberrypi Cannot install https://github.com/mtbsteve/VolkswagenID3-widgets/tarball/master: 1 ERROR: process exited with code 25
Thanks Uwe
Hi Uwe, as described in the readme, you need to install the vw-connect adapter via the github icon, NOT this repository. This code here is not an adapter, but just a snapshot of my code for my views and the javascript converted code of the blocklys.
the user variables and type I am currently using are:
ChargingState boolean
climatisationState boolean
endtime string
endtimeclima boolean
starttime string
starttimeclima string
timeractive boolean
timercharging boolean
timerclima boolean
timerclimaactive boolean
Hi Steve
Its me again ;-) I stepped a little bit further, now: "Then you may import the views and the corresponding js code. Ensure that you adopt the VIN placeholder with your VIN in the code."
Thanks Uwe
hi mbtsteve
Thanks for providing the vw adapter and the widgets. But I was not sucessful in using the widgets. Step 1.-4. are ok, and I find my ID.3 with the correct VIN an the charging status, etc. Thats fine. But it started with step 5. I assume I had to install adapter jave.script which I did. Than the scripts section was available. I imported the cado of charging_menu and of the charging_scheduler_functions into the scrpts section. Now, I have no idea where or how to create the user variables in 0_userdata.0 as listed in the javascript code. Which one to create. Next: I have installed VW-Adapter 0.0.23 but could not find "little github icon in the adapter menu"
Then you may import the views and the corresponding js code. Ensure that you adopt the VIN placeholder with your VIN in the code. But which views and where to import it. Where or how to see the ui?
Please be patient, but I have never used iobroker, I just want to see the ID.3. I do my homeautomation with node-red.
Thanks for your help Best Regards Uwe