Search found 128 matches

by jkimmel
Saturday 08 January 2022 18:45
Forum: Temperature and Weather
Topic: NodeMcu with tasmota and two sensor DHT22
Replies: 7
Views: 2022

Re: NodeMcu with tasmota and two sensor DHT22

Hopefully you are not on bullseye because many plugins don't work
by jkimmel
Wednesday 15 December 2021 11:47
Forum: Other questions and discussions
Topic: Assign Shelly dimmer 2 via mqtt not using plugin (Bullseye)
Replies: 1
Views: 552

Assign Shelly dimmer 2 via mqtt not using plugin (Bullseye)

I'm completely new to the mqtt stuff.
I looked everywhere and couldn't find something like a step by step howto how to assign a dimmmer 2 to domoticz.
I tried with node-red as well unfortunately my understanding is not sufficient.
by jkimmel
Tuesday 14 September 2021 17:31
Forum: dzVents
Topic: Logging
Replies: 12
Views: 3883

Re: Logging

Yet, -like the OP- I don't understand how to make the logging show or not show. It seems it doesn't make any difference what I specify in this logging section nor in the settings. It must be me not understanding it, but I can not get the settings so that by default dzvents scripts only show error ...
by jkimmel
Monday 13 September 2021 19:18
Forum: dzVents
Topic: Logging
Replies: 12
Views: 3883

Re: Logging

waltervl wrote: Monday 13 September 2021 18:06 But did you get logging now? ....
no, but the reason has been, I tried to log a nil value and that prevented the logging of the other values

Removing logging the line with the nil value and everything was ok without defining the log level.

Anyway thanks for your input
by jkimmel
Monday 13 September 2021 17:07
Forum: dzVents
Topic: Logging
Replies: 12
Views: 3883

Re: Logging

waltervl wrote: Monday 13 September 2021 11:59
jkimmel wrote: Monday 13 September 2021 11:21
EddyG wrote: Sunday 12 September 2021 20:27 Do you have code like below at the beginning of the script, and is that code correct?

Code: Select all

    logging = {
      level = domoticz.LOG_INFO,
--   level = domoticz.LOG_DEBUG,
    },
No I don't have. Should I?
Will never hurt to try and find out... ;-)
I tried and it didn't hurt at all ;-)
by jkimmel
Monday 13 September 2021 12:47
Forum: dzVents
Topic: Looking for dewpoint
Replies: 9
Views: 1301

Re: Looking for dewpoint

rrozema wrote: Monday 13 September 2021 12:16 Have you tried .dewPoint as per the documentation? Lua is case sensitive.
As you can see above the local variable dewpoint is defined as

Code: Select all

local dewpoint = dz.devices(TEMPERATURE_SENSOR).dewPoint
So case sensitivity is considered
by jkimmel
Monday 13 September 2021 12:01
Forum: dzVents
Topic: Looking for dewpoint
Replies: 9
Views: 1301

Re: Looking for dewpoint

