Search found 6 matches

by Supertramp4
Saturday 20 January 2024 9:28
Forum: General Discussion
Topic: New compare graphs
Replies: 14
Views: 2352

Re: New compare graphs

Hi,
So back to my original question, where in the code would I need to change in order to perhaps enable the selection box that temperature has, but for any sensor type, so that min/max/Ave can be displayed on the compare graph?
by Supertramp4
Friday 19 January 2024 14:10
Forum: General Discussion
Topic: New compare graphs
Replies: 14
Views: 2352

Re: New compare graphs

Hi Waltervl,
Yes that's what I'm referring to. I have inputs coming from solar panels via mqtt and for some of the compare graphs it would make more sense for it to use the MAX data.
I have a full year of data so no shortage there.
Thanks
by Supertramp4
Friday 19 January 2024 12:33
Forum: General Discussion
Topic: New compare graphs
Replies: 14
Views: 2352

New compare graphs

Hi all,
Really like the new compare graphs - thanks, however I believe it is displaying the average of the 'average' dataset?

Is it possible to me to change this to display the average of the 'maximum' for the monthly view?
by Supertramp4
Wednesday 28 December 2022 20:08
Forum: Utility
Topic: Send and receive from rs232 serial port
Replies: 1
Views: 544

Send and receive from rs232 serial port

Hi, I have a conversol solar inverter, which only communicates via rs232. I would like to get the data into domoticz, but need a few pointers to get me started. Could someone suggest the best way of achieving the following:- Every 10 seconds -ttyUSB0 ( 2400,N,8,1) -Send ascii string of "QPIGS" -wait ...
by Supertramp4
Wednesday 30 March 2022 22:35
Forum: dzVents
Topic: Extract value from json response
Replies: 5
Views: 1579

Re: Extract value from json response

Hi all, thanks for your input.
@doler, the code worked, but after @waltervl input, I played a bit more, and discovered that was the way to go, and now have something working.
by Supertramp4
Saturday 26 March 2022 10:49
Forum: dzVents
Topic: Extract value from json response
Replies: 5
Views: 1579

Extract value from json response

Hi, I am a newbie to domoticz, and have been experimenting with lua/dzvents scripting, and need a little help My script calls dz.openurl with a callback /json.htm?type=devices&rid=2, which successfully returns values, ie "Data" : "309 Watt", "LastUpdate" : "2022-03-25 19:05:43", My question is after ...