Search found 81 matches

by gerardvs
Monday 01 February 2021 19:20
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgrading database
Replies: 4
Views: 906

Re: Upgrading database

waaren wrote: Monday 01 February 2021 18:04 As always; please make sure you have a recent and tested backup !
Sure, that is automated once a day. I'm a bit afraid of messing up my 8 somfy devices but will take the chance.

Thanks again for your help!
by gerardvs
Monday 01 February 2021 17:45
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgrading database
Replies: 4
Views: 906

Re: Upgrading database

First of all I have no intention to hijack this thread but the question I have is almost the same. Does your answer also apply to version 3.6675? I'm happy to say that I have version 3.6675 running continuously from feb 2017 with only a handful of reboots in the past 4 years. Unfortunately of ...
by gerardvs
Wednesday 13 January 2021 22:02
Forum: dzVents
Topic: Retrieve Domoticz time in API/JSON call [Solved]
Replies: 4
Views: 649

Re: Retrieve Domoticz time in API/JSON call [Solved]

Not sure why you post this in dzVents if you want to call the API but you could use

Code: Select all

/json.htm?type=command&param=getSunRiseSet
Although you are not interested in sunrise or sunset there is also a 'ServerTime' attribute with the current time.

--Gerard
by gerardvs
Wednesday 13 January 2021 21:10
Forum: dzVents
Topic: on devices logic question [Solved]
Replies: 4
Views: 601

Re: on devices logic question [Solved]

ok, moved it to execute and it works (of course, it's only a one-liner).
Maybe in a future release there will be a place for some logic in the on= event part to get "cleaner/leaner" code.
Thanks again for your help.
--Gerard
by gerardvs
Wednesday 13 January 2021 0:14
Forum: dzVents
Topic: on devices logic question [Solved]
Replies: 4
Views: 601

Re: on devices logic question [Solved]

Thanks for your reply. Although I have to test I think your nice example could/should work. My use case is in short: In our building there are a lot of PIR, door and window sensors. These are passively monitored 24x7. During the nighttime I want to monitor a subset of doors and windows and when ...
by gerardvs
Tuesday 12 January 2021 21:32
Forum: dzVents
Topic: on devices logic question [Solved]
Replies: 4
Views: 601

on devices logic question [Solved]

Hi All, De (partial) code below I use to check a device during nighttime. This works great. return { on = { devices = { ['FrontDoor'] = {'at 23:00-06:30'}, } }, execute =....... However I would like to add some logic to check an additional parameter or switch to disable or ignore the time limit. So ...
by gerardvs
Thursday 29 November 2018 19:38
Forum: Z-Wave
Topic: Temp sensors suddenly recognized as Temp+Hum
Replies: 33
Views: 7188

Re: Temp sensors suddenly recognized as Temp+Hum

ok, fair enough. Thanks for the suggestion.
by gerardvs
Wednesday 28 November 2018 19:52
Forum: Z-Wave
Topic: Temp sensors suddenly recognized as Temp+Hum
Replies: 33
Views: 7188

Re: Temp sensors suddenly recognized as Temp+Hum

Indeed this is my opinion and is not only related to zwave. In mysensors something alike happens. And for that, my opinion is that there is a design flaw in the code (/hardware/MySensorsBase.cpp). For types V_TEMP and V_HUM the code searches for other children. This ludicrous. Since a mysensor node ...
by gerardvs
Wednesday 28 November 2018 16:19
Forum: ESP8266
Topic: Esp8266 and ds18b20 not working with wall supply
Replies: 12
Views: 2969

Re: Esp8266 and ds18b20 not working with wall supply

Thanks for reporting back on this.
Maybe the sensor is a bit sensitive on 3.3v. Most likely a Chinese clone(?) These components usually work fine unless you are on the boundary of the specs.
by gerardvs
Wednesday 28 November 2018 16:14
Forum: Z-Wave
Topic: Temp sensors suddenly recognized as Temp+Hum
Replies: 33
Views: 7188

Re: Temp sensors suddenly recognized as Temp+Hum

Hi I can only also confirm I have weird temp+hum zwave qubino ZMNHADx (relay with DS18B20 temp sensor)..... Same here. This is definitely a Domoticz issue... Well may be not an issue but a design flaw. Sensors shouldn't be combined unless explicitly done by the user. Automatically combining sensors ...
by gerardvs
Thursday 15 November 2018 11:59
Forum: MySensors
Topic: MySensors MQTT Gateway publishes on domoticz/out topic
Replies: 6
Views: 3974

Re: MySensors MQTT Gateway publishes on domoticz/out topic

If you look as the MYS gateway sending messages to the Domoticz/in topic then I agree with you. But in my opinion this is not the case. The MYS system is seen as separate hardware and therefore is treated the same as all other hardware. The common thing is MQTT and might 'feel' strange seeing the ...
by gerardvs
Wednesday 14 November 2018 19:33
Forum: MySensors
Topic: MySensors MQTT Gateway publishes on domoticz/out topic
Replies: 6
Views: 3974

Re: MySensors MQTT Gateway publishes on domoticz/out topic

Sorry too :-) I think this is "by design" to publish all messages within Domoticz to the topic domoticz/out. So even when a MYS node publish' a message to Domoticz on the (default) topic domoticz/in/MyMQTT you should see that message also on the topic domoticz/out. In some configurations this might ...
by gerardvs
Wednesday 14 November 2018 18:13
Forum: MySensors
Topic: MySensors MQTT Gateway publishes on domoticz/out topic
Replies: 6
Views: 3974

Re: MySensors MQTT Gateway publishes on domoticz/out topic

Not really. How is your Gateway config? Mine is:

Code: Select all

// Set this node's subscribe and publish topic prefix
#define MY_MQTT_PUBLISH_TOPIC_PREFIX "domoticz/in/MyMQTT"
#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "domoticz/out/MyMQTT"
by gerardvs
Thursday 08 November 2018 19:48
Forum: ESP8266
Topic: Esp8266 and ds18b20 not working with wall supply
Replies: 12
Views: 2969

Re: Esp8266 and ds18b20 not working with wall supply

4,7k is the normal value so you can eliminate that. Hopefully you have a oscilloscope on hand to check how "clean" the 3.3V is. If not you could set you DM on AC and see if there is some ripple. If there is a high freq. ripple, only a cap is not enough, you have to add a small coil to get an LC ...
by gerardvs
Wednesday 07 November 2018 19:36
Forum: ESP8266
Topic: Esp8266 and ds18b20 not working with wall supply
Replies: 12
Views: 2969

Re: Esp8266 and ds18b20 not working with wall supply

This is called a "process of elimination" ;)
by gerardvs
Wednesday 07 November 2018 10:59
Forum: ESP8266
Topic: Esp8266 and ds18b20 not working with wall supply
Replies: 12
Views: 2969

