Search found 82 matches

by papoo
Monday 17 September 2018 13:30
Forum: dzVents
Topic: Darksky rain forecast
Replies: 0
Views: 221

Darksky rain forecast

This script requires prior registration to the DarkSky API Enter the URL and request a free API key https://darksky.net/dev Add, modify or delete variables proba_pluie_h [] by changing the number (hour) between [] the name "in quotation marks" or the idx without quotes (avoid accents) of the device ...
by papoo
Monday 03 September 2018 21:32
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 9
Views: 613

Re: Monitor Synology NAS with SNMP

script and help update
by papoo
Monday 03 September 2018 21:06
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 9
Views: 613

Re: Monitor Synology NAS with SNMP

comment line 86 level = domoticz.LOG_ERROR, -- Only one level can be active; comment others uncomment line 87 -- level = domoticz.LOG_DEBUG, what the result on your log? OID HD Unit Change OID to .38 on DSM 5.1 or .41 on DSM 6.0+ OID Total space volume in Go Change OID to .38 on DSM 5.1 or .41 on DS...
by papoo
Sunday 02 September 2018 11:23
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 9
Views: 613

Re: Monitor Synology NAS with SNMP

script update
by papoo
Monday 27 August 2018 22:26
Forum: dzVents
Topic: how to Read ContextID and Cookie from http request with dzvents?
Replies: 1
Views: 176

Re: how to Read ContextID and Cookie from http request with dzvents?

i've test this but not work return { active = true, on = { timer = { 'every minute' }, httpResponses = { 'loggedin' , 'data' }, }, execute = function(domoticz, item) if (item.isTimer) then domoticz.openURL({ url = 'http://192.168.1.1/ws', --Change IP to your livebox settings method = 'POST', postDat...
by papoo
Monday 27 August 2018 19:17
Forum: dzVents
Topic: how to Read ContextID and Cookie from http request with dzvents?
Replies: 1
Views: 176

how to Read ContextID and Cookie from http request with dzvents?

hello, i want to replace Curl request like this curl -s -o "/home/pi/domoticz/scripts/lua/ContextID.txt" -X POST -c "/home/pi/domoticz/scripts/lua/cookie.txt" -H "Content-Type: application/x-sah-ws-4-call+json" -H "Authorization: X-Sah-Login" -d "{\"service\":\"sah.Device.Information\",\"method\":\"...
by papoo
Sunday 26 August 2018 14:38
Forum: dzVents
Topic: Monitor Synology NAS with SNMP
Replies: 9
Views: 613

Monitor Synology NAS with SNMP

this script is not necessarily successful, do not hesitate to propose improvements, optimizations 2018-08-24 18_31_58-Domoticz.png For this script to work you need to enable SNMP on your synology NAS and install SNMP on your Raspberry Pi Enable SNMP on your synology NAS Go toMain Menu>Control Panel ...
by papoo
Monday 20 August 2018 22:27
Forum: Bugs and Problems
Topic: Dummy hadware crash domoticz
Replies: 0
Views: 125

Dummy hadware crash domoticz

Domoticz Version: 4.9700 raspberry pi3 and 3b debian stretch Hello y update my 3.9443 dz/jessie system with debian stretch and domoticz 4.9700 i test on two raspberry : one update jessie with stretch another with a new installation of stretch and a new installation of domoticz when i want to restore...
by papoo
Friday 10 August 2018 13:52
Forum: dzVents
Topic: Presence detection using UniFi Controller and DzVents
Replies: 5
Views: 760

Re: Presence detection using UniFi Controller and DzVents

Thank you
pity that my router is not compatible
by papoo
Sunday 29 July 2018 19:16
Forum: dzVents
Topic: OAUTH 2.0 nokia/withing API Access?
Replies: 0
Views: 196

OAUTH 2.0 nokia/withing API Access?

is it possible to access in DZvents at a API with OAUTH 2.0 ?
OAUTH 1.0 is deprecated, (End in november 2018) and scripts python for this API are not update anymore.
perhaps DZvents script it feasible?
http://developer.health.nokia.com/oauth2/#tag/OAuth-2.0
by papoo
Monday 23 July 2018 21:43
Forum: Examples & Solutions
Topic: DzVents get public holiday info from https://kayaposoft.com/enrico
Replies: 9
Views: 758

