This seems to work for login, no errors on user interface or logs. I have automation, that runs ouman_logon every five minutes. Rest of the changes were pretty much same Belaial has made, that is, formatting, and since it’s split config, I have:
command_line: !include command_line.yaml
in configuration.yaml and sensors and switches in command_line.yaml look like this now:
I know this isn’t as streamlined solution as possible, but it works well, no more update reminders. Next thing, I have to clean this using *nix pipes ( | )
@Hyacinthe,
I guess this would be next step I have floor heating and as such, system doesn’t really need room thermostats. If you have traditional water-radiators, more fine-grained adujstment would be useful. Ouman itself offers all the needed commands and responses. There is no technological barrier for example, adjusting heating curve for EH800 from Home Assistant.
Ouman seems to be such popular device (even outside Finland), that it’s worth studying some more. My current project is creating power meter for my Jäspi Econature 40 wood fired heater. It will work with other heaters too, and it’s based on M5Stack Core2 ESP32-unit. When it’s ready, time to do more Ouman.
@mekanics,
it might be possible to parse responses in the fly, but my *nix-skills are too limited. It would be definitely more elegant way of handling responses. IIRC, you can request / set multiple variables at once, which makes number of separate files smaller.
As you see, I have configured the Ouman EH-800 to use 5-point adjustment. Also the graph is ‘‘inverted’’, but that can be adjusted according to one’s preferences.
I’m planning to use the adjusting algorithm by changing the adjustable room-temperature offset value on register:
S_134_85 Room temp fine adjustment
Also it would be great to make the Ouman Graph interactive, I think that’s doable by some default integrations. With this, you wouldn’t have to go to the device to adjust, and can see the loop working remotely. I’m also polling data from the valve position etc.
By using Ouman collected data and having energy consumption numbers, I think one could collect easily all the data needed for those weather based adjustments, as degee day is indicator for “heating need”. In previous example they are using gas measured in cubic meters, but it can be adapted for whatever energy source.
Last winter I did almost all heating with electricity and my utility company provides hourly temp with consumption in their site in Excel form, using it I can calculate heat losses quite accurately. If utility company provides that kind of data, it will help making better prediction (and saves one year for collecting data!)
Did you ever find out the register for the inside temp sensor?
I just ordered this and waiting for it to arrive later this week.
EDIT
Used Google translate now on a previous post, “S_261_85: L1 Huonelämpötila” I guess that might be the inside temp sensor register, will test it once I have the sensor installed.
The WAF (Wife acceptance factor - Wikipedia) needed to be high therefore a Ouman made sensor that looks nice, also nice to have a quick way to adjust the heat right on the sensor.
So the TMR-SP is finally installed and everything is working except that I can’t have the TMR-SP to control the V2 circuit which is my floor heating… reading the manual it seems to be “hard coded” to only control V1 when using a TMR-SP…
So all I can do is to switch places on the Ouman EH800 and the EXP-800 and reconfigured them to get this working…
(I have both since I have radiators and floor heating in my house)
Completely baffled V2 can’t be controlled by TMR-SP…
EDIT
Could have mentioned that
V1 = The Ouman EH-800 itself, mounted on the radiator circuit (floor 2 in the house)
V2 = EXP-800, mounted on the floor heating circuit (floor 1 in the house)
So yeah, I guess I will be switching around the Ouman / EXP-800 tonight…
(Seems V1/V2 is called H1/H2 in English manual and L1/L2 in Finnish manual)
I have my unit set to Swedish so that’s why I have V1/V2, in case someone got confused
So, now I have changed around the EH-800 and the EXP-800… was not that hard but changing all the settings back and making the motors change directions so the vales open / closes correctly was more of a pain when the manuals don’t really have all the info…
Anyway, TMR-SP works great, logging it’s values from the following ID’s
S_261_85 - Indoor temperature
S_274_85 - Value of the potentiometer
There is also register for EXU-relay, it’s register S_1004_85 (read only)
However, another source in lampopumput.info suggests measurements 3 and 4 are
measurement 3, register S_238_85
measurement 4, register S_283_85 Information on this is contradicting and would be good, if someone can check what those five registers actually have in fully furnished system with EXU.
Edit: EXP is EXU with factory equipped shunt?
Edit: more registers / readibility
Edit: measurements 5 and 6 description from manual
Edit: channel numbering scheme from Ouman EH-800 manuals
command: ‘curl “http://192.168.0.98:60098/request?S_238_85” | cut -d “:” -f 2 | cut -d “;” -f 1 | cut -b 18-’
Käytin tätä saman tyylistä commandia, kuin ulkolämpötilan mittaukseen. Mutta tämä antaa vain 0,0 ulos. Onko näiden exu mittausten sanoma eri tyyppinen, jolloin nuo leikkaukset pitäisi muuttaa?
Kannattaa tarkastaa, koska cut-komennolle ilmoitetaan tässä tapauksessa tiedostosta luettavien merkkien “x-koordinaatti”, eli monesko/mitkä merkit, ja mittausten 3-5 rekisterien nimet ovat 8 merkkiä pitkiä, kun taas osassa esimerkeissä rekisterin nimen pituus on 7 merkkiä ja vastauksessa on aina alussa rekisterin nimi. Cut-komennon käytöstä Linux cut Command Explained with 6 Examples (phoenixnap.com)
Kannattaa tietysti tarkastaa tiedostosta, mitä siellä on sisältönä / ohjata tarvittaessa vianhakuvaiheessa tiedostoon suoran unix-putkituksen sijasta. Tällöin saa ainakin varmuuden, mitä Ouman antaa ulos ja tuleeko nollat sieltä, vai Home Assistantista. Ouman antaa ilmeisesti nollaa (0.0) ulos numeerisille mittauksille, joissa ei ole anturia/tilatietoa.
Jos voit tänne postaa, mitä tietoa mittauskanavat antoivat?
Some discussion about measurements 3-5 and cut-command, mikkeli is getting output 0,0 (either from Ouman or Home Assistant), asked him to provide us with raw output from file/command line.
@Belaial, you have EXU-800, are you reading additional measurements (channel 5 and / or 6) from it, can you confirm its output? I have no EXU, as my Ouman is attached to simple single circuit floor heating.
I just changed around some in my config when I switched place on the unit’s to install the room sensor… so if they seem wrong let me know and I will check again.
There are some Swedish names on the sensors but a rough translation is
name: Ouman EH800 - Radiator Temperatur - Temperature going out
name: Ouman EH800 - Temperatur Radiator Finjustering - Adjustment (if you want to change the room temperature, not sure how ti explain it)
name: Ouman EH800 - Beräknad Temperatur Radiator - Calculated temperature (what it aims to provide so to speak)
name: Ouman EH800 - Radiator Ventil - Value of the valve in % (open / closed)
EDIT
Can add that my EH800 controls the floor heating and the EXU controls my radiators.