Code Monkey home page Code Monkey logo

node-red-contrib-luxtronik2's People

Contributors

coolchip avatar jumo-sballing avatar waldbaer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

node-red-contrib-luxtronik2's Issues

Cannot read properties

Dear Coolchip,
first of all thanks for this handy Node, I've been using it with Alpha Innotec for quite a while and it is a big help in my house automation.
Unfortunately now and then it crashes and the whole Node Red stops working, means none of the home automations too. Tried everything, reinstalling Node Red, refreshing Home Assistant, but it is not solving the issue. Yet somehow is starts working after the day or two by itself... But when it randomly crashes again, issue is always the same, pls see the screenshot.
Would it be possible adjusting this Node's logic to avoid this crash?

Many Thanks,
Regards,
Marius
2022-11-13 09 55 51

Parameter Password needed

Hello,
my Novelan controll unit need a password to connect.

Error massage:
msg.payload : error
"Error: connect ECONNREFUSED 192.168.1.85:8888"

Software-Version:
V3.88.0

Solution:
Default pw is "999999".
Could you add the possibility to add a password parameter (like node-red-contrib-luxtronik2-ws)

Beste regard
Nexus

Cannot read property 'end' of null

3 Oct 13:01:04 - [red] Uncaught Exception:
3 Oct 13:01:04 - TypeError: Cannot read property 'end' of null
at Luxtronik. (/home/pi/.node-red/node_modules/luxtronik2/luxtronik.js:452:21)
at Socket.emit (events.js:314:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.

Not able to update: payload.parameters.hotWaterOperationTimerTableWeek[0].on

I am trying to control the time when hotWaterOperation is on or off.
This is in the parameter hotWaterOperationTimerTableWeek[0].on or .off
These are populated with whatever I have entered on the Luxtronik controller manually.

When trying to inject a value, the same was as it is working for e.g. payload.parameters.heating_curve_end_point, it don't work, no error messages, just is not updated.

Are there any special way of "adressing" an array, other than using "hotWaterOperationTimerTableWeek[0].on" as parameter?

image

Truls

Uncaught Exception: RangeError: Index out of range

Hi,

first of all thanks for your great work!
Unfortunately I am running into an error using node-red-contrib-luxtronik2.

node-red: 0.19.5
node-red-contrib-luxtronik2: 0.3.0
Novelan LD5 heatpump.
Luxtronik2 firmware: V2.79

Error message:
Dec 28 12:41:05 loxberry Node-RED[15443]: 28 Dec 12:41:05 - [red] Uncaught Exception:
Dec 28 12:41:05 loxberry Node-RED[15443]: 28 Dec 12:41:05 - RangeError: Index out of range
Dec 28 12:41:05 loxberry Node-RED[15443]: at checkOffset (buffer.js:977:11)
Dec 28 12:41:05 loxberry Node-RED[15443]: at Uint8Array.Buffer.readInt32BE (buffer.js:1142:5)
Dec 28 12:41:05 loxberry Node-RED[15443]: at Luxtronik. (/root/.node-red/node_modules/luxtronik2/luxtronik.js:410:37)
Dec 28 12:41:05 loxberry Node-RED[15443]: at emitOne (events.js:116:13)
Dec 28 12:41:05 loxberry Node-RED[15443]: at Socket.emit (events.js:211:7)
Dec 28 12:41:05 loxberry Node-RED[15443]: at addChunk (_stream_readable.js:263:12)
Dec 28 12:41:05 loxberry Node-RED[15443]: at readableAddChunk (_stream_readable.js:250:11)
Dec 28 12:41:05 loxberry Node-RED[15443]: at Socket.Readable.push (_stream_readable.js:208:10)
Dec 28 12:41:05 loxberry Node-RED[15443]: at TCP.onread (net.js:601:20)
Dec 28 12:41:05 loxberry systemd[1]: nodered.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 12:41:05 loxberry systemd[1]: nodered.service: Unit entered failed state.
Dec 28 12:41:05 loxberry systemd[1]: nodered.service: Failed with result 'exit-code'.
Dec 28 12:41:05 loxberry systemd[1]: nodered.service: Service hold-off time over, scheduling restart.

Maybe it's because I changed the default Luxtronik webserver pw from 888888 to another one?

Read error: "Error: heatpump busy"

When trying to read data from my AlphaInnotec I get the follwing error in msg.payload:
"Error: heatpump busy"

But writing data with the same configuration is working. I also tried some older luxtronik nodes they also can read data. Any idea what could be wrong?

TypeError: Cannot read property 'payload' of undefined

Hello,

I get this error nearly every night and sometimes even up to five times.

2 Jan 02:00:23 - [red] Uncaught Exception:
2 Jan 02:00:23 - TypeError: Cannot read property 'payload' of undefined
at Luxtronik._processData (/home/pi/.node-red/node_modules/luxtronik2/luxtronik.js:332:74)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
nodered.service: Main process exited, code=exited, status=1/FAILURE
pam_unix(sudo:session): session closed for user root
nodered.service: Failed with result 'exit-code'.

NodeRed v2.0.6
node -v v14.18.1
node-red-contrib-luxtronik2 v0.5.1

Write Error: "Error: connect ETIMEDOUT 182.168.21.51:8888"

Hi, i need a little help:

i can read data from the heatpump without any problems.

But when i try to write, i got the error: "Error: connect ETIMEDOUT 182.168.21.51:8888"

Its a Novelan LAD5 Heatpump. The Luxtronik module have the Version 2.81.
Do i have to change a parameter in the Heatpump to write into it? I just wanted to turn the "Heating operation" in automatic or off.

Many thanks

Energy consumption

With the new firmware 2.88, the luxtronik device logs the consumed electricity. It would be nice to have those values available as well.
I don't know if that is even possible - but it would be nice to actually reset them. That doesn't seem to be possible via the device though.

TypeError after npm update

Hiho,

I use iobroker, which requested an npm update to a specific version. Everything worked fine for several months prior to the update, so I know that the pump and its firmware are compatible. I'm kinda stumped, so maybe you can shed some light on this.

node-red-contrib-luxtronik2: 0.4.0

after failing I ran this using the command line:
sudo nodejs --max-old-space-size=128 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js

command line output:

9 Jul 18:48:18 - [info] Node-RED Version: v1.1.0
9 Jul 18:48:18 - [info] Node.js  Version: v10.21.0
9 Jul 18:48:18 - [info] Linux 4.19.0-6-amd64 x64 LE
9 Jul 18:48:21 - [info] Paletten-Nodes werden geladen
9 Jul 18:48:24 - [info] Polymer started at /polymer
9 Jul 18:48:26 - [info] Dashboard version 2.22.1 started at /ui
9 Jul 18:48:27 - [info] Einstellungsdatei: /opt/iobroker/iobroker-data/node-red/settings.js
9 Jul 18:48:27 - [info] Kontextspeicher: 'default' [ module=memory]
9 Jul 18:48:27 - [info] Benutzerverzeichnis: /opt/iobroker/iobroker-data/node-red/
9 Jul 18:48:27 - [warn] Projekte inaktiviert: editorTheme.projects.enabled=false
9 Jul 18:48:27 - [info] Flow-Datei: /opt/iobroker/iobroker-data/node-red/flows.json
9 Jul 18:48:27 - [info] Flows starten
9 Jul 18:48:29 - [info] Flows gestartet
9 Jul 18:48:29 - [info] Server wird jetzt auf http://127.0.0.1:1880/ ausgeführt.
9 Jul 18:48:37 - [info] [inject:230c0f43.a4e328] Wiederholen = 60000
9 Jul 18:48:37 - [red] Uncaught Exception:
9 Jul 18:48:37 - TypeError: Cannot read property '0' of undefined
    at /opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-luxtronik2-ws/luxtronik2-ws.js:75:49
    at Parser.<anonymous> (/opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:303:18)
    at Parser.emit (events.js:198:13)
    at SAXParser.onclosetag (/opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:261:26)
    at emit (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:629:5)
    at closeTag (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:889:7)
    at SAXParser.write (/opt/iobroker/iobroker-data/node-red/node_modules/sax/lib/sax.js:1436:13)
    at Parser.exports.Parser.Parser.parseString (/opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:322:31)
    at Parser.parseString (/opt/iobroker/iobroker-data/node-red/node_modules/xml2js/lib/parser.js:5:59)

Thank you for your help. If there are any questions or you want me to run a few tests, feel free. I just hope email notifications work properly ;)

Warmwasser Sollwert

Hallo,

mir ist aufgefallen, dass wenn ich beim Ausgabebaustein den Parameter "Warmwater Target" auswähle, der Wert nicht in den Eintrag den Parameter "payload.parameters.temperature_hot_water_target" geschrieben wird, sondern in "payload.parameters.warmwater_temperature".

Gibt es irgendwo eine Anleitung wie ich ohne die Parameterauswahl des Bausteins selber das Objekt definieren kann welches ich beschreiben möchte. Also in meinem Fall "payload.parameters.temperature_hot_water_target" die Sollwertvorgabe.

Edit:

Habe den Eintrag in der luxtronik,js geändert:

Unbenannt

Hier stand zuvor eine "2" drin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.