Both on a temphum and a temperture, humidity, barometer device the property dewPoint is available ( https://www.domoticz.com/wiki/DzVents:_next_generation_Lua_scripting , then search for dewpoint) If you've got a separate temperature and relative humidity value, you can theoretically calculate the ...
by jkimmel
Monday 13 September 2021 11:21
Forum: dzVents
Topic: Logging
Replies: 12
Views: 3883

Re: Logging

EddyG wrote: Sunday 12 September 2021 20:27 Do you have code like below at the beginning of the script, and is that code correct?

Code: Select all

    logging = {
      level = domoticz.LOG_INFO,
--   level = domoticz.LOG_DEBUG,
    },
No I don't have. Should I?
by jkimmel
Saturday 11 September 2021 21:29
Forum: dzVents
Topic: Logging
Replies: 12
Views: 3883

Logging

This is part of a working script if LOGGING then dz.log('Current temperature: ' .. temperature, dz.LOG_INFO) dz.log('Setpoint: ' .. tostring(setpoint), dz.LOG_INFO) dz.log('Current boiler state: ' .. boilerState, dz.LOG_INFO) end Despite local LOGGING = true and Domoticz settings: Errors + minimal ...
by jkimmel
Saturday 11 September 2021 19:25
Forum: dzVents
Topic: Looking for dewpoint
Replies: 9
Views: 1301

Re: Looking for dewpoint

Sorry, you are right. But I was looking for using the dewpoint in a dzVents Script, that's the reason. Sorry again.
by jkimmel
Saturday 11 September 2021 15:48
Forum: dzVents
Topic: Looking for dewpoint
Replies: 9
Views: 1301

Looking for dewpoint

I'm not sure whether my temperature sensor provides a dewpoint.

How could I check this?
by jkimmel
Friday 28 May 2021 11:22
Forum: Other questions and discussions
Topic: default mosquitto.conf
Replies: 6
Views: 1664

Re: default mosquitto.conf

@FireWizard

Thank you for your efforts. I misplaced the mosquitto.conf. So problem solved.
by jkimmel
Thursday 27 May 2021 10:59
Forum: Other questions and discussions
Topic: default mosquitto.conf
Replies: 6
Views: 1664

Re: default mosquitto.conf

My version is 2.*

yes, I had pwd protection.
by jkimmel
Wednesday 26 May 2021 19:49
Forum: Other questions and discussions
Topic: default mosquitto.conf
Replies: 6
Views: 1664

default mosquitto.conf

I upgraded Buster on my Raspi and obviously missed something when asked about the mosquitto.conf.
Result there is no more mosquitto.conf.
Please someone provides me with a essential mosquitto.conf
by jkimmel
Tuesday 30 March 2021 17:48
Forum: Python
Topic: Python Plugin: Tasmoticz - Autodiscovery of Tasmota Devices
Replies: 15
Views: 8048

Re: Python Plugin: Tasmoticz - Autodiscovery of Tasmota Devices

I flashed my Shelly Dimmer 2 with Tasmota 9.3.1 and let Tasmoticz discover it.
It was discovered but only as switch and not as dimmer.
Is there anything in the Tasmota configuration I have possibly missed?
by jkimmel
Saturday 03 October 2020 13:16
Forum: dzVents
Topic: Creating event [Solved]
Replies: 1
Views: 549

Creating event [Solved]

My heating scripts don't work anymore (winter is coming so I checked)

When checking the scripts on Settings >>> other options >>> events I see some new colors of of the on/off buttons.

What is the meaning of those colors?
by jkimmel
Saturday 30 May 2020 10:47
Forum: Blockly
Topic: Why does one script not work while they are almost exactly the same??
Replies: 6
Views: 1040

Re: Why does one script not work while they are almost exactly the same??

Try
blocklya.JPG
blocklya.JPG (17.63 KiB) Viewed 991 times
because time after sunset is > 05:00

I was a bit late ;)
by jkimmel
Saturday 16 May 2020 11:58
Forum: dzVents
Topic: Syntax examples wiki [Solved]
Replies: 1
Views: 1364

Syntax examples wiki [Solved]

return { on = { devices = { 'myDetector', 'roomTemp' } }, execute = function(domoticz, device) if ((device.name == 'myDetector' and device.active) or (device.name == 'roomTemp' and device.temperature >= 45)) then domoticz.notify('Fire', 'The room is on fire', domoticz.PRIORITY_EMERGENCY) end end ...
by jkimmel
Saturday 16 May 2020 11:42
Forum: dzVents
Topic: Order On section [Solved]
Replies: 1
Views: 1235

Order On section [Solved]

Does it make a difference whether I have timer first and then devices or vice versa?
by jkimmel
Sunday 03 May 2020 18:48
Forum: dzVents
Topic: Syntax [Solved]
Replies: 10
Views: 2550

Re: Syntax [Solved]

I understand, my wording was wrong.