TriLife Posted May 3, 2023 Share Posted May 3, 2023 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: And I can control CREEK SLUICE as well 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 🙂 : Any idea, why this might be the case? Thanks in advance. Cheers. Link to comment
TriLife Posted May 7, 2023 Author Share Posted May 7, 2023 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 Link to comment
Geddy Posted May 7, 2023 Share Posted May 7, 2023 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 Link to comment
TriLife Posted May 7, 2023 Author Share Posted May 7, 2023 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. 1 Link to comment
Solution TriLife Posted May 30, 2023 Author Solution Share Posted May 30, 2023 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 1 Link to comment
Recommended Posts