@sdetweil Wow, thank you so much! Perfect :folded_hands: :grinning_face_with_big_eyes:
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-weconnectid with 2 accounts
-
RE: MMM-weconnectid with 2 accounts
Short update: CalendarExt3 is now okay. Maybe it needed just some more time.
And the SoC is just missing. The remaining km-range is there. I checked it in the cars. The value is correct.
-
RE: MMM-weconnectid with 2 accounts
@sdetweil Okay, nearly okay. I see the module twice on the screen. The following issues are on my Mirror:
- SoC for both cars is 0% - main point of interest :-)
- The pictures are the same (it is stored in the same folder with the same name. That is the reason for sure.) - not really needed
- My Calendar Ext3 stays empty. All events are broadcasted without any error. That is something in behind. I had that before when both modules (the original and my copy if both had
enabled=true
set). No error in the logs or any entry that is new for me.
-
RE: MMM-weconnectid with 2 accounts
@sdetweil Hello, yes, sorry for that delay. Yesterday I was out with my company colleagues :clinking_beer_mugs:
I’ve just tested the configuration:
- same module, twice in the config
- my copied module with new name with the original module together
then both versions with “git checkout main” and for doublecheck your “git checkout test_multi-2”.
And unfortunately without success. For Option 1 it stops with “loading…”. For Option 2 I get 1 car shown without any information from VW and the other stops also with “loading…” on the screen.
In the logs I just get this:
0|mm | [22.02.2024 19:12.02.704] [LOG] Got data from weconnectid for VIN WVWZZZE1ZNP0339xx 0|mm | [22.02.2024 19:12.07.203] [LOG] Got data from weconnectid for VIN WV2ZZZEB5PH0306xx
No Errors.
So same issue as last time. :crying_face:
-
RE: MMM-weconnectid with 2 accounts
@sdetweil unfortunately it works just a little.
I can see two modules the first time on my screen but I can’t see the SoC and the loaded pictures shows the same car. That is clear for me when I check the module.js file. But 2 different cars are loaded what can be seen on the run kilometers.
So your approach works in general to show the module twice. Thank you for that. That might be helpful for other modules, too.
But to get the MMM-weconnectid fully working there needs to be some more coding in the module.js to be done. Python grabs the information I think since I see no errors or strange things in the log.
Unfortunately I’m a mechanical engineer who just starts with some very simple coding. I can’t fix that.But again thanks a lot for your support and time you’ve spent!
Chris.
-
RE: MMM-weconnectid with 2 accounts
@sdetweil Wow, sure I can wait. But I’m already excited :-)
-
MMM-weconnectid with 2 accounts
We have two electric VW and two we-connect accounts. So I‘ve tried to get another instance running on my mirror, but it does not work. If I set a module on disable=true and the other on false in the config.js I can decide which car we can see.
So I made a workaround today with two config files which are copied in a circle and the refresh of electron is done with xdotool. All that is in a shell script which starts every 10 minutes with a cronjob. A quite dirty way, but we can see the battery status of both cars one after another :)
Has anyone found a smarter way? I also tried to do a refresh only on the MMM-weconnectid module but my coding skills are still not the best to include updateDOM or whatever to the js or json. I‘ve found a lot hits with Google and some into this direction in this forum the but nothing was explained in a simple way.
Does someone know a command to convice electron to reload just a specific module? Could be so easy from my newbie point of view 😉Cheers, Chris