Hello friends,
i have problem by configuring these components.
- i have installed the plugin via coping the folder to /pimatic-app/node_modules
- then
npm install
in folders directory, thenchmod +x logP1.js
and then watched the log via./logP1.js
the Elster AS1440 has to be read out by first sending the initial code (\x2F\x3F\x21\x0D\x0A
)
by sending printf "\x2F\x3F\x21\x0D\x0A" > /dev/ttyUSB0
so when the log is logging something (:)) it#s not every time…
it looks like this:
---BEGIN--
@.5
.000
1(0002(00000
.(33636)
0.00003553727)
011538
.2(60
.7
1.8.0(000565.7*kWh8.
1*000000.0).0008.0*(0
100000*(000)
1..8000.0)
.8.8(0000)
(008.0
..0.7.0001..*0(328.6)
.8.0*0008.0*08000000.0)
2.800000.0)
2.8.0*08(000)00*0)
00.)
28.*8
2.8.0(..0*0002(000.50).01
0.2.0207
.00SPA)
---END----
and the plugin shows nothing in the gui…
but in real via cat /dev/ttyUSB0
you can see this…
/?!
/ELS4\@V9.35
040
8?c0.0.2(03553727)
0.9.1(212015)
0.9.2(160905)
1.7.0(0.512*kW)
1.8.0(000568.8*kWh)
1.8.0*08(000446.2)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
1.8.0*08(000000.0)
2.7.0(0.000*kW)
2.8.0(000401.3*kWh)
2.8.0*08(000328.6)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
2.8.0*08(000000.0)
C.4.0(00800080)
C.5.0(0020C0F0)
C.7.0(0001)
0.2.0(2A07)
0.2.2(00000SPA)
!
can somebody help me…
Mit freundlichen Grüßen
Chris