christophmoar / abrpTelemetrySmartInjector

abrp telemetry injector for smart #1
MIT License
2 stars 1 forks source link

Setup the script without using docker #2

Open holger05 opened 3 days ago

holger05 commented 3 days ago

Hi,

I want to use the scripts without the installation of the docker image. Is this possible? I import the script to iobroker, but I got a error message: "script.js.common.abrp_js compile failed: at script.js.common.abrp_js:27" which is the fetch module. I think, i have to load this (an any others) manual because it is in the docker image.

christophmoar commented 3 days ago

Hi @holger05 , I would think that if someone is capable of tinkering around with the script and making a iobroker object for it of course it should work. The script itself doesn't do much, except for fetching the json data and pushing it in a different way to abrp. Unfortunately though I have zero knowledge of iobroker, I just installed/used it out of the box since it does have that module to talk with the smart #1, so I cannot really help. If you can, feel free to copy the code and modify it in whatever way necessary to have it working as a iobroker node. Would be nice to be able to skip the docker part, certainly!