Search found 30 matches

by steef27
Sunday 21 January 2024 13:11
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Upgraded to 2024,1 and rollback needed
Replies: 23
Views: 11389

Re: Upgraded to 2024,1 and rollback needed

Please could anyone help me? I am trying to perform a rollback my pi zero w to 2023.2.
The whole compiling thing is way to complex. Could anyone share the compiled version?
by steef27
Wednesday 26 July 2023 10:27
Forum: Python
Topic: Presence detection error since 2023.2
Replies: 1
Views: 379

Presence detection error since 2023.2

Hi guys, Recently I installed 2023.2. From that moment on, the presence detection (Check_device_online.py) gives an error: 2023/07/26 10:25:07- pid file exists 2023/07/26 10:25:07- Seems to be an old file, ignoring. 2023/07/26 10:25:07- script started. Traceback (most recent call last): File "/home ...
by steef27
Sunday 03 October 2021 14:21
Forum: dzVents
Topic: Retrieve and save data from json api [Solved]
Replies: 4
Views: 1379

Re: Retrieve and save data from json api [Solved]

Thanks, that works perfect! :D
by steef27
Sunday 03 October 2021 11:13
Forum: dzVents
Topic: Retrieve and save data from json api [Solved]
Replies: 4
Views: 1379

Re: Retrieve and save data from json api [Solved]

ok, good suggestion!
How do I retrieve and save data behind "05. price"?
I am not very experienced with this format.
by steef27
Friday 01 October 2021 9:43
Forum: dzVents
Topic: Retrieve and save data from json api [Solved]
Replies: 4
Views: 1379

Retrieve and save data from json api [Solved]

Hi, I would like to retrieve the price of a share every day and save it in a custom sensor. I get the price with a json api call. I just can't manage to save the value after "02. open". Does anyone have an idea? json = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua")() -- For Linux -- API call ...
by steef27
Thursday 29 April 2021 11:28
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

I've been running the script for some time now and I noticed that "sameDayLastYear" is not a year ago today, but a year ago tomorrow.
by steef27
Wednesday 27 January 2021 9:25
Forum: Cameras
Topic: Using stream video camera on my own dashboard
Replies: 1
Views: 751

Using stream video camera on my own dashboard

In the camera configuration section you can click on then stream video icon to see a video stream of the selected camera.
I would like to use this on my Frontpage, but I can not discover how I can use this link (javascript) on my own Domoticz dashboard.
Anyone a idea?
by steef27
Thursday 17 December 2020 8:50
Forum: dzVents
Topic: Reset actual power pv panels
Replies: 3
Views: 528

Re: Reset actual power pv panels

ah .... dz.devices(pv).updateElectricity(0, dz.devices(pv).WhTotal)
by steef27
Thursday 17 December 2020 8:44
Forum: dzVents
Topic: Reset actual power pv panels
Replies: 3
Views: 528

Re: Reset actual power pv panels

attempt to call a nil value (field 'updateElekricity')
by steef27
Wednesday 16 December 2020 19:54
Forum: Design, usability and languages
Topic: Play sound when switch is on (using Frontpage)
Replies: 1
Views: 1210

Re: Play sound when switch is on (using Frontpage)

Issue solved! Put the code below in your frontpage.js if(item.idx == idx_alarm && vdata == 'On'){ switchclick = 'onclick="SwitchToggle('+item.idx+', \'Off\');lightbox_open(\'switch\', '+switch_off_timeout+', '+txt_switch_off+')"'; vdata=new String(vdata).replace( "On","<img src=icons/png/caution.png ...
by steef27
Wednesday 16 December 2020 19:50
Forum: dzVents
Topic: Reset actual power pv panels
Replies: 3
Views: 528

Reset actual power pv panels

Hi Guys, I connected my pv system (SolarEdge) to Domoticz, but sometimes the API connection gets lost. I wrote scome scripts to connect my room lights te the actual power generation. When it is dark (no actual generation) my lights will switch on. In cases the actual power generation will not be ...
by steef27
Friday 17 July 2020 9:14
Forum: Design, usability and languages
Topic: Play sound when switch is on (using Frontpage)
Replies: 1
Views: 1210

Play sound when switch is on (using Frontpage)

Hi there, I'm using Frontpage (which works very nice) and I would like to play a sound when for example a motion sensor is set On. So when I open Frontpage in the browser, the sound plays on the affected device. It should be somewhere in the frontpage.js file I think. if(item.idx == idx_motion ...
by steef27
Monday 10 February 2020 15:54
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

thanks, great!
by steef27
Friday 07 February 2020 20:15
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

--[[ this dzVents script collects the current energy return / usage and gas usage to enable comparing with Same date last year figure ]]-- local scriptVar = 'gasHistory' return { on = { --devices = { 4484, }, timer = { 'every 5 minutes' }, httpResponses = { scriptVar }, }, --logging = { level ...
by steef27
Monday 03 February 2020 11:28
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

Instead of using one single textsensor, i would like to store each value in a separate custom sensor.
I would like to split the text values.
by steef27
Monday 27 January 2020 11:11
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

Can I also use multiple custom sensors instead of 1 text sensor with all values?
by steef27
Monday 27 January 2020 10:55
Forum: LUA
Topic: Retrieve total amount of energy production
Replies: 3
Views: 483

Re: Retrieve total amount of energy production

2020-01-27 10:53:00.724 Status: dzVents: > ruleIsAtNight() 2020-01-27 10:53:00.724 Status: dzVents: > hoursAgo: 0 2020-01-27 10:53:00.724 Status: dzVents: > raw: 2020-01-27 10:52:21 2020-01-27 10:53:00.724 Status: dzVents: > isdst: false 2020-01-27 10:53:00.724 Status: dzVents: > switchType: X10 ...
by steef27
Thursday 23 January 2020 16:37
Forum: LUA
Topic: Retrieve total amount of energy production
Replies: 3
Views: 483

Retrieve total amount of energy production

Hi guys, I am using the Solar edge plugin to capture data from my PV system. So far allright, but I want to display the total amount of kWh from installation date till now. This amount is visible in the JSON file (Data: "10730.700 kWh") , but not in Domoticz. Is it possible to extract this "Data ...
by steef27
Thursday 23 January 2020 16:10
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

thanks, this is perfect!
by steef27
Monday 09 December 2019 9:26
Forum: LUA
Topic: get a counter value of a specific date
Replies: 17
Views: 3227

Re: get a counter value of a specific date

I want to calculate the annual usage by comparing the current position with the position 365 days ago. Every day.