Jump to content

Trying to add a non-sonoff flow sensor


Recommended Posts

Posted

I'm trying to add a non-sonoff flow sensor to eisy.

I know the topic and I'm receiving MQTT packets from the sensor but the payload includes the word "flow".

Log file:

 
2025-08-08 11:51:45.574 paho-mqtt-client- udi_interface INFO Controller:_on_message: Received _on_message {"flow":16.16} from droplet-BA7C/state
2025-08-08 11:51:45.575 paho-mqtt-client- udi_interface INFO Controller:_on_message: _else: Payload = {"flow":16.16}, Topic = droplet-BA7C/state
 
I've tried combinations of "type" and "status_topic" but to no avail.  
 
How do I deal with the label "flow" in the payload?
 
Thanks.
 
Posted

Hi @sjenkins, thanks for the suggestion.  I did try that.  The result is that the packets are not recognized by MQTT so there is no activity recorded in the log.  

I was looking at some of the node files, the MQSensor.py in particular shows the payload being tested for text.  Here is an example:

 # temperature
        if "temperature" in data:
            self.setDriver("CLITEMP", data["temperature"])
        # heatIndex
        if "heatIndex" in data:
            self.setDriver("GPV", data["heatIndex"])

I probably need to create a custom file to test for "flow" but not sure how to go about that.

This is the flow sensor.  Maybe if there were others using it we might be able to have someone create it.

Droplet the Smart Home Water Sensor - Hydrific, part of LIXIL

It currently has an integration for Home Assistant, but it would be great to create a direct connection to eisy.

Posted

@tmorse305 we would need to add a device which creates a node for your flow device.

Is flow the only data sent?  also, no control?  what are the units?

knowing the above its not a huge deal to make another node.  let me know.

  • Like 1
Posted
3 hours ago, tmorse305 said:

Hi @sjenkins,  There is no control, only status from the device.   There are 3 things it sends, flow rate, online status, and signal strength.  Let me get the details together.  Thank you for the offer to create the node.

will need to know for each of those what the number is and the unit.

for online status, what are the possibilities:  eg, (0,1,99) or (ONLINE, OFFLINE, UNKNOWN) or (online, disconnected, none)

need to know these exactly.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      38k
    • Total Posts
      379.4k
×
×
  • Create New...