Page 1 of 2

can bus node app????

Posted: 23 Jan 2020, 14:19
by ronald0001
Hi

Ihave a carpc (raspberry pi) in my car
i now use mqtt as server and node to read from the ms/mm can....
rearcam if r is in
dimm and chamge theme on caroc if ligth turns on
set pi mute while pdc is active
if ignition is off turn of display wait 10min then shutdown
if ignition is on again break the 10min cowntdown and turn on display again
and more

but i want to show some carinformations too...so can anybody tell me a good webpage (maybe in german) wher i can look for som tutorial for making node apps...

also i want to send text to my convers to show wich titel is playing....with kodi no problem to get the text....over bluetooth is must look a little bit more....
i tried to build a plugin for kodi with python...its not easy if you do that as biginner...but its ok i get it slowly...i have time....

if my project goes little bit more forward i will share with you....

Re: can bus node app????

Posted: 23 Jan 2020, 19:24
by ronald0001
https://youtu.be/AW9XwY7WgAA

convert trackinfo from kodi into hex...after sind it on canbus....
now it works only ids wich i asked for are missing....
i use some fantasy id's....
if possible in c+ i can show track info (artist-title-time of track, also i can show now timeposition of track)

Re: can bus node app????

Posted: 23 Jan 2020, 21:20
by ronald0001
this here is a plugin written in python cuz of kodi

now change something when is playing nothing shows Rasp Pi in the converso

also remove exta id current time and but into trackinfo

also add id to enable bt-audio in c+
i place rigth now fake id's
20200123_221323.jpg

Re: can bus node app????

Posted: 25 Jan 2020, 17:38
by ronald0001

Re: can bus node app????

Posted: 16 Feb 2020, 15:57
by ronald0001
here a little demo how it can looks like

for try i do with virtual can
must find a way to calc rigth speed in kmh from can bus

00 64 is in dez 100...shows 1 for digital speed in cluster
03 e8 shows 10 kmh in dez is exactly 1000
so must think only divide by 100
but this is not correct
if i send on id 084 for speed message with 2710 (in dez its 10000) than c+ give me speed 106kmh

20200216_165055.mp4

Re: can bus node app????

Posted: 16 Feb 2020, 17:50
by ronald0001
ok i did something wrong
084#xx0060xxxxxxxxxx
is one kmh
so in dez is 96....
easy to calculate only divide by 96...i am an idiot gggf

Re: can bus node app????

Posted: 17 Feb 2020, 01:11
by ronald0001
https://youtu.be/uHp-_FuTErI

somebody knows to build webapp...looking like an speedcluster?

Re: can bus node app????

Posted: 11 Apr 2020, 15:32
by ronald0001
https://youtu.be/hYUQnmu75pY

my first step to work with css and html
looks very simple at the moment
but on the pi it looks ok
20200411_173002.jpg
now i must search the pids and amswers with canhacker and forscan...
maybe i can do more pages with informations to show

Re: can bus node app????

Posted: 12 Apr 2020, 19:19
by ronald0001
Neue Bitmap.png
new desing

Re: can bus node app????

Posted: 14 Apr 2020, 20:20
by avladimir
very nice, keep on the good work!