Search found 85 matches

by papoo
Sunday 02 December 2018 23:34
Forum: dzVents
Topic: Dzvent push data to influxdb
Replies: 4
Views: 211

Re: Dzvent push data to influxdb

my little script for dummy counters data (this counters don't works with domoticz export data) -- v1.00 Auteur papoo local influxdbUrl = 'http://127.0.0.1' local influxdbPort = '8086' local BDD = 'domoticz' return { active = true, on = { devices = { 'Compteur*'}}, logging = { level = domoticz.LOG_DE...
by papoo
Sunday 02 December 2018 23:28
Forum: dzVents
Topic: Dzvent push data to influxdb
Replies: 4
Views: 211

Re: Dzvent push data to influxdb

influxdb request don't work's with space in name, example : curl -i -XPOST 'http://127.0.0.1:8086/write?db=domoticz' --data-binary 'Usage,idx=197,name='Compteur Prises' value=35618.144' don't work curl -i -XPOST 'http://127.0.0.1:8086/write?db=domoticz' --data-binary 'Usage,idx=197,name='Compteur-Pr...
by papoo
Friday 19 October 2018 22:05
Forum: Python
Topic: Python-Telegram-Bot
Replies: 1
Views: 654

Re: Python-Telegram-Bot

do you use other scripts that can help us get started?
by papoo
Monday 17 September 2018 13:30
Forum: dzVents
Topic: Darksky rain forecast
Replies: 0
Views: 510

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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, ['...