itchannel / apex-ha

Local Neptune Apex HA Integration (Aquarium Controller)
GNU General Public License v3.0
20 stars 3 forks source link

DOS sensor data not showing #49

Open surfdude1009 opened 1 month ago

surfdude1009 commented 1 month ago

First time here.

I have this installed and working generally but the DOS sensor data for all of my DOS' reads 0 ml all the time. The Apex is showing the amounts being dos'd historically but I can't see that data in HA. I am running 1.15 and the most current Apex sw 5.12 5O24

brettonw commented 1 month ago

I am running my own fork (https://github.com/brettonw/apex-ha) with different behaviors and just updated for the DQD pumps. I don't remember the original behavior, but ...

The sensor value being returned is the remaining liquid in the reservoir attached to the pump. Have you configured that in Apex? (go to modules, select on your pump, you should see a screen like this:

Screenshot 2024-07-12 at 4 19 06 PM

Make sure you have set the total volume and the volume remaining (on the right) for your reservoir.

The actual pump speed is in the profiles, which I don't think is exposed as a sensor.

surfdude1009 commented 1 month ago

Ah, no. I was expecting that the sensor would provide the amount of fluid dos'd in the last period. Knowing how much is left in a container isnt helpful. my plan was to use HA as a way to do dynamic dosing based on various levels (e.g. low Mag, increase the amount dos'ing pump 3 is putting out by 10%).

brettonw commented 1 month ago

I use it exactly that way - for instance, I monitor the salinity and run the dosing pump to control the ATO. It works out about 2.5ml/min. If you look at my fork... I created a set DOS rate service - you tell the DOS what you want, as opposed to reading back what it did.