Re: DzVents get public holiday info from https://kayaposoft.com/enrico

Thanks great job for those who want the messages and the date in french --[[ getHolidays.lua for [ dzVents >= 2.4 ] Start with creating a string type uservariable in domoticz (SETUP] ==>> [MORE OPTIONS] ==>> [uservariableS] ==>> [ADD] and put the name in the appropriate place between the lines start...
by papoo
Monday 11 June 2018 21:24
Forum: dzVents
Topic: last notification in dzVents persistent data?
Replies: 5
Views: 646

Re: last notification in dzVents persistent data?

thanks waaren.
I test timedelay, it works fine on my script
now i'm going to test conditionDeviceState
by papoo
Saturday 09 June 2018 21:39
Forum: dzVents
Topic: last notification in dzVents persistent data?
Replies: 5
Views: 646

last notification in dzVents persistent data?

hi all
how is it possible to set a delay between two notifications from the same script?

not to receive a notification every minute as long as condition not changed

is it possible with the dzVents persistent data?
by papoo
Thursday 24 May 2018 21:32
Forum: Examples & Solutions
Topic: Sunscreen script (feedback needed)
Replies: 11
Views: 1719

Re: Sunscreen script (feedback needed)

place the function library into: /home/pi/domoticz/scripts/lua/ -- MyFunc -- -- Function library -- -- -- -- Release notes: -- -- 2016-06-01 First release -- -------------------------------------------------------------------------------- MyScript = 'MyFunc' -- MyFuncVersion = 100 -- MyFuncVersion_T...
by papoo
Thursday 17 May 2018 18:47
Forum: dzVents
Topic: how to pass a table to the notify function?
Replies: 3
Views: 467

Re: how to pass a table to the notify function?

thanks for this
by papoo
Sunday 13 May 2018 20:02
Forum: dzVents
Topic: how to pass a table to the notify function?
Replies: 3
Views: 467

how to pass a table to the notify function?

hi all, when i do this domoticz.notify(' subject','Message',domoticz.PRIORITY_EMERGENCY, '','',{domoticz.NSS_PUSHBULLET, domoticz.NSS_HTTP}) the notification work correctly, but when i want to pass ta table variable in the fonction like local subsystem = {domoticz.NSS_PUSHBULLET, domoticz.NSS_HTTP} ...
by papoo
Wednesday 09 May 2018 14:25
Forum: dzVents
Topic: how to create a unique parameters table?
Replies: 4
Views: 508

Re: how to create a unique parameters table?

I misunderstood. I want to make it easier to declare parameters and devices by only one time in a single table like local parametres = { ['device_1 act'] = { ['TimeOut'] = 6, ['Min'] = 4, ['Max'] = 15, ['Notify'] = 'Yes', ['SubSystem'] = 'domoticz.NSS_HTTP'}, ['device_2 act'] = { ['TimeOut'] = 6, ['...
by papoo
Tuesday 08 May 2018 18:30
Forum: dzVents
Topic: how to create a unique parameters table?
Replies: 4
Views: 508

how to create a unique parameters table?

Hello, in a DZvents script I wanted to simplify my declaration of the devices and their parameters i do that : local DEVICES = { ['device_1'] = 'device_1 Act', ['device_2'] = 'device_2 Act' } local TimeOut = { ['device_1 Act'] = 6, ['device_2 Act'] = 10 } local Min = { ['device_1 Act'] = 4, ['device...
by papoo
Monday 07 May 2018 9:54
Forum: Examples & Solutions
Topic: script: 0-energy-turn-device-off
Replies: 1
Views: 710

Re: script: 0-energy-turn-device-off

thanks
by papoo
Saturday 28 April 2018 17:09
Forum: Bugs and Problems
Topic: html code like font color don't work anymore
Replies: 12
Views: 1069

Re: html code like font color don't work anymore

dannybloe wrote:
Friday 27 April 2018 14:47
Haha. Well html is just not going to work anymore in the logs. Well... :mrgreen:

will this feature can be implemented with a tag that can only be interpreted by the logs (for example)?