Search found 129 matches

by elmortero
Saturday 14 October 2017 15:49
Forum: Other questions and discussions
Topic: create seperate wind sensors (direction strenght)
Replies: 4
Views: 115

Re: create seperate wind sensors (direction strenght)

You should use custom sensors
by elmortero
Thursday 12 October 2017 10:44
Forum: Other questions and discussions
Topic: create seperate wind sensors (direction strenght)
Replies: 4
Views: 115

Re: create seperate wind sensors (direction strenght)

Hi,

You could use dzvents to first read the separate values you want direction and then write them to the virtual sensors you create for them.
(for example: wDir = domoticz.devices('yourWindsensor').direction)
by elmortero
Tuesday 26 September 2017 15:07
Forum: General Discussion
Topic: Start Domoticz in "safe mode"
Replies: 6
Views: 297

Re: Start Domoticz in "safe mode"

Couldn't you just delete the script file (or rename)?
by elmortero
Thursday 21 September 2017 20:41
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5906

Re: Timer Plan Edit

And in your settings page of Domoticz you have your local network indicated?
Like this:
locNet.PNG
locNet.PNG (40.19 KiB) Viewed 245 times
by elmortero
Thursday 21 September 2017 13:33
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5906

Re: Timer Plan Edit

That can be solved with the solution provided in http://www.domoticz.com/forum/viewtopic ... am#p149864 (an easy search in the forum brought me there)
by elmortero
Wednesday 20 September 2017 19:10
Forum: General Discussion
Topic: Transfer sensor data
Replies: 2
Views: 175

Re: Transfer sensor data

Use the replace button for the sensors.
Add the new sensor (the p1 smartmeter) to the system.
Then go to the Toon sensor and click it's Edit button. Then click Replace and select your new device.
by elmortero
Wednesday 20 September 2017 12:44
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5906

Re: Timer Plan Edit

If you are sure you have it on port 80 maybe try putting it also in the url.
Are you sure you allow your local network to connect without authentication?
by elmortero
Wednesday 20 September 2017 0:48
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5906

Re: Timer Plan Edit

Do other json queries work? For example: http://192.168.1.145/json.htm?type=settings
by elmortero
Thursday 14 September 2017 14:46
Forum: Other questions and discussions
Topic: React on RSS feed
Replies: 6
Views: 349

Re: React on RSS feed

This LINK should help you get started.
It is simular to reading from a json table which has many examples here on the Domoticz forum.
by elmortero
Wednesday 13 September 2017 22:50
Forum: Suggestions
Topic: Moon phase
Replies: 60
Views: 7551

Re: Moon phase

You could also skip the second IF.
If moonriseHour is nil then moonriseMinutes is also nil so:

Code: Select all

if moonriseHour == nil then 
moonriseHour = '--'
moonriseMinute = '--'
end
by elmortero
Wednesday 13 September 2017 19:44
Forum: Suggestions
Topic: Moon phase
Replies: 60
Views: 7551

Re: Moon phase

something like if moonriseMinute == nil then moonriseMinute = '--' end (and same for the rest of the fetched values)
That should avoid giving an error and in your textsensor would get --:--
by elmortero
Friday 08 September 2017 16:17
Forum: dzVents Lua Framework
Topic: Best practice for selector switch
Replies: 3
Views: 375

Re: Best practice for selector switch

Here is a variant of achieving the same result. 2 lines of code and an additional line for logging. local t = {[10]='08360', [20]='08085', [30]='07510', [40]='07130', [50]='07037', [60]='06431', [70]='06431', [80]='07385'} local zmw = t[tonumber(domoticz.devices('Ubica').rawData[1])] domoticz.log('...
by elmortero
Thursday 07 September 2017 13:11
Forum: Bugs and Problems
Topic: Notification pushover --> failed
Replies: 3
Views: 413

Re: Notification pushover --> failed

This is due to the issues with the latest Betas, has been discussed in many topics lately. Answer is rather easy: revert to stable version. As an alternative you can use this info : LINK to directly call the api from within your scripts instead of using the builtin functions. I did the same for my N...
by elmortero
Thursday 07 September 2017 12:22
Forum: dzVents Lua Framework
Topic: attempt to call field 'after_min' (a nil value)
Replies: 2
Views: 235

Re: attempt to call field 'after_min' (a nil value)

Please check http://www.domoticz.com/forum/viewtopic ... 59&t=18674 which has the info you need.
Hint: you are using the old dzVents manual, some things have changed.
Your answer is in the part about migrating to the new version.
by elmortero
Thursday 07 September 2017 9:06
Forum: dzVents Lua Framework
Topic: Problem with Dzvents timers
Replies: 8
Views: 461

Re: Problem with Dzvents timers

Hi Giel,

This is normal behavior. You are using the old syntax in both examples given.
All you need to know is available in this WIKI
by elmortero
Monday 04 September 2017 11:06
Forum: General Discussion
Topic: How many Domoticz users are out there?
Replies: 48
Views: 3367

Re: How many Domoticz users are out there?

Hi,

Statistics say that this board has 11904 members, so I guess that is more or less the number of Domoticz users as some may have stopped using etc
doMemb.PNG
doMemb.PNG (15.14 KiB) Viewed 310 times
I am in Spain btw
by elmortero
Thursday 24 August 2017 16:58
Forum: Bugs and Problems
Topic: Wind speed only in m/s - Beta 3.8317
Replies: 5
Views: 295

Re: Wind speed only in m/s - Beta 3.8317

Seen it.
Thank you!
by elmortero
Thursday 24 August 2017 16:21
Forum: dzVents Lua Framework
Topic: dzVents set dimmer level
Replies: 2
Views: 353

Re: dzVents set dimmer level

you are looking for this:
then
LichtHal.switchSelector(TheLevelYouWantTOSetItTo) --> the level is Numeric
end

It is explained in the dzVents Wiki
by elmortero
Thursday 24 August 2017 13:43
Forum: dzVents Lua Framework
Topic: Best practice for selector switch
Replies: 3
Views: 375

Best practice for selector switch

I would like some advice for the best practice in LUA/dzVents for selector switch when there are a lot of levels. Now I use this local ubi = (domoticz.devices('Ubica').rawData[1]) if ubi == '10' then zmw = tostring('08360') end if ubi == '20' then zmw = tostring('08085') end if ubi == '30' then zmw ...