Search found 126 matches

by elmortero
Thursday 21 September 2017 20:41
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5156

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 42 times
by elmortero
Thursday 21 September 2017 13:33
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 47
Views: 5156

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: 84

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: 5156

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: 5156

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: 5
Views: 188

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: 7105

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: 7105

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: 303

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: 325

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: 152

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: 341

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: 2997

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 213 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: 256

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: 284

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: 303

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 ...
by elmortero
Thursday 24 August 2017 13:25
Forum: dzVents Lua Framework
Topic: Rain prediction - weather underground
Replies: 6
Views: 473

Re: Rain prediction - weather underground

The Sever Weather Alert part: Create a virtual text sensor (mine is called Weather_Alert) Paste this code just above the last end in the original script. --this is the severe weather alert part local alertswitch = domoticz.devices('Weather_Alert') --this is a Virtual Text Sensor local prevAlert = to...
by elmortero
Thursday 24 August 2017 12:43
Forum: dzVents Lua Framework
Topic: Fetching info from json URL weather underground
Replies: 13
Views: 1011

Re: Fetching info from json URL weather underground

dannybloe wrote:Nothing breaking of course. Just new (cool) stuff.
Related to that, I have a question/request, but will post it in the sneak peek thread. Has to do with my (new) obsession with gathering weather data[emoji1]

[email protected]

by elmortero
Thursday 24 August 2017 12:36
Forum: dzVents Lua Framework
Topic: Fetching info from json URL weather underground
Replies: 13
Views: 1011

Re: Fetching info from json URL weather underground

dannybloe wrote:Glad I was of great help to you :)
Well actually you were, dzVents is great.
In fact: I posted the script because I was migrating them to NextGen.
By the way, will there big (code breaking) changes in 2.3?

[email protected]