Fireplace Control with MimoLite

So I am having a tough time writing this rule and thought maybe someone could help.

I have a MimoLite dry contact relay. It has a ADC input. Which can be mapped to the relay but then you lose zwave control.

So the setup is this

Local Switch/Remote --> ADC of MimoLite —> Fireplace

I am trying to allow the local input via remote to work while zwave controlled as well. The ADC when remote is off is about 2800 and <100 when on. There is a pullup resistor. So I can use this to control a rule to sync the web control. Just not the reverse of course since I can’t tell the remote to update.

Edit: I figured out a way to do this. I will post up when its polished.