Search found 11 matches

by McFranky
Friday 16 June 2017 10:56
Forum: LUA
Topic: how to retrieve the historic of a temperature sensor
Replies: 14
Views: 8504

Re: how to retrieve the historic of a temperature sensor

This code work for me. It calculates the average temperature for the last 7 days. local function DeviceUpdate(idx, value1) local cmd = string.format("%d|0|%.2f", idx, value1) --print(cmd) table.insert (commandArray, { ['UpdateDevice'] = cmd } ) end ...
by McFranky
Wednesday 14 June 2017 7:27
Forum: dzVents
Topic: dzVents 2.0 just got integrated into Domoticz (beta v3.8023)
Replies: 103
Views: 16973

Re: dzVents 2.0 just got integrated into Domoticz (beta v3.7968)

I'm running beta 3.7969 and dzVents is not integrated in my system (raspberry 3). The path structure is existing, but in the domoticz settings/others there is no dzVents...

In the events-section there is also no LUA-dzVents...
by McFranky
Tuesday 10 January 2017 7:22
Forum: Other questions and discussions
Topic: Problem with Devolo Thermostat
Replies: 1
Views: 599

Problem with Devolo Thermostat

Hi everyone Since 4 days I have a Problem with an Devolo Thermostat. Everything works ok, only the temperature value is not updatet. The value is correct in the ZWave Operation Panel! ZWaveOP.PNG Sensor.PNG I have discovered a deviation from my other thermostats in the ZWave Operation Panel. There ...
by McFranky
Thursday 24 November 2016 14:22
Forum: PHP and all others
Topic: HTTP/HTTPS Poller: Get variables
Replies: 6
Views: 4336

Re: HTTP/HTTPS Poller: Get variables

OK I got the solution:

Code: Select all

t_from	= domoticz_applyXPath(s,'//weatherdata/forecast/time[contains(@from,'15:00:00')]/@from')
this gets the right variable...

Thanks :D
by McFranky
Thursday 24 November 2016 12:18
Forum: PHP and all others
Topic: HTTP/HTTPS Poller: Get variables
Replies: 6
Views: 4336

Re: HTTP/HTTPS Poller: Get variables

OK. If I try this

Code: Select all

t_from=domoticz_applyXPath(s,'//weatherdata/forecast[contains(@time,'15:00:00')]')
there is no action...

Any ideas?
by McFranky
Thursday 24 November 2016 10:17
Forum: PHP and all others
Topic: HTTP/HTTPS Poller: Get variables
Replies: 6
Views: 4336

Re: HTTP/HTTPS Poller: Get variables

But how this works in LUA?
I don't find any discription for the 'domoticz_applyXPath' command.
by McFranky
Wednesday 23 November 2016 17:25
Forum: PHP and all others
Topic: HTTP/HTTPS Poller: Get variables
Replies: 6
Views: 4336

HTTP/HTTPS Poller: Get variables

Hi I use the HTTP Poller to get a weather forcast from openweathermap like this: URL: http://api.openweathermap.org/data/2.5/forecast?q=Berlin,DE&mode=xml&APPID=xxx&units=metric The answer of this call is: <weatherdata> <location> <name>Berlin</name> <type/> <country>DE</country> <timezone ...
by McFranky
Sunday 16 October 2016 10:27
Forum: Android
Topic: Domoticz app 2.0
Replies: 2380
Views: 618714

Re: Domoticz app 2.0

Whats about a Tasker-Implementation. So you can control switches over Tasker...
by McFranky
Thursday 10 March 2016 12:50
Forum: Utility
Topic: Edit database records
Replies: 4
Views: 3380

Re: Edit database records

OK, it works. I take the chart for the last month...

Thanks for support
by McFranky
Thursday 10 March 2016 12:39
Forum: Utility
Topic: Edit database records
Replies: 4
Views: 3380

Re: Edit database records

OK. I try to click on the bad value with Shift Key in the Graph on 13.Feb. but nothing happens...
DatabaseEdit.JPG
DatabaseEdit.JPG (107.58 KiB) Viewed 3228 times
by McFranky
Thursday 10 March 2016 6:32
Forum: Utility
Topic: Edit database records
Replies: 4
Views: 3380

Edit database records

Is it possible to modify existing database records?
My kw/h counter has an incorrect value is entered and this corrupted me all the statistics. :?
DatabaseRecord.JPG
DatabaseRecord.JPG (75.99 KiB) Viewed 3273 times
Any ideas?

Greeting from Berlin
Frank