Search found 65 matches

by ulfh2018
Sunday 05 March 2023 18:02
Forum: Other questions and discussions
Topic: Reading values sent to Tasmota via MQTT
Replies: 5
Views: 649

Re: Reading values sent to Tasmota via MQTT

Node-Red is not a problem. That works as a dream, but I cannot find a way to get the analog values from my sensor to Domoticz. As far as I can see, there are no virtual sensors I can use to pull this kind of info, so maybe I'll stick to Node-Red and se if I can find a way to make a nive display
by ulfh2018
Saturday 04 March 2023 17:06
Forum: Other questions and discussions
Topic: Reading values sent to Tasmota via MQTT
Replies: 5
Views: 649

Reading values sent to Tasmota via MQTT

I am working on a project where I use an ESP 12-F chip running Tasmota, to read analog values from a capasitive moisture sensor. These values are sent to a MQTT server, and I pull the information into Node Red, which seems to work as expected. I have used Domoticz before on another project, but then ...
by ulfh2018
Sunday 27 December 2020 11:05
Forum: Other questions and discussions
Topic: RPI-GPIO - what is it?
Replies: 1
Views: 205

RPI-GPIO - what is it?

I am using GPIO at some of my RPi and I observe there is a hardware entry called RPI-GPIO, but I cannot find any documentation about what it is and what it is used for. I'm just curious, since I already have a working solution using Generic Sysfs GPIO, but maybe someone can tell me what RPI-GPIO is ...
by ulfh2018
Saturday 26 December 2020 14:47
Forum: Temperature and Weather
Topic: Problem location weather data
Replies: 4
Views: 995

Problem location weather data

I have just implemented weather data from Meteorologisk Institutt in Norway, but the log file shows me the following: 2020-12-26 14:42:28.887 Status: Meteorologisk: using Domoticz location settings (59.544583,10.444592) 2020-12-26 14:42:28.886 Error: Meteorologisk: No location fount for this ...
by ulfh2018
Wednesday 17 June 2020 13:51
Forum: Other questions and discussions
Topic: Multiple i2c-buses and HW-clock problem
Replies: 1
Views: 276

Re: Multiple i2c-buses and HW-clock problem

Just an update.

Seems to work on version 4.19.97-v7+ but not on 4.19.118-v7+

Maybe I have to wait for an update of the kernel.
by ulfh2018
Tuesday 16 June 2020 9:06
Forum: Other questions and discussions
Topic: Multiple i2c-buses and HW-clock problem
Replies: 1
Views: 276

Multiple i2c-buses and HW-clock problem

I am trying to implement a system using multiple BME280 over i2c. I have no problem creating multiple i2c-buses, but when I try to implement a HW-clock using DS3231, system will not boot. My config.txt has the following lines: dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl ...
by ulfh2018
Saturday 09 May 2020 10:33
Forum: dzVents
Topic: Utility to set limit for humidity [Solved]
Replies: 5
Views: 1449

Re: Utility to set limit for humidity [Solved]

Dear Waaren First I have one question: Do you ever sleep? :D Thank you so much - that was a life savior! Why do things complicated, when it can be done simple and elegant! My main problem is, as it comes with a few other members, lack of experiense. I try to check google and the forum, but I have to ...
by ulfh2018
Saturday 09 May 2020 7:08
Forum: dzVents
Topic: Utility to set limit for humidity [Solved]
Replies: 5
Views: 1449

Re: Utility to set limit for humidity [Solved]

Hi Waaren. Yes, that's a good starting point. What I need now is: 1. getting a selected value from two selectors, one for max and one for min. This will be integers 2. defining the two values as persistent variables (so they can survive a reboot) 3. access the two variables from dzVents, take action ...
by ulfh2018
Friday 08 May 2020 21:39
Forum: dzVents
Topic: Utility to set limit for humidity [Solved]
Replies: 5
Views: 1449

Re: Utility to set limit for humidity [Solved]

Might be a solution. Didn’t even know that one existed! Thanks a lot! I’ll give it a try tomorrow :D
by ulfh2018
Friday 08 May 2020 18:15
Forum: dzVents
Topic: Utility to set limit for humidity [Solved]
Replies: 5
Views: 1449

Utility to set limit for humidity [Solved]

