Search found 132 matches

by elmortero
Thursday 07 December 2017 16:23
Forum: dzVents Lua Framework
Topic: Error: Multiple items found for xxx (device)
Replies: 2
Views: 150

Re: Error: Multiple items found for xxx (device)

Hi Danny,

With all entries selected I get the same result (which makes sense because only if I would have more than 25 devices that contain salon I would miss some).
Will upgrade to latest Beta so see what I am supposed to be missing.

Thanks for the input.
by elmortero
Wednesday 29 November 2017 13:37
Forum: dzVents Lua Framework
Topic: Error: Multiple items found for xxx (device)
Replies: 2
Views: 150

Error: Multiple items found for xxx (device)

Hi, In my logs I am getting this error: dzVents: Error: Multiple items found for Salon (device). Please make sure your names are unique or use ids instead I know (and have checked) that I do not have multiple devices with the same name. In some way simular, yes. Attached screenshots shows the result...
by elmortero
Wednesday 08 November 2017 14:54
Forum: Other questions and discussions
Topic: Clock/timer device
Replies: 3
Views: 233

Re: Clock/timer device

Maybe you could use to virtual thermostat devices.
There you can use the up/down arrows to set the value and read them from your script.
by elmortero
Monday 30 October 2017 11:43
Forum: Projects on other sites
Topic: Case study using Domoticz
Replies: 3
Views: 579

Re: Case study using Domoticz

Nice project indeed!

How did you define the heat-up rate, and how did you implement that in scripting?
by elmortero
Monday 30 October 2017 10:49
Forum: General Discussion
Topic: Turn screen on android tablet off help.
Replies: 2
Views: 327

Re: Turn screen on android tablet off help.

You will need to install ADB on your domoticz machine, instructions can be found here: https://www.xda-developers.com/install-adb-windows-macos-linux/ Then, from command line and thus from scripts also, you can use the ADB command Keyevents which is described here : https://stackoverflow.com/questio...
by elmortero
Wednesday 25 October 2017 20:21
Forum: Bugs and Problems
Topic: SQL update bug v3.8631
Replies: 16
Views: 763

Re: SQL update bug v3.8631

% sign is also not encoded properly. I would still go for the string.gsub method, but replace "It's" with "It is". That way it's solved and still grammatically correct. The other solution would be to replace "It's" with nothing, but then You get a more telegram-style phrase. I did a simular thing w...
by elmortero
Wednesday 25 October 2017 17:02
Forum: LUA
Topic: Quote of the Day Module
Replies: 2
Views: 327

Re: Quote of the Day Module

Hi emme, I saw you post and for the fun of it I wrote following in dzvents. Instead of creating a file with quotes it gets the quote of the day from http://quotes.rest/ In my example it writes it to a Text sensor but it can of course be used anywhere. local quotefile = '/tmp/quote.json' -- Temporary...
by elmortero
Sunday 22 October 2017 12:33
Forum: Other questions and discussions
Topic: create seperate wind sensors (direction strenght)
Replies: 5
Views: 324

Re: create seperate wind sensors (direction strenght)

Hi, This might be something for you. I don't know about Dashticz as I do not use it. I made following (dzVents) script and created 4 virtual sensors: Beaufort - a custom sensor with Bft as axis Label Wind Condition - a text sensor with the Beaufort description Wind Description - a text sensor that s...
by elmortero
Saturday 14 October 2017 15:49
Forum: Other questions and discussions
Topic: create seperate wind sensors (direction strenght)
Replies: 5
Views: 324

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

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

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

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

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

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

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

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

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

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

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