Re: Esp8266 and ds18b20 not working with wall supply

R1 is a bit high. Try a 4K7 resistor.
by gerardvs
Monday 05 November 2018 17:47
Forum: Heating/cooling
Topic: Temperature sensoring station
Replies: 3
Views: 1163

Re: Temperature sensoring station

You could go way cheaper, simpler and less power with an ESP8266 and one or more ds1820.
Or if you intent to use more sensors in the future you could have a look at Mysensors.
I use both but will migrate in time all sensors to the Mysensors network.
by gerardvs
Monday 05 November 2018 10:08
Forum: dzVents
Topic: json with dash '-' in object name
Replies: 4
Views: 523

Re: json with dash '-' in object name

Try ["nearest-station"]
by gerardvs
Friday 02 November 2018 17:13
Forum: ESP8266
Topic: Esp8266 and ds18b20 not working with wall supply
Replies: 12
Views: 2969

Re: Esp8266 and ds18b20 not working with wall supply

Most likely the power is despite the capacitors still not stabilized enough. Try a larger cap. Also a 100k pull-up seems a bit high.
Please share the schematic so we could get a better picture.
by gerardvs
Wednesday 31 October 2018 17:59
Forum: Temperature and Weather
Topic: DS18B20 Directly connected to a RPI
Replies: 16
Views: 6051

Re: DS18B20 Directly connected to a RPI

I do almost the same to measure the temperature of the cabinet where the pi is situated and use a simple quick and dirty python script. import os import glob import time import requests # sometimes needed #os.system('modprobe w1-gpio') #os.system('modprobe w1-therm') base_dir = '/sys/bus/w1/devices ...