I have been using SetPiont to define values for temperature, but now I need an interactive way to set max and min values for humidity, that is being able to input these values (as integers) from the dashboard. I could possibly use SetPoint, and extract the values, but it seems odd to display ...
by ulfh2018
Wednesday 29 April 2020 12:02
Forum: LUA
Topic: Timer question
Replies: 0
Views: 277

Timer question

I am implementing a control system for controlling the floor heating in my brother's home. Most things are working as expected, except that the relays controlled by a dummy switch and GPIO will switch on when RPi is booting, and stay on if not Domoticz starts and takes over the control, but that's ...
by ulfh2018
Monday 27 April 2020 18:23
Forum: Other questions and discussions
Topic: Define GPIO in /boot/config.txt
Replies: 0
Views: 247

Define GPIO in /boot/config.txt

I am trying to define the GPIOs I need in config.txt. Seems to be defined as I want, that is I define 6 differnet GPIOs using the following syntax: gpio=17=op,dh gpio=18=op,dh gpio=27=op,dh gpio=22=op,dh gpio=23=op,dh gpio=24=op,dh if I execute gpio readall the gpios are shown as expected, but I ...
by ulfh2018
Monday 20 April 2020 8:58
Forum: Heating/cooling
Topic: Want to give access to change values for a set-point
Replies: 0
Views: 509

Want to give access to change values for a set-point

I have made a system for controlling the flow of hot water flowing through pipes in the flor. This is used for heating an apartment, and I do not want the user to have administrative rights, since he then might damage the system by trying to change things himself. I have given him reader access, but ...
by ulfh2018
Friday 20 March 2020 17:42
Forum: dzVents
Topic: Max value for SetPoint [Solved]
Replies: 7
Views: 1101

Re: Max value for SetPoint [Solved]

Thank you - worked like a dream!!!!
by ulfh2018
Friday 20 March 2020 16:57
Forum: dzVents
Topic: cannot edit dzvents using Chrome [Solved]
Replies: 2
Views: 745

Re: cannot edit dzvents using Chrome [Solved]

Thank you. Shoud have thought of that!
by ulfh2018
Friday 20 March 2020 16:51
Forum: dzVents
Topic: Max value for SetPoint [Solved]
Replies: 7
Views: 1101

Re: Max value for SetPoint [Solved]

Hm. Get an error /domoticz/scripts/dzVents/generated_scripts/SetPoint.lua:16: attempt to compare number with nil at the line: if item.setPoint > maxSetpoint then Looks like item.SetPoint returns nil. I use the device name I read in the device list, so the name is correct. Have only changed the ...
by ulfh2018
Friday 20 March 2020 16:38
Forum: dzVents
Topic: cannot edit dzvents using Chrome [Solved]
Replies: 2
Views: 745

cannot edit dzvents using Chrome [Solved]

After upgrading Domoticz to beta, I cannot edit scripts from Chrome. It is possible to use from Firefox, but in Chrome I get everything on a single line and not in an editor. Any way to change this behaviour?
by ulfh2018
Friday 20 March 2020 15:23
Forum: dzVents
Topic: Max value for SetPoint [Solved]
Replies: 7
Views: 1101

Re: Max value for SetPoint [Solved]

Not as easy as I thought (it never is). Here is the script I use to control the switch: return { on = { timer = { 'every minute' } }, execute = function(domoticz) local Sensor = domoticz.devices(1) -- Temperature local SETPOINT = domoticz.devices(13) -- SetPoint SETPOINT.updateSetPoint(SETPOINT ...
by ulfh2018
Friday 20 March 2020 15:09
Forum: dzVents
Topic: Max value for SetPoint [Solved]
Replies: 7
Views: 1101

Re: Max value for SetPoint [Solved]

Thanks a lot, Waaren, I see the logic. Should I run the script using a timer like on = { timer = { 'every minute' } } or just put it inside the scripts I have (one for each room)? I'm sorry if this is very basic
by ulfh2018
Friday 20 March 2020 14:16
Forum: dzVents
Topic: Max value for SetPoint [Solved]
Replies: 7
Views: 1101

Max value for SetPoint [Solved]

I am using dzVents to regulate temperature in a room. The system is built up using RFXcom and sensors, which are controlled via SetPoint and switches connected via GPIO to a RPi. I am building the system for my twin brother, who is NOT very fond of IT, so it must be as fool proof as possible. One of ...