Elios4you Data

If anyone got the elios4you device to see info about their solar panel information i found out the way to integrate it and collect data from the telnet server. I only care about 4 values but there are much more if needed. I share my node red configuration

[{"id":"3a3dab20.55c434","type":"tab","label":"Elios4You","disabled":false,"info":""},{"id":"dca33d8.38ff4c","type":"tcp out","z":"3a3dab20.55c434","host":"192.168.1.60","port":"5001","beserver":"reply","base64":false,"end":false,"name":"reply","x":770,"y":160,"wires":[]},{"id":"f3779ae5.6a2498","type":"template","z":"3a3dab20.55c434","name":"+ newline","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"@dat\n","x":600,"y":160,"wires":[["dca33d8.38ff4c"]]},{"id":"b34730fc.7a247","type":"status","z":"3a3dab20.55c434","name":"on status","scope":["226f4d8a.b841a2"],"x":80,"y":160,"wires":[["92b575a3.467ae8"]]},{"id":"92b575a3.467ae8","type":"switch","z":"3a3dab20.55c434","name":"","property":"status.text","propertyType":"msg","rules":[{"t":"eq","v":"common.status.connected","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":230,"y":160,"wires":[["1958056b.894bbb"]]},{"id":"1958056b.894bbb","type":"cronplus","z":"3a3dab20.55c434","name":"","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0/30 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":410,"y":160,"wires":[["f3779ae5.6a2498"]]},{"id":"226f4d8a.b841a2","type":"tcp in","z":"3a3dab20.55c434","name":"Elios","server":"client","host":"192.168.1.60","port":"5001","datamode":"stream","datatype":"utf8","newline":"\\n","topic":"","base64":false,"x":70,"y":280,"wires":[["701aa748.96d748"]]},{"id":"701aa748.96d748","type":"function","z":"3a3dab20.55c434","name":"","func":"var result = msg.payload.split(';');\nmsg.misura = result[1];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":230,"y":280,"wires":[["1d633d27.40c913"]]},{"id":"1d633d27.40c913","type":"switch","z":"3a3dab20.55c434","name":"","property":"misura","propertyType":"msg","rules":[{"t":"eq","v":"Produced Power","vt":"str"},{"t":"eq","v":"Bought Power","vt":"str"},{"t":"eq","v":"Sold Power","vt":"str"},{"t":"eq","v":"Consumed Power","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":370,"y":280,"wires":[["6cbf171a.464c78"],["a50e0be8.a70aa8"],["6b6048e5.8777f8"],["42778518.f0caec"]]},{"id":"6cbf171a.464c78","type":"function","z":"3a3dab20.55c434","name":"","func":"var result = msg.payload.split(';');\nmsg.valore = result[2];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":540,"y":260,"wires":[["33ff1eee.584672","dec02481.3a9dc8"]]},{"id":"33ff1eee.584672","type":"ha-entity","z":"3a3dab20.55c434","name":"FV Produzione","server":"ee2b1905.9ff508","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"FV Produzione"},{"property":"device_class","value":"power"},{"property":"icon","value":"hass:solar-power"},{"property":"unit_of_measurement","value":"kW"}],"state":"valore","stateType":"msg","attributes":[{"property":"","value":"","valueType":"str"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":760,"y":260,"wires":[[]]},{"id":"c83b69ea.a36358","type":"ha-entity","z":"3a3dab20.55c434","name":"FV Import","server":"ee2b1905.9ff508","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"FV Import"},{"property":"device_class","value":"power"},{"property":"icon","value":"hass:transmission-tower"},{"property":"unit_of_measurement","value":"kW"}],"state":"valore","stateType":"msg","attributes":[{"property":"","value":"","valueType":"str"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":740,"y":300,"wires":[[]]},{"id":"cdf5e76f.13a498","type":"ha-entity","z":"3a3dab20.55c434","name":"FV Export","server":"ee2b1905.9ff508","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"FV Export"},{"property":"device_class","value":"power"},{"property":"icon","value":""},{"property":"unit_of_measurement","value":"kW"}],"state":"valore","stateType":"msg","attributes":[{"property":"","value":"","valueType":"str"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":740,"y":340,"wires":[[]]},{"id":"5db726b1.959e98","type":"ha-entity","z":"3a3dab20.55c434","name":"FV Consumo","server":"ee2b1905.9ff508","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"FV Consumo"},{"property":"device_class","value":"power"},{"property":"icon","value":""},{"property":"unit_of_measurement","value":"kW"}],"state":"valore","stateType":"msg","attributes":[{"property":"","value":"","valueType":"str"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":750,"y":380,"wires":[[]]},{"id":"f4d88f44.1d35d","type":"ha-entity","z":"3a3dab20.55c434","name":"FV Autoconsumo","server":"ee2b1905.9ff508","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"FV Autoconsumo"},{"property":"device_class","value":"power"},{"property":"icon","value":""},{"property":"unit_of_measurement","value":"kW"}],"state":"valore","stateType":"msg","attributes":[{"property":"","value":"","valueType":"str"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","x":1030,"y":440,"wires":[[]]},{"id":"a50e0be8.a70aa8","type":"function","z":"3a3dab20.55c434","name":"","func":"var result = msg.payload.split(';');\nmsg.valore = result[2];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":540,"y":300,"wires":[["c83b69ea.a36358"]]},{"id":"6b6048e5.8777f8","type":"function","z":"3a3dab20.55c434","name":"","func":"var result = msg.payload.split(';');\nmsg.valore = result[2];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":540,"y":340,"wires":[["cdf5e76f.13a498","dec02481.3a9dc8"]]},{"id":"42778518.f0caec","type":"function","z":"3a3dab20.55c434","name":"","func":"var result = msg.payload.split(';');\nmsg.valore = result[2];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":540,"y":380,"wires":[["5db726b1.959e98"]]},{"id":"dec02481.3a9dc8","type":"join","z":"3a3dab20.55c434","name":"","mode":"custom","build":"array","property":"valore","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":730,"y":440,"wires":[["cc68be8a.26454"]]},{"id":"cc68be8a.26454","type":"function","z":"3a3dab20.55c434","name":"","func":"msg.valore = msg.valore[0] - msg.valore[1];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":860,"y":440,"wires":[["f4d88f44.1d35d"]]},{"id":"ee2b1905.9ff508","type":"server","name":"Home Assistant","addon":true}]
2 Likes

Complimenti!!! Lavoro fantastico, erano anni che cercavo un modo di interfacciarmi con Elios,
ora posso recuperare tutte le informazioni che mi servono. :clap: :clap:

1 Like

Salve Davide,
anche io posseggo elios4you che attualmente monitorizzo con lo smartphone.
Sono 2 anni che utilizzo openHAB2 come piattaforma di domotica, ora però mi trovo in difficoltà nell’integrare questo dispositivo.
Tramite telnet riesco a interrogare il dispositivo e leggere i dati, ma qui mi fermo!
Su openhab non ho trovato nulla, mentre ho visto che te sei riuscito.
Puoi aiutarmi?
Grazie in anticipo.

My name is Marco and not Davide :slight_smile: i will answer in english as it is a international forum. In my guide i used node red so you can install a node red instance on your openhab and use the first part of the flow

Thank you Marco, sorry for the mistake :slight_smile: with your name!
I never used nod red, I will try.
Thanks

No problem, by the way the correct way to get an answer from the elios4you is to establish a telnet connection to the 5001 port. As soon as you get a connection you send a “@dat” and you will get all the measures from the device

Thanks Marco, I am able the have the information via telnet but after I am lost because I never used nod re.
Working in progress! :slight_smile:

Hi Marco, finally I can read the data from the Elios4You and used in openHAB, and I discovered other command to send @inf(system info) @sta(daily peak and month peack)… Will be interesting to discover all the rest of the command to have all the data like the app. :slight_smile:

nice catch! It will be useful for someone else indeed :slight_smile:

Marco, I just found out googling that there was a way to get data out of the E4U, tried it first via telnet and it worked, then I was thinking how to implement it in HA and after 1 hour of tinkering I thought: “let’s do a quick search and see if someone else already did it…” and I found your post. :sweat_smile:

image

Since I have a 3-phase system, I’ll probably adapt it adding the values for all 3 phases.

You saved me a lot of work. Thank you so much.

Alessandro

1 Like

Hi! I’m from Italy too :slight_smile:

How did you find these commands that can be sent via telnet?
I didn’t find any documentation online unfortunately.

Luca

Hi Luca P,
unfortunately there is not documentation…
I just tried lots of commands via telnet, but i think there are much more!
The only way is to ask to the elios4you service, but I think that they are not to give us!
Userweb2018

Sorry guys, I’m a beginner interested to integrate my Febos-HP (it seems to me that it uses the Elios4You cloud) in my Home Assistant. I tried do understand previously messages, but I don’t know where to start. I just installed Node Red as add-on in my HASSIO instance, not able to move on. Could someone explain how to do that? Thanks

It is not based on the Elios4You cloud but directly connecting on the physical device that should be on the same network

Ciao Marco, my Febos-HP device and my Home Assistant are connected to the same network. Febos-HP seems to be the Elios4You device, I was also able to link it to the Elios4You mobile app. Via telnet I’m able to see my solar system information. So I think it can be integrated in the same way of Elios4You, but don’t know how do to it in Node-RED based on your input.

Thank you very much. It’s very usefull.

Great Flow, works like a charm. Did anyone find a way to check and control the Febos thermostat too?

Has anyone had any problems since the last update of HA 2023.5???. It always worked perfectly since a few days it doesn’t work anymore…

Still working perfectly for me

Hi,
wonderful idea, that I have been looking for for a long time!
I have an E4U and I want to recover data in Home assistant.
The solution you give is great, but I can’t seem to implement it :slightly_frowning_face:
A little help would really be appreciated. Thanks a lot :pray:

PS : I find a solution, it’s ok with another file on github. thank you