Jump to content

ADC not showing up as a sensor option in PROGRAM drop down menu


TriLife
Go to solution Solved by TriLife,

Recommended Posts

Posted

Greetings;

I am monitoring the turbidity of my creek and based on water quality want to activate a Sluice gate to divert water to my lagoon. (we get heavy rains here in the mountains of Colombia and water quickly turns to milk-coffee).

Using @xKing's MQTT note server, I have the following YAML entries for the tasmotized Wemo Mini D1, which senses trubidity on A0 (GPIO17) and uses D1 (GPIO5) to control the Relay:

# Creekside WeMo Mini D1 with ADC. TOPIC in WeMo Mini D1 MQTT CONFIG "Creek"!
- id: "Turbidity"
  name: "Creek Turbidity"
  type: "analog"
  status_topic: "tele/Creek/SENSOR"
  cmd_topic: "cmnd/Creek/power"
- id: "Sluice"
  name: "Creek Sluice"
  type: "switch"
  status_topic: "stat/Creek/POWER"
  cmd_topic: "cmnd/Creek/power"

(This is an adaptation of the yaml entries used for a Sonoff 4CH or Dual. Same TOPIC "Creek"), but different id/name. This works) 

 

And I do get a reading in the MAIN Panel for CREEK TURBIDITY:

image.thumb.png.b8be8986841e015d74944a89939bcc44.png

And I can control CREEK SLUICE as well

image.thumb.png.fece2b591813f14ffa021be7f84554fa.png

However, when I try to create a program to activate CREEK SLUICE according to the reading of CREEK TURBIDITY, the CREEK TURBIDITY sensor is not showing up in the drop down menu. Only the CREEK SLUICE relay status shows. I did scroll all the way to the bottom, just in case 🙂 :

image.png.2342d7f7fcec8e9cfc63e6e06bcb0963.png

Any idea, why this might be the case?

Thanks in advance.

Cheers.

Posted

Good morning!

It has been 4 days since I posted the above question. No answers. Is it the topic, or did I do something to offend the community?

Cheers 

Posted
5 hours ago, TriLife said:

No answers. Is it the topic

Probably nobody familiar enough with the issue to help. I don't use this node server so can't help in anyway.

Tagging @xKing as listed developer of the node server on PG3 store. Otherwise, you might want to go to the git and raise the issue there to see if it gets any resolution.

https://github.com/exking/udi-mqtt-pg3

 

Posted
9 minutes ago, Geddy said:

Probably nobody familiar enough with the issue to help. I don't use this node server so can't help in anyway.

Tagging @xKing as listed developer of the node server on PG3 store. Otherwise, you might want to go to the git and raise the issue there to see if it gets any resolution.

https://github.com/exking/udi-mqtt-pg3

 

Thanks @Geddy. I'll give @xKing a few days to get back to me and then head to git. Wasn't aware of this option. I have tried the Tasmota User group, but they couldn't help here.

 

Cheers.

  • Like 1
  • 4 weeks later...
  • Solution
Posted

SOLVED!

@xKing got back to me.

Once I migrated to PG3x on eISY and tried to look at it again, ANALOG showed up as a parameter on that device.

One thing to pay attention to: Tasmota only sends an ANALOG reading update via MQTT every so often (300seconds). It does however give real-time update on its WebUI.

Thanks @Geddy and @xKing

Cheers

  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...