Search found 29 matches

by FredZ
Sunday 02 February 2025 18:16
Forum: Bugs and Problems
Topic: Temp log header not changing
Replies: 1
Views: 965

Temp log header not changing

Hello all I have just noticed that when I view a temp it defaults to 7 days, but when I click 1d the log shows correctly but the log header stays at 7Days. Temp.png Version: 2024.7 Build Hash: b317cfab1 Compile Date: 2024-07-14 02:59:31 dzVents Version: 3.1.8 Python Version: 3.11.2 (main, Sep 14 ...
by FredZ
Saturday 25 January 2025 22:16
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Re: Failing to understand

Well done. this script seems to do what I wanted. So what I have discovered is that there seem to be many ways to accomplish the same outcome. Also as a lay person I need to be more specific about the application and the outcome I am seeking. There are many things I wish to do within Dom, and I am ...
by FredZ
Saturday 25 January 2025 2:39
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Re: Failing to understand

Sorry, I may not have been entirely clear. I was assuming that for want of a better term, the script would run every 4 hours (or timer setting) In my lay persons speak, check the overflow sensor. If active don't turn on the pump, else turn on the pump. once pump turns off as a result of any of the ...
by FredZ
Saturday 25 January 2025 0:53
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Re: Failing to understand

I've tested this script. For testing purpose I set the timer to 10 minutes. The pump turns on, the header tank fills. headerFull = dzd('Switch3') becomes active and the pump turns off. However as soon as the water level is low enough for the sensor to become inactive the pump turns back on. Same ...
by FredZ
Wednesday 22 January 2025 8:32
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Re: Failing to understand

Hopefully this will clarify what I am attempting to do. The system is an automated header tank refiling system. The pump (switch1) pumps water from a 35K litre tank up to a header tank several hundred meters up the hill. The header tank sits in a trough to catch water that overflows from the header ...
by FredZ
Tuesday 21 January 2025 7:35
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Re: Failing to understand

Here's how I would start with this Firstly, thanks heaps for the code as a starting point. I've just got home after a 14 hour day, so a little jaded, but had to give it a shot before a quick meal and bed. Firstly there doesn't seem to be any logging so I can't debug it. When I run the code by ...
by FredZ
Monday 20 January 2025 3:29
Forum: dzVents
Topic: Failing to understand
Replies: 25
Views: 951

Failing to understand

Hello all OK so dzVents has gotten the better of me. I've been attempting to write a script for weeks (7 weekends actually) and I'm just not getting it, so I'm giving up and posting here in the hope that someone will come to my rescue. Here is what I am attempting to do: If switch2 is on then do ...
by FredZ
Friday 18 October 2024 17:26
Forum: Blockly
Topic: Help me understand
Replies: 0
Views: 1218

Help me understand

Hello all Not a programmer, this is why I use Blockly. I created a script to turn of a switch if any of three events occurred. It went like this: if switch1=on or switch2=on or switch3=on set switch4=off This didn't work at all. I then tried this: if switch1=on set switch4=off ELSE if switch2=on set ...
by FredZ
Monday 08 July 2024 9:29
Forum: General Discussion
Topic: Tazmota buttons/switches over MQTT
Replies: 3
Views: 997

Re: Tazmota buttons/switches over MQTT

What kind of integration with Domoticz do you use? On Dom I'm using the Autodiscovery of Tasmota Devices plugin. Prefix1 (cmnd): cmnd Prefix2 (stat): stat Prefix3 (tele): tele Subscriptions: %prefix%/%topic%|%topic%/%prefix% How do the Tazmota MQTT topics for these 2 devices look like? On the ...
by FredZ
Monday 08 July 2024 3:12
Forum: General Discussion
Topic: Tazmota buttons/switches over MQTT
Replies: 3
Views: 997

Tazmota buttons/switches over MQTT

Hello all Sorry, but my lack of knowledge has gotten the better of me. I have a Tasmota device (generic (18)) that has several temp probes and water level switches attached. My problem is with the water switches. The switches are connected D5 GPIO14 and D6 GPIO12. Switch1 and switch2 respectively. I ...
by FredZ
Thursday 11 April 2024 21:31
Forum: Other questions and discussions
Topic: Dom + SR04 incorrect distance
Replies: 7
Views: 1057

Re: Dom + SR04 incorrect distance

Thanks for the reference. As a result I have managed to resolved the issue. There is a line in the script if subtype == 27: # Domoticz distance needs cm but gets mm return 0, str(float(value)/10) All I did was to remove the /10 from the line so it now reads if subtype == 27: # Domoticz distance ...
by FredZ
Thursday 11 April 2024 9:47
Forum: Other questions and discussions
Topic: Dom + SR04 incorrect distance
Replies: 7
Views: 1057

Re: Dom + SR04 incorrect distance

Do you have a link to the description/instruction of Tasmoticz Autodiscovery of Tasmota Devices for Domoticz? https://github.com/joba-1/Tasmoticz What I am confused about is that the MQTT server (mosquito) is receiving the correct value from the Tasmota client, and somehow Domoticz is reading ...
by FredZ
Thursday 11 April 2024 3:53
Forum: Other questions and discussions
Topic: Dom + SR04 incorrect distance
Replies: 7
Views: 1057

Re: Dom + SR04 incorrect distance

What kind of mqtt integration are you using for talking Tasmota with Domoticz? Tasmoticz Autodiscovery of Tasmota Devices for Domoticz It seems you use mqtt Auto Discover. What is the mqtt config topic for this water level device. Should be somewhere in the Tasmota topic Topic = Water_Level Full ...
by FredZ
Wednesday 10 April 2024 22:32
Forum: Other questions and discussions
Topic: Dom + SR04 incorrect distance
Replies: 7
Views: 1057

Dom + SR04 incorrect distance

Hello all I've just setup a D1 mini (4M) with an SR04 attached running Tasmota. This is functioning as expected. It sends data via MQTT and the MQTT server (mosquito) reports the distance correctly. However Dom reports the distance incorrectly. It seems as though it moves the decimal point. 16cm is ...
by FredZ
Monday 21 June 2021 10:03
Forum: Other questions and discussions
Topic: MQTT device timeout
Replies: 6
Views: 644

Re: MQTT device timeout

Thanks for the Nodered comments. Looked into it, didn't make any sense to me at all. My decision: Dumped Tasmota and mqtt as I simply don't have the knowledge to get it to work how I want. Have gone back to ESPeasy on the clients and configured the devices manually on Dom. Now my devices time out ...
by FredZ
Sunday 20 June 2021 5:34
Forum: Other questions and discussions
Topic: MQTT device timeout
Replies: 6
Views: 644

Re: MQTT device timeout

To answer all of your questions. I don't know. I simply installed the tasmota firmware on my various sensor boards (WeMos D1 Mini Pro V3.0 NodeMcu 16MB) and attached the various sensors, mostly DHT22 and DS18B20 probes. Pointed mqtt to the server and set the user name and PW. Nothing else was ...
by FredZ
Friday 18 June 2021 20:05
Forum: Other questions and discussions
Topic: MQTT device timeout
Replies: 6
Views: 644

Re: MQTT device timeout

Thanks for that I had noticed that previously, and it is set to 10 minutes. However, I have deliberately turned off a sensor several weeks ago and it still shows the last temp received. I'm guessing it has something to do with mqtt. But I've never played with mqtt before so I have no knowledge of it ...
by FredZ
Friday 18 June 2021 0:51
Forum: Other questions and discussions
Topic: MQTT device timeout
Replies: 6
Views: 644

MQTT device timeout

Hello All I have Dom working, and I have added the Tasmota autodiscovery plugin and that is working. I've installed the tasmota plugin as I have installed tasmota on all of my sensor boards. I'm sending all the sensor data via mqtt to the server. Q. How do I get a device (sensor) that is for ...
by FredZ
Monday 15 March 2021 8:34
Forum: Other questions and discussions
Topic: Tasmota MQTT Domoticz
Replies: 4
Views: 1816

Tasmota MQTT Domoticz

Hello all Been struggling with this for four days and can't seem to see the wood for the trees. Scenario: Domoticz Version: 2020.2 Build Hash: b63341bc0 Compile Date: 2020-04-26 23:47:55 dzVents Version: 3.0.2 Python Version: 3.7.3 (default, Jul 25 2020, 13:03:44) [GCC 8.3.0] It is install on a ...
by FredZ
Sunday 31 January 2021 9:10
Forum: Cameras
Topic: No stream
Replies: 1
Views: 531

No stream

Hi All I'm using an X branded cheap camera from Aliexpress. I've found the RSTP URL using ONVIF Device Manager. I can get a stream through VLC, but when I put the same URL into Domoticz I can't get a stream. Not sure if I'm missing something as this is my first attempt at cameras. Your thoughts ...