hello, i'm new in node-red...
i try to convert input from an serial /dev/ttyAMA0 on a RPI
i receive value like this:
� ~��@�\O8�TMb��=%�Z��8@�G~|�g��8����LFs)P�ܯFx��$p�(>dLv�<��0�w� |��F�4���Qࡆ��I "h��u�J@r=�"�
�~|�g��8����LFr)P�ܯ���:��_�8|\���=0�dO8�j��4������F/���v�H/5U�@�:<���L�||g��0����LGFb(P�ܯ�@�,q� p��ڠ ��8kC�@�@�x���&p�<�L�@�"'@�>z8�~@�Rv� ||g��0����LGFb(P�ܯ��>�;� $r��$�;>��>���a0<Z�=H���p�҄ ���@�p$�0T�+@<Q�|~F��08���Zgs�O ��V@
"
and it should be like:
0000120 fc 0c 64 ee 4d 94 f0 32 18 d4 bd 00 e0 70 dc 3e
0000140 00 00 00 04 04 ee e6 00 7c 7e 00 46 8c ff 03 02
0000160 30 38 e4 e7 00 92 00 08 47 5a 67 62 00 00 ef 4f
0000200 00 00 98 8e c4 97 10 00 38 20 fd 74 0e ce 18 01
0000220 59 84 00 08 90 a7 15 20 60 00 c6 1e 07 30 fc 04
0000240 58 cc 73 00 00 00 8b 16 46 20 1e 80 7e 65 f2 00
0000260 88 68 28 8b 0c e0 00 76 2a fb 06 38 48 6d dc b3
this are values from a Landis-Gyr E350 smartmeter... can someone help me?
in the end it should send the power-meter data to my loxone...
or maybe someone has got a working solution for my problem?
thanks
EDIT:
i "translated" the useless input to hex.
[192,56,0,42,197,10,0,24,98,58,58,231,72,36,240,47,112,0,0,128,88,197,181,128,64,0,172,210,41,0,14,0,231,46,72,196,66,200,108,120,124,4,120,38,31,248,16,2,6,224,216,104,128,0,8,101,186,206,72,128,124,124,160,103,140,254,2,19,56,189,196,198,0,219,8,8,6,16,102,115,41,0,206,14,32,0,220,32,242,0,212,164,10,8,134,6,83,195,112,204,34,48,112,125,224,0,0,80,130,27,2,0,194,83,119,66,60,224,128,252,151,0,0,4,200,149,96,48,4,228,43,10,253,32,8,8,200,120,70,112,0,72,140,123,68,0,16,168,247,85,16,24,130,27,40,53,32,124,96,130,163,6,14,16,168,126,126,0,70,204,255,3,2,48,56,230,231,0,146,0,8,71,90,70,98,0,64,239,79,0,0,152,176,252,105,8,4,152,211,56,91,4,2,0,168,227,251,0,32,0,204,8,224,0,66,140,14,135,0,98,16,239,89,119,204,128,112,173,95,6,134,128,248,124,107,2,240,0,132,133,246,242,0,78,171,24,5,0,18,6,18,254,150,192,128,0,77,149,0,64,62,176,73,233,14,194,64,41,75,0,124,126,0,70,206,255,3,2,48,56,230,231,0,146,0,72,71,90,70,98,0,80,239,79,0,0,152,177,253,215,0,0,134,213,190,0,72,128,112,181,57,0,0,152,132,157,68,32,0,152,3,133,32,112,192,216,69,174,48,0,0,192,5,73,0,4,8,120,151,142,200,0,50,82,136,53,4,4,192,6,198,50,0,0,94,115,36,32,0,34,211,217,82,36,0,16,86,248,243,64,128,100,25,181,192,124,126,160,103,140,254,2,19,56,56,196,198,0,219,8,8,6,16,102,115,41,0,206,14,32,0,220,32,252,0,158,156,0,6,0,240,23,33,32,192,0,176,25,163,158,120,224,177,70,95,72,126,204,203,11,0,152,38,172,226,56,0,16,32,44,145,158,0,36,24,26,83,157,156,0,126,5,95,62,8,32,124,107,94,2,70,32,84,123,107,32,0,32,24,201,227,0,0,64,253,130,0,8,72,176,126,126,0,70,140,255,3,19,48,56,196,231,0,146,0,8,70,90,103,98]
how can i decrypt this with my given key?