Search found 61 matches

by YellowSky
Monday 13 August 2018 17:54
Forum: LUA
Topic: [Solved] How to treat nil value returned by otherdevices_svalues
Replies: 3
Views: 139

Re: How to trat nil value returned by otherdevices_svalues

Thank you for your suggestion.
by YellowSky
Friday 10 August 2018 7:29
Forum: LUA
Topic: [Solved] How to treat nil value returned by otherdevices_svalues
Replies: 3
Views: 139

[Solved] How to treat nil value returned by otherdevices_svalues

Hi everyone, in my lua script i use this command to recover the temperature and the humidity of a DHT sensor. line 99 T, RH = otherdevices_svalues['Kitchen']:match("([^;]+);([^;]+)") However i would like to treat this error i receive when the sensor is disconnect: Error: EventSystem: in domoticz/scr...
by YellowSky
Wednesday 08 August 2018 7:39
Forum: Other questions and discussions
Topic: Direct link to show log graphics?
Replies: 1
Views: 147

Direct link to show log graphics?

Hi everyone, i wonder if there is a way to have an direct access to the log graphics of a sensor. In my case, i have a pi and i want to publish one of these graphics directly on a web page (web server is also on my pi). I try to find a solution on this forum but i did not find anything (perhaps bad ...
by YellowSky
Monday 21 May 2018 8:18
Forum: General Discussion
Topic: Weather Underground API key not available anymore...
Replies: 1
Views: 633

Weather Underground API key not available anymore...

Hi everyone,
Just to inform that weather underground don(t provide any api key for developpers:
https://www.wunderground.com/weather/api/
Therefore the wiki should be adapted.
On the other hand, i think another free app should be included in domoticz.
by YellowSky
Monday 30 April 2018 20:40
Forum: Other questions and discussions
Topic: Direct link authentication
Replies: 2
Views: 560

Re: Direct link authentication

No, sorry, i finally program a webpage in php which does that...
by YellowSky
Saturday 28 April 2018 8:19
Forum: General Discussion
Topic: What is the best way to scheldule an event with conditions
Replies: 7
Views: 650

Re: What is the best way to scheldule an event with conditions

And concerning the use of memory and CPU?
Thank you
by YellowSky
Tuesday 24 April 2018 11:11
Forum: General Discussion
Topic: What is the best way to scheldule an event with conditions
Replies: 7
Views: 650

What is the best way to scheldule an event with conditions

Hi everyone, i wonder what is the best way to schedule an event (f.e. the switch state of a setpoint or a switch) in function of other values (temperature, other switch vallue...) By the best way, i mean the lowest cpu and ram consumptions. Indeed, for this moment i list several possibilities to per...
by YellowSky
Monday 12 March 2018 6:37
Forum: Other questions and discussions
Topic: json.html structure
Replies: 2
Views: 305

Re: json.htlm structure

Thank you for this answer.
So if i send a non expected nvalue, there is no problem?
by YellowSky
Saturday 10 March 2018 16:55
Forum: Other questions and discussions
Topic: json.html structure
Replies: 2
Views: 305

json.html structure

Hi everyone, i have a question about json structure. In the wiki some of the sensor does not require nvalue=0 in the url. For example the counter require: /json.htm?type=command¶m=udevice&idx=idx&svalue=COUNTER But if i try: /json.htm?type=command¶m=udevice&idx=idx&svalue=COUNTER&nvalue=0 Th...
by YellowSky
Friday 09 March 2018 6:20
Forum: Blockly
Topic: Blocky time logic issue
Replies: 2
Views: 722

Re: Blocky time logic issue

Indeed, it is the trick!
Thankk you
by YellowSky
Thursday 08 March 2018 8:24
Forum: Blockly
Topic: Blocky time logic issue
Replies: 2
Views: 722

Blocky time logic issue

Hi everyone, I would like to perform an action at a fixed time depending on some others variables (so a common timer can't be used). This is the blocky event: http://www.sartor.be/hbgm/Test_blocky.png But it does not work However, if i replace the = by > 6h53, it works (but it is not the wished beha...
by YellowSky
Monday 15 January 2018 16:14
Forum: Other questions and discussions
Topic: Is there any easy way to use timers with conditions?
Replies: 3
Views: 347

Re: Is there any easy way to use timers with conditions?

Thank you for your suggestions.
I forget to mention the first solution you have proposed.

So there is not easier solution (i find these solutions are not quick to implement compared to the timers but i understand the limitations).

Once again thank you for these suggestions.
by YellowSky
Thursday 11 January 2018 18:51
Forum: Other questions and discussions
Topic: Is there any easy way to use timers with conditions?
Replies: 3
Views: 347

Is there any easy way to use timers with conditions?

Hi everyone, i found the timers extremely useful. However, if i want to use them with a condition it becomes some complicated. A exemple a timer lauch the switch at 16:00 only if the temperature x is over 15°C My current solution - I can use cron to launch a python script with the condition before u...
by YellowSky
Saturday 07 October 2017 12:57
Forum: MySensors
Topic: Devices are not created
Replies: 1
Views: 1034

Devices are not created

Hi everyone, i use a serialgateway by usb. It is recognized. On another hand, i use an other board to send to the gateway some data (here temp and humidity) The node and its children are recognized (with good values). https://img11.hostingpics.net/pics/698448Mysensors.png I read on the forum, the de...
by YellowSky
Tuesday 03 October 2017 13:18
Forum: Python
Topic: Where are store Domoticz and DomoticzEvents librairies
Replies: 2
Views: 618

Re: Where are store Domoticz and DomoticzEvents librairies

Thank you for the answer.
But i don't understand why in a python script we use

Code: Select all

import Domoticz
Normally it doesn't fit a regular librairy (a file .py)?

Thank you
by YellowSky
Sunday 01 October 2017 21:47
Forum: Python
Topic: Where are store Domoticz and DomoticzEvents librairies
Replies: 2
Views: 618

Where are store Domoticz and DomoticzEvents librairies

Hi,
i would like to know where are the DomoticzEvents and Domoticz librairies which are used when some python script or plugin are launched.
The objective is to understand the code besides.
Thank you
by YellowSky
Sunday 01 October 2017 21:22
Forum: Bugs and Problems
Topic: BatteryLevel not updated for a virtual switch
Replies: 1
Views: 334

BatteryLevel not updated for a virtual switch

Hi everyone, according to the Wiki, updating the battery level of a device is available but when i use this: http://192.168.1.132:8080/json.htm?type=command¶m=switchlight&idx=150&switchcmd=Set%20Level&level=10&rssi=12&battery=10 The json output of: http://192.168.1.132:8080/json.htm?type=devices...
by YellowSky
Sunday 17 September 2017 17:18
Forum: Python
Topic: Looking after beta version compile on RPi Jessie
Replies: 5
Views: 835

Re: Looking after beta version compile on RPi Jessie

Unfortenately not. Indeed i would like to test the RFPlayer plugin but it requires a beta version to work. Currently i try to make domoticz from source (i did it) but i think i make smt wrong in the cmakelists while i have this in the log "2017-09-17 12:19:26.780 PluginSystem: 'RFP' Registration ign...
by YellowSky
Sunday 17 September 2017 9:22
Forum: Python
Topic: Looking after beta version compile on RPi Jessie
Replies: 5
Views: 835

Re: Looking after beta version compile on RPi Jessie

Nobody has compiled this on Jessie?
:(