Jalle19 / eda-modbus-bridge

An HTTP/MQTT bridge for Enervent EDA ventilation units
GNU General Public License v3.0
15 stars 3 forks source link

Different publish intervals for different information #43

Closed Jalle19 closed 2 years ago

Jalle19 commented 2 years ago

E.g. the "device information" stuff never changes, so it's just a waste of resources to publish those every $publishInterval seconds.

JohanElmis commented 2 years ago

Agree, not sure if we should split it up further so we don't read stuff that we don't need either. I want to get some more values - for example where I can see if the Electrical heater is running (and at what power level). If it gets too cold outside - and the temp is set to high it may start (or just temporarily to dry out something) - but I would rather set down the temp a degree than to run with electrical heater. I think I have seen this info in a bit-field. but I will look into that again.

Jalle19 commented 2 years ago

The "LTO I-cascade" value shows you thay. 0 means the drum isn't spinning at all, 100 means it's nominal, anything between 100 and 200 means the heater is being used.

JohanElmis commented 2 years ago

Ok, I didn't know that. I will investigate more. The state-values shows a lot of nice info - but it's a bit-field - and only status info. But I guess that we could break it out as individual status flags. I will do a test on this - and then we can look at it. Could be nice to see this in HA as well I guess.

Jalle19 commented 2 years ago

I'm not sure which state values you're referring to now?

Jalle19 commented 2 years ago

If you figure out how to detect when the device is in "humidity boost" mode let me know, I haven't been able to figure it out. Same thing with centrql vacuum etc.

JohanElmis commented 2 years ago

I think I can.. will play with this tomorrow.

JohanElmis commented 2 years ago

No luck so far.. some things does show up in: 3x0044 State Data 3x0045 Control steps of temperature I can see when my cooker hood is activated, and when running Summer Night Cooling, but I would expect to see more. Have to see if I can force it into different modes so I can see if I get the statuses for it.

Jalle19 commented 2 years ago

Nice, I've missed those registers when skimming through the documentation.