multiple temperature sensors in one graph
Moderators: leecollings, remb0
-
- Posts: 6
- Joined: Friday 18 December 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2020.2
- Location: Friesland
- Contact:
multiple temperature sensors in one graph
Is it possible to always show multiple temperature sensors in one graph?
I have several temperature sensors and wants to make clear map
I have several temperature sensors and wants to make clear map
1x raspberry pi 3b+, 1x arduino mega rflink print from nodo-shop
1x P1 Smart Meter Energy, 1x DIY S0-pulsecounter(Arduino based)
https://www.huizebruin.nl ( Dutch blog from me about domoticz an other stuff)
1x P1 Smart Meter Energy, 1x DIY S0-pulsecounter(Arduino based)
https://www.huizebruin.nl ( Dutch blog from me about domoticz an other stuff)
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
This is something that's on a lot of people's wishlist for quite some time now, including mine. Not only to be able to combine temperature sensors into one chart, but also utility, switch and other devices. For instance, combine thermostat setpoints with actual room temperatures and cv control, solar energy generation vs energy consumption, outside temperture vs gas usage, etc. Lots of very useful use cases.
I've been working on something, but unfortunately it is far from being ready yet.
I've been working on something, but unfortunately it is far from being ready yet.
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
Something like that, only from within Domoticz Like this.
- Attachments
-
- 3.jpg (181.96 KiB) Viewed 8360 times
-
- 2.jpg (387.79 KiB) Viewed 8360 times
-
- 1.jpg (389.54 KiB) Viewed 8360 times
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
And as the original poster requested; something like this.
- Attachments
-
- 4.jpg (194.65 KiB) Viewed 8354 times
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
-
- Posts: 74
- Joined: Tuesday 07 April 2015 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8872
- Location: Heerhugowaard, The Netherlands
- Contact:
Re: multiple temperature sensors in one graph
@bobkersten
How do you get the chart menu option?
How do you get the chart menu option?
Pi 2 - Pi 1 - Razzbery 2.0 - Fibaro FGD-211 - Fibaro FGD-212 - Fibaro FGRGBWM-441 (RGBW Module) - Fibaro FGBS321 (Universal Switch) - FGWPF-102 - TBK Home TZ67-G - Synology DS1515+ - Esp Easy (with wemos D1 mini)
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
It's something I've been working on myself, but like I said, it isn't ready yet.mischa wrote:How do you get the chart menu option?
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
-
- Posts: 6
- Joined: Friday 18 December 2015 21:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2020.2
- Location: Friesland
- Contact:
Re: multiple temperature sensors in one graph
yes like that.
1x raspberry pi 3b+, 1x arduino mega rflink print from nodo-shop
1x P1 Smart Meter Energy, 1x DIY S0-pulsecounter(Arduino based)
https://www.huizebruin.nl ( Dutch blog from me about domoticz an other stuff)
1x P1 Smart Meter Energy, 1x DIY S0-pulsecounter(Arduino based)
https://www.huizebruin.nl ( Dutch blog from me about domoticz an other stuff)
-
- Posts: 249
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: multiple temperature sensors in one graph
Looks very nice,
I want that too
How did it ?
I want that too
How did it ?
Re: multiple temperature sensors in one graph
@bobkersten : it's exactly the missing part of domoticz ! (and why I'm looking for another software)
It's not ready but can we help you to test/improve your work ?
It's not ready but can we help you to test/improve your work ?
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: multiple temperature sensors in one graph
Can be mistaken, but Domoticz release V3.5864 (and even some earlier versions) already has some comparable capability under the tab Temperature.
The following screenshots (with Dutch language) show a screencut for my configuration for the location of the selection key, and an example picture with a combination graph for some of my thermometers.
Bob,
Has your effort a link with this functionality?
The following screenshots (with Dutch language) show a screencut for my configuration for the location of the selection key, and an example picture with a combination graph for some of my thermometers.
Bob,
Has your effort a link with this functionality?
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 74
- Joined: Tuesday 07 April 2015 20:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8872
- Location: Heerhugowaard, The Netherlands
- Contact:
Re: multiple temperature sensors in one graph
True, only for temperature sensors not for utility sensors like electrical consumption or sensors from your solar installation.
Pi 2 - Pi 1 - Razzbery 2.0 - Fibaro FGD-211 - Fibaro FGD-212 - Fibaro FGRGBWM-441 (RGBW Module) - Fibaro FGBS321 (Universal Switch) - FGWPF-102 - TBK Home TZ67-G - Synology DS1515+ - Esp Easy (with wemos D1 mini)
-
- Posts: 843
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: multiple temperature sensors in one graph
Apparently several people thinking along the same lines at the same time .....
The first graph in Bob's message (= 3.jpg) already deals with Power Graphs:
apparently he already has the basics available for wider coverage with such graphs.
See also http://www.domoticz.com/forum/viewtopic ... 80#p100587
The first graph in Bob's message (= 3.jpg) already deals with Power Graphs:
apparently he already has the basics available for wider coverage with such graphs.
See also http://www.domoticz.com/forum/viewtopic ... 80#p100587
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Re: multiple temperature sensors in one graph
Only for temperature, not possible to save several config, no refresh, ...Toulon7559 wrote:Can be mistaken, but Domoticz release V3.5864 (and even some earlier versions) already has some comparable capability under the tab Temperature.
For exeample, i would show in one graph my temperature regulation :
* room temperature / ext temperature
* setpoint (depends on hours/day)
* state of electric heater
* power consumption
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
As I've mentioned before, it's far from ready yet but I've put my progress in a branch in my own fork of domoticz. It can be found here:
https://github.com/bobkersten/domoticz.git
And the branch is not surprisingly called "custom_charts". As of now only temperature, setpoint and a few electrical devices are working. The thing I ran into was the fact that the retrieval of chart data is kind of messy right now and I'd like to clean that up first so that I can use it for these charts as well. Also, the tab needs to be enabled first in Settings and there's no label yet in the translations, so look for an empty checkbox
I'd like to hear from you guys what you think.
https://github.com/bobkersten/domoticz.git
And the branch is not surprisingly called "custom_charts". As of now only temperature, setpoint and a few electrical devices are working. The thing I ran into was the fact that the retrieval of chart data is kind of messy right now and I'd like to clean that up first so that I can use it for these charts as well. Also, the tab needs to be enabled first in Settings and there's no label yet in the translations, so look for an empty checkbox
I'd like to hear from you guys what you think.
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
-
- Posts: 15
- Joined: Friday 14 October 2016 20:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: multiple temperature sensors in one graph
And gas, temp outside maybe?
Re: multiple temperature sensors in one graph
I have already a compiled domoticz running with several script in bdd :
* script getting power consumption from a custom board and writing to an "P1 Smart Meter/Energy"
* scripts thermostat who compute and set "virtual switch" in domoticz
* script that push "virtual switch" to real switch on custom boards
I have also USB RFlink in read only mode but read from 2 domoticz doesn't work (fisrt start get data)
Steps to have second (custom_charts) domoticz with data from the first and without break my current insatllation (disable script who write to real world)
* get and compil the custom_charts domoticz
* start the second domoticz with another www port
* stop the first domoticz
* import a backup from the first to the second
* on the second disable script who are sending order
* on the second disable RFlink device
* stop the second domoticz
* start my first domoticz
* start the second domoticz
Ok it's running but I have some problems
* First I disable RFLink (in hardware menu) :
** scripts make error when reading temperature, why ? hardware is disable but device are here !
** I can't add device from [RFLink] and I can't change type/position/color from an existing device
* When I reenable RFLink :
* the data are in the graph but my 2 test graphs are completely buggy
* I have deleted all the graphs and now adding new graph or editing graph is buggy (console javascript : Error: ctrl.activeChart is null)$
* After some retries it's work again
* For some device I have is the javascript console : "Unknown device with type=Lighting 1, subtype=X10" or "Unknown device with type=Light/Switch, subtype=Selector Switch"
After adding unknow type if I add a serie to the graph 2 it's add to the graph 1 (there is already 5 series in graph 2)
* Display graph 2 : json.htm?type=series&chart_idx=2
* Add a serie => wrong chart_idx (=1) : json.htm?type=command¶m=addserie&device_idx=207&graphtype=1&position=1&color=red&chart_idx=1
Even after delete unknow type this bug still occur
Questions :
* Is there a way to have my second domoticz reading RFLink device from database without try to catch the USB port ?
Thanks for your job, I'm new user of domoticz (2 month) and digging in the c++/database don't enjoy me but playing with js is ok !
Now I'm going to bed
* script getting power consumption from a custom board and writing to an "P1 Smart Meter/Energy"
* scripts thermostat who compute and set "virtual switch" in domoticz
* script that push "virtual switch" to real switch on custom boards
I have also USB RFlink in read only mode but read from 2 domoticz doesn't work (fisrt start get data)
Steps to have second (custom_charts) domoticz with data from the first and without break my current insatllation (disable script who write to real world)
* get and compil the custom_charts domoticz
* start the second domoticz with another www port
* stop the first domoticz
* import a backup from the first to the second
* on the second disable script who are sending order
* on the second disable RFlink device
* stop the second domoticz
* start my first domoticz
* start the second domoticz
Ok it's running but I have some problems
* First I disable RFLink (in hardware menu) :
** scripts make error when reading temperature, why ? hardware is disable but device are here !
** I can't add device from [RFLink] and I can't change type/position/color from an existing device
* When I reenable RFLink :
* the data are in the graph but my 2 test graphs are completely buggy
* I have deleted all the graphs and now adding new graph or editing graph is buggy (console javascript : Error: ctrl.activeChart is null)$
* After some retries it's work again
* For some device I have is the javascript console : "Unknown device with type=Lighting 1, subtype=X10" or "Unknown device with type=Light/Switch, subtype=Selector Switch"
After adding unknow type if I add a serie to the graph 2 it's add to the graph 1 (there is already 5 series in graph 2)
* Display graph 2 : json.htm?type=series&chart_idx=2
* Add a serie => wrong chart_idx (=1) : json.htm?type=command¶m=addserie&device_idx=207&graphtype=1&position=1&color=red&chart_idx=1
Even after delete unknow type this bug still occur
Questions :
* Is there a way to have my second domoticz reading RFLink device from database without try to catch the USB port ?
Thanks for your job, I'm new user of domoticz (2 month) and digging in the c++/database don't enjoy me but playing with js is ok !
Now I'm going to bed
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
The easiest way to run a separate development version of Domoticz is by using the "Domoticz Remote Server" hardware. Your main server that is running your house will keep on running and doesn't need to be interrupted by restarts while your second Domoticz just fetches data from this main server. Ofcourse this doesn't work if you develop hardware support, but for this custom charts implementation it'll work just fine.
Thanks for reporting the issues you've encountered. Like I said, this is still very much work in progress, so bugs are to be expected. Once I think it's ready for wide-spread beta testing and Gizmocus thinks it's a worthwhile addition to Domoticz, I'll file a merge-request, but until then there's no support for running this version
Thanks for reporting the issues you've encountered. Like I said, this is still very much work in progress, so bugs are to be expected. Once I think it's ready for wide-spread beta testing and Gizmocus thinks it's a worthwhile addition to Domoticz, I'll file a merge-request, but until then there's no support for running this version
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
-
- Posts: 6
- Joined: Sunday 27 November 2016 19:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: The Netherlands
- Contact:
Re: multiple temperature sensors in one graph
Hi,
What's the status of this graph optoin? I'm looking for exactly this!
What's the status of this graph optoin? I'm looking for exactly this!
Raspberry Pi 3 + RLink + Aeon Labs Gen 5 USB + 4 Relay board on GPIO + Fibaro wall plug + 2x Neo coolcam wall plug + 2 Eurodomest power outlets + 2x fibaro FGS-223 double switch.
- bobkersten
- Posts: 34
- Joined: Tuesday 06 October 2015 9:17
- Target OS: Linux
- Domoticz version: beta
- Location: Venray
- Contact:
Re: multiple temperature sensors in one graph
Honestly, I've stopped putting energy into this custom charts effort due to the way the core of Domoticz works. Instead, I've started writing my own controller software, initially only supporting the hardware I own. I've reduced the number of device types to just four, which makes it a whole lot easier to combine different devices into one chart, whereas with Domoticz there are just too many possible combinations. The software is called Micasa and can be found at https://github.com/fellownet/micasa for those who are interested.
- Attachments
-
- Screen Shot 2017-09-28 at 18.23.56.png (233.51 KiB) Viewed 6449 times
Mac mini w/ ESXi running Ubuntu w/ Domoticz custombuild, SolarEdge 3500Wp, S0 Meter, P1 Smart Meter, RFXtrx433e, Aeotec Z-Stick Gen5
Who is online
Users browsing this forum: No registered users and 1 guest