Search found 27 matches

by Wilop91
Tuesday 12 November 2024 22:00
Forum: Other questions and discussions
Topic: How to merge historical data of 2 devices
Replies: 4
Views: 1303

Re: How to merge historical data of 2 devices

Hello waltervl Yes it works!!! I will check tomorrow morning more in detail because I'm exporting every day my data into Excel, but the graph seems OK (I have all my historical data in one graph) :D PS: you are correct - in french the buttom is "Remplacer" (in my previous post I made a mistake in ...
by Wilop91
Tuesday 12 November 2024 17:32
Forum: Other questions and discussions
Topic: How to merge historical data of 2 devices
Replies: 4
Views: 1303

Re: How to merge historical data of 2 devices

hello waltervl Thanks for your reply. I have seen the section "Replace Device" but I'm confused because my UI is not as documented: Next press the Edit button on the Old device, select replace and select the new Device. (In this case the devices called ‘New UV Meter’). My UI is in french, so in the C ...
by Wilop91
Tuesday 12 November 2024 9:10
Forum: Other questions and discussions
Topic: How to merge historical data of 2 devices
Replies: 4
Views: 1303

How to merge historical data of 2 devices

Hello I was using the "Open Weather Map" service to record the temperature of the city where I live. However this "free" service stopped on last october 15 2024. On 17th october I created a new weather hardware using this time as source the "Nordic Meteo Service" and disabled "Open Weather Map". So ...
by Wilop91
Wednesday 24 July 2024 10:29
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello Janpep
Yes that syntax also works!
Thanks a lot.
Willy
by Wilop91
Tuesday 23 July 2024 9:44
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello Kedi and Janpep I got it working! These 2 particular fields are "tables" and need to be logged as tables while I was logging it as a simple variable which was giving NIL This works: local inDomain = dz.utils.fromXML(item.data)['Publication_MarketDocument']['TimeSeries']['in_Domain.mRID'] for i ...
by Wilop91
Monday 22 July 2024 22:44
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello Thanks for your reply Your suggestion gives the following error: 2024-07-22 22:26:01.633 Error: dzVents: RunAllScripts: An error occurred when calling event handler RunAllScripts 2024-07-22 22:26:01.633 Error: dzVents: RunAllScripts: ...ticz/scripts/dzVents/generated_scripts/RunAllScripts.lua ...
by Wilop91
Monday 22 July 2024 21:24
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello The document I receive is in "table" format. I dumped the table and extracted the 2 fields (otherwise the log is too long) 2024-07-22 21:09:01.635 dzVents: in_Domain.mRID: 2024-07-22 21:09:01.635 dzVents: 1: 10YFR-RTE------C 2024-07-22 21:09:01.635 dzVents: _attr: 2024-07-22 21:09:01.635 ...
by Wilop91
Monday 22 July 2024 9:43
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello First of all thanks for your replies. I need to clarify a bit more to be sure we have the same understanding I lauch an URL with this syntax dz.openURL({url = EUurl, method = 'GET', callback = 'EUborderFlows'} The URL is something I can view in my browser, and this is what I enclosed in my ...
by Wilop91
Monday 22 July 2024 0:03
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Re: Howto extract Domain name from an ENTSOE market document

Hello janpep Thanks a lot for your reply. Unfortunately this did not work (I tried all sorts of combinations) When I use "pairs" to list all fields under Timeseries I get this 2024-07-21 14:30:01.923 dzVents: RunAllScripts: My responseKey = mRID 2024-07-21 14:30:01.922 dzVents: RunAllScripts: My ...
by Wilop91
Sunday 21 July 2024 20:19
Forum: dzVents
Topic: Howto extract Domain name from an ENTSOE market document
Replies: 15
Views: 1723

Howto extract Domain name from an ENTSOE market document

Hello I wrote several scripts to retrieve data from the ENTSOE website. Now I'm a little bit more familiar with LUA and DZVENTS, I'm trying to improve my scripts. Below is an example of an XML document with the Border Flows (in MW) between France and Italie From this document I would lile to extract ...
by Wilop91
Friday 12 April 2024 9:50
Forum: dzVents
Topic: How to use PAIRS with ENTSOE multiple Timeseries
Replies: 2
Views: 417

Re: How to use PAIRS with ENTSOE multiple Timeseries

Hello waltervl, thanks for your reply. Actually I replaced PAIRS by this code idxMax = 0 for myKey, myValue in next, (item.xml.Publication_MarketDocument) do if (myKey == "TimeSeries") then idxMax = idxMax + 1 end end This seems to work but still when processing the Timeseries I need to do this: if ...
by Wilop91
Thursday 11 April 2024 10:30
Forum: dzVents
Topic: How to use PAIRS with ENTSOE multiple Timeseries
Replies: 2
Views: 417

How to use PAIRS with ENTSOE multiple Timeseries

Hello This topic is related with the following topic I created earlier: https://www.domoticz.com/forum/viewtopic.php?t=42104 I had to write 2 different dzVents scripts: - one when ENTSOE returns a set of data containing a single Timeserie - one when ENTSOE returns a set of data containing multiple ...
by Wilop91
Thursday 04 April 2024 12:14
Forum: Dashticz
Topic: Dashticz stacked view of multiple devices.
Replies: 4
Views: 1517

Re: Dashticz stacked view of multiple devices.

Yes that made it work!
Thanks HansieNL
by Wilop91
Thursday 04 April 2024 11:22
Forum: Dashticz
Topic: Dashticz stacked view of multiple devices.
Replies: 4
Views: 1517

Re: Dashticz stacked view of multiple devices.

Hello Lokonli Thanks for your help. I got it working! https://iili.io/JNE3XJn.md.png I still have a small question: at the top of the graph is written "EUbiomassGen =" which is the name of the first Device in Domoticz. How can I remove this? Or put some other meaningfull text? Here is my config.js ...
by Wilop91
Wednesday 03 April 2024 20:31
Forum: dzVents
Topic: How to retrieve ENTSOE electrical consumption of France?
Replies: 26
Views: 1764

Re: How to retrieve ENTSOE electrical consumption of France?

I could complete my script after having solved a Domoticz crash:
https://www.domoticz.com/forum/viewtopic.php?t=42176
by Wilop91
Wednesday 03 April 2024 12:41
Forum: Dashticz
Topic: Dashticz stacked view of multiple devices.
Replies: 4
Views: 1517

Dashticz stacked view of multiple devices.

Hello My script is running fine, so for the time being I will keep it like that. I can view my 10 devices in Domoticz where I can see the hourly values of the last 7 days, as well as daily values of the last week, the last month and the last year Now I would like to see all my 10 devices in one ...
by Wilop91
Friday 08 March 2024 13:17
Forum: dzVents
Topic: How to retrieve ENTSOE electrical consumption of France?
Replies: 26
Views: 1764

Re: How to retrieve ENTSOE electrical consumption of France?

Hello willemd Thanks for your reply I could create the devices for each production type creating a hardware as "dummy" and each device as "counter" But in your script you have also a device called idxCurrentHourIndicator. How did you create this device? PS: for the time being I want to run the ...
by Wilop91
Friday 08 March 2024 10:18
Forum: dzVents
Topic: How to retrieve ENTSOE electrical consumption of France?
Replies: 26
Views: 1764

Re: How to retrieve ENTSOE electrical consumption of France?

Hello willemd Thanks for you reply. I will have a look into later - for the time being I'm trying to adapt your script to retrieve the data for 2 or 3 production types for which I'm sure there are 24 values. This will take some time because of my limited skills.... Btw I have some very basic ...
by Wilop91
Thursday 07 March 2024 10:31
Forum: dzVents
Topic: How to retrieve ENTSOE electrical consumption of France?
Replies: 26
Views: 1764

Re: How to retrieve ENTSOE electrical consumption of France?

And I agree, if you don't know the number of data values for a production type, then you can't use the for-loop with fixed 24 data points. I have not figured out a way to loop through a JSON or XML data set in dzVents with variable number of data points. I would expect the possibility exists since ...
by Wilop91
Wednesday 06 March 2024 23:05
Forum: dzVents
Topic: How to retrieve ENTSOE electrical consumption of France?
Replies: 26
Views: 1764

Re: How to retrieve ENTSOE electrical consumption of France?

What is the purpose? Plans for any further processing? Just out of interest, for looking at the graph? I dont have a special interest. Its rather a challenge to see what I can achieve with Domoticz. Till now I integrated two plugins in my Domoticz which were "ready for use". I mainly